|
13 | 13 | <artifactId>nanojson</artifactId> |
14 | 14 | <packaging>jar</packaging> |
15 | 15 | <name>nanojson</name> |
16 | | - <version>1.8-SNAPSHOT</version> |
| 16 | + <version>1.11-SNAPSHOT</version> |
17 | 17 |
|
18 | 18 | <properties> |
19 | 19 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
20 | 20 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 21 | + <maven.compiler.target>11</maven.compiler.target> |
| 22 | + <maven.compiler.source>11</maven.compiler.source> |
21 | 23 | </properties> |
| 24 | + <dependencies> |
| 25 | + <dependency> |
| 26 | + <groupId>org.junit.jupiter</groupId> |
| 27 | + <artifactId>junit-jupiter</artifactId> |
| 28 | + <version>5.13.4</version> |
| 29 | + <scope>test</scope> |
| 30 | + </dependency> |
| 31 | + <dependency> |
| 32 | + <groupId>ch.randelshofer</groupId> |
| 33 | + <artifactId>fastdoubleparser</artifactId> |
| 34 | + <version>2.0.1</version> |
| 35 | + <scope>compile</scope> |
| 36 | + </dependency> |
| 37 | + </dependencies> |
22 | 38 |
|
23 | 39 | <reporting> |
24 | 40 | <plugins> |
25 | 41 | <plugin> |
26 | 42 | <groupId>org.apache.maven.plugins</groupId> |
27 | 43 | <artifactId>maven-javadoc-plugin</artifactId> |
28 | | - <version>3.3.0</version> |
| 44 | + <version>3.11.3</version> |
29 | 45 | <reportSets> |
30 | 46 | <reportSet> |
31 | 47 | <id>html</id> |
|
44 | 60 | <plugin> |
45 | 61 | <groupId>org.apache.maven.plugins</groupId> |
46 | 62 | <artifactId>maven-checkstyle-plugin</artifactId> |
47 | | - <version>3.1.2</version> |
| 63 | + <version>3.6.0</version> |
48 | 64 | <configuration> |
49 | 65 | <configLocation>checkstyle.xml</configLocation> |
50 | 66 | <propertyExpansion>basedir=${basedir}</propertyExpansion> |
|
66 | 82 | <plugin> |
67 | 83 | <groupId>org.apache.maven.plugins</groupId> |
68 | 84 | <artifactId>maven-surefire-report-plugin</artifactId> |
69 | | - <version>2.22.2</version> |
| 85 | + <version>3.5.3</version> |
70 | 86 | <reportSets> |
71 | 87 | <reportSet> |
72 | 88 | <reports> |
|
77 | 93 | </plugin> |
78 | 94 | </plugins> |
79 | 95 | </reporting> |
80 | | - |
81 | | - <dependencies> |
82 | | - <dependency> |
83 | | - <groupId>junit</groupId> |
84 | | - <artifactId>junit</artifactId> |
85 | | - <version>4.13.2</version> |
86 | | - <scope>test</scope> |
87 | | - </dependency> |
88 | | - </dependencies> |
89 | 96 | <build> |
90 | 97 | <plugins> |
91 | 98 | <plugin> |
92 | 99 | <groupId>org.apache.maven.plugins</groupId> |
93 | 100 | <artifactId>maven-source-plugin</artifactId> |
94 | | - <version>3.2.1</version> |
| 101 | + <version>3.3.1</version> |
95 | 102 | <executions> |
96 | 103 | <execution> |
97 | 104 | <id>attach-sources</id> |
|
104 | 111 | <plugin> |
105 | 112 | <groupId>org.apache.maven.plugins</groupId> |
106 | 113 | <artifactId>maven-javadoc-plugin</artifactId> |
107 | | - <version>3.3.0</version> |
| 114 | + <version>3.11.3</version> |
108 | 115 | <executions> |
109 | 116 | <execution> |
110 | 117 | <id>attach-javadocs</id> |
|
117 | 124 | <plugin> |
118 | 125 | <groupId>org.apache.maven.plugins</groupId> |
119 | 126 | <artifactId>maven-checkstyle-plugin</artifactId> |
120 | | - <version>3.1.2</version> |
| 127 | + <version>3.6.0</version> |
121 | 128 | <configuration> |
122 | 129 | <configLocation>checkstyle.xml</configLocation> |
123 | 130 | <propertyExpansion>basedir=${basedir}</propertyExpansion> |
|
145 | 152 | <plugin> |
146 | 153 | <groupId>org.codehaus.mojo</groupId> |
147 | 154 | <artifactId>exec-maven-plugin</artifactId> |
148 | | - <version>3.0.0</version> |
| 155 | + <version>3.5.1</version> |
149 | 156 |
|
150 | 157 | <configuration> |
151 | 158 | <executable>java</executable> |
|
165 | 172 | <plugin> |
166 | 173 | <groupId>org.apache.maven.plugins</groupId> |
167 | 174 | <artifactId>maven-compiler-plugin</artifactId> |
168 | | - <version>3.8.1</version> |
| 175 | + <version>3.14.0</version> |
169 | 176 | <configuration> |
170 | | - <debug>true</debug> |
171 | | - <debuglevel>none</debuglevel> |
172 | | - <source>1.8</source> |
173 | | - <target>1.8</target> |
174 | | - <archive> |
175 | | - <manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile> |
176 | | - </archive> |
| 177 | + <debug>false</debug> |
| 178 | + <release>11</release> |
177 | 179 | <compilerArgument>-Xlint:all</compilerArgument> |
178 | 180 | <compilerArguments> |
179 | 181 | <Werror /> |
|
183 | 185 | <plugin> |
184 | 186 | <groupId>org.apache.maven.plugins</groupId> |
185 | 187 | <artifactId>maven-site-plugin</artifactId> |
186 | | - <version>3.9.1</version> |
| 188 | + <version>3.21.0</version> |
187 | 189 | <configuration> |
188 | 190 | </configuration> |
189 | 191 | </plugin> |
190 | | - <plugin> |
191 | | - <groupId>org.apache.maven.plugins</groupId> |
192 | | - <artifactId>maven-jar-plugin</artifactId> |
193 | | - <configuration> |
194 | | - <archive> |
195 | | - <manifestEntries> |
196 | | - <Automatic-Module-Name>com.grack.nanojson</Automatic-Module-Name> |
197 | | - </manifestEntries> |
198 | | - </archive> |
199 | | - </configuration> |
200 | | - </plugin> |
| 192 | + <plugin> |
| 193 | + <groupId>biz.aQute.bnd</groupId> |
| 194 | + <artifactId>bnd-maven-plugin</artifactId> |
| 195 | + <extensions>true</extensions> |
| 196 | + <executions> |
| 197 | + <execution> |
| 198 | + <id>jar</id> |
| 199 | + <goals> |
| 200 | + <goal>jar</goal> |
| 201 | + </goals> |
| 202 | + <configuration> |
| 203 | + <bnd><![CDATA[ |
| 204 | + Bundle-SymbolicName: ${groupId}.${artifactId} |
| 205 | + Export-Package: com.grack.nanojson |
| 206 | + -jpms-module-info: com.grack.nanojson |
| 207 | + -noextraheaders: |
| 208 | + -removeheaders: \ |
| 209 | + Tool, \ |
| 210 | + Bnd-LastModified, \ |
| 211 | + Bnd-ManifestVersion, \ |
| 212 | + Build-Jdk, \ |
| 213 | + Built-By, \ |
| 214 | + Created-By, \ |
| 215 | + Private-Package, \ |
| 216 | + Bundle-DocURL, \ |
| 217 | + Bundle-Name, \ |
| 218 | + Bundle-Vendor,\ |
| 219 | + Bundle-Description,\ |
| 220 | + Bundle-SCM |
| 221 | + ]]></bnd> |
| 222 | + </configuration> |
| 223 | + </execution> |
| 224 | + </executions> |
| 225 | + </plugin> |
201 | 226 | </plugins> |
202 | 227 | </build> |
203 | 228 |
|
|
210 | 235 | <plugin> |
211 | 236 | <groupId>org.sonatype.plugins</groupId> |
212 | 237 | <artifactId>nexus-staging-maven-plugin</artifactId> |
213 | | - <version>1.6.8</version> |
| 238 | + <version>1.7.0</version> |
214 | 239 | <extensions>true</extensions> |
215 | 240 | <configuration> |
216 | 241 | <serverId>sonatype-nexus-staging</serverId> |
|
221 | 246 | <plugin> |
222 | 247 | <groupId>org.apache.maven.plugins</groupId> |
223 | 248 | <artifactId>maven-gpg-plugin</artifactId> |
224 | | - <version>3.0.1</version> |
| 249 | + <version>3.2.8</version> |
225 | 250 | <executions> |
226 | 251 | <execution> |
227 | 252 | <id>sign-artifacts</id> |
|
0 commit comments