|
5 | 5 | <groupId>com.cedarsoftware</groupId>
|
6 | 6 | <artifactId>json-io</artifactId>
|
7 | 7 | <packaging>bundle</packaging>
|
8 |
| - <version>4.53.0</version> |
| 8 | + <version>4.54.0</version> |
9 | 9 | <description>Java JSON serialization</description>
|
10 | 10 | <url>https://github.com/jdereg/json-io</url>
|
11 | 11 |
|
|
36 | 36 | <!-- Build maven-***-plugins-->
|
37 | 37 | <version.maven-jar-plugin>3.4.2</version.maven-jar-plugin>
|
38 | 38 | <version.maven-gpg-plugin>3.2.7</version.maven-gpg-plugin>
|
39 |
| - <version.maven-compiler-plugin>3.13.0</version.maven-compiler-plugin> |
| 39 | + <version.maven-compiler-plugin>3.14.0</version.maven-compiler-plugin> |
40 | 40 | <version.maven-javadoc-plugin>3.11.2</version.maven-javadoc-plugin>
|
41 |
| - <version.maven-surefire-plugin>3.5.2</version.maven-surefire-plugin> |
| 41 | + <version.maven-surefire-plugin>3.5.3</version.maven-surefire-plugin> |
42 | 42 | <version.maven-source-plugin>3.3.1</version.maven-source-plugin>
|
43 |
| - <version.maven-resources-plugin>3.3.1</version.maven-resources-plugin> |
44 |
| - <version.maven-install-plugin>3.1.3</version.maven-install-plugin> |
45 |
| - <version.maven-deploy-plugin>3.1.3</version.maven-deploy-plugin> |
46 | 43 | <version.maven-scr-plugin>1.26.4</version.maven-scr-plugin>
|
47 |
| - <version.maven-bundle-plugin>5.1.9</version.maven-bundle-plugin> |
| 44 | + <version.maven-bundle-plugin>6.0.0</version.maven-bundle-plugin> |
48 | 45 | <version.moditect-maven-plugin>1.2.2.Final</version.moditect-maven-plugin>
|
49 | 46 |
|
50 | 47 | <!-- release to Maven Central via Sonatype Nexus -->
|
|
54 | 51 |
|
55 | 52 | <profiles>
|
56 | 53 |
|
| 54 | + <!-- JDK 9 and newer --> |
57 | 55 | <profile>
|
58 | 56 | <id>jdk9-and-above</id>
|
59 | 57 | <activation>
|
60 | 58 | <jdk>[9,)</jdk>
|
61 | 59 | </activation>
|
62 |
| - <properties> |
63 |
| - <maven.compiler.release>8</maven.compiler.release> |
64 |
| - <!-- Remove source and target to prevent conflicts --> |
65 |
| - <maven.compiler.source></maven.compiler.source> |
66 |
| - <maven.compiler.target></maven.compiler.target> |
67 |
| - </properties> |
| 60 | + |
| 61 | + <!-- only the flags that modern javac needs --> |
| 62 | + <build> |
| 63 | + <plugins> |
| 64 | + <plugin> |
| 65 | + <groupId>org.apache.maven.plugins</groupId> |
| 66 | + <artifactId>maven-compiler-plugin</artifactId> |
| 67 | + <version>${version.maven-compiler-plugin}</version> |
| 68 | + <configuration> |
| 69 | + <release>8</release> |
| 70 | + <testRelease>8</testRelease> |
| 71 | + <encoding>${project.build.sourceEncoding}</encoding> |
| 72 | + </configuration> |
| 73 | + </plugin> |
| 74 | + </plugins> |
| 75 | + </build> |
68 | 76 | </profile>
|
69 | 77 |
|
70 |
| - <!-- Profile for JDK8 --> |
| 78 | + <!-- JDK 8 --> |
71 | 79 | <profile>
|
72 | 80 | <id>jdk8</id>
|
73 | 81 | <activation>
|
74 | 82 | <jdk>1.8</jdk>
|
75 | 83 | </activation>
|
76 |
| - <properties> |
77 |
| - <maven.compiler.source>1.8</maven.compiler.source> |
78 |
| - <maven.compiler.target>1.8</maven.compiler.target> |
79 |
| - <!-- Do not set release for JDK8 --> |
80 |
| - <maven.compiler.release></maven.compiler.release> |
81 |
| - </properties> |
| 84 | + |
| 85 | + <!-- classic - source / target for the legacy tool-chain --> |
| 86 | + <build> |
| 87 | + <plugins> |
| 88 | + <plugin> |
| 89 | + <groupId>org.apache.maven.plugins</groupId> |
| 90 | + <artifactId>maven-compiler-plugin</artifactId> |
| 91 | + <version>${version.maven-compiler-plugin}</version> |
| 92 | + <configuration> |
| 93 | + <source>1.8</source> |
| 94 | + <target>1.8</target> |
| 95 | + <encoding>${project.build.sourceEncoding}</encoding> |
| 96 | + </configuration> |
| 97 | + </plugin> |
| 98 | + </plugins> |
| 99 | + </build> |
82 | 100 | </profile>
|
83 | 101 |
|
84 | 102 | <profile>
|
|
205 | 223 | </executions>
|
206 | 224 | </plugin>
|
207 | 225 |
|
208 |
| - <plugin> |
209 |
| - <groupId>org.apache.maven.plugins</groupId> |
210 |
| - <artifactId>maven-compiler-plugin</artifactId> |
211 |
| - <version>${version.maven-compiler-plugin}</version> |
212 |
| - <configuration> |
213 |
| - <release>${maven.compiler.release}</release> |
214 |
| - <source>${maven.compiler.source}</source> |
215 |
| - <target>${maven.compiler.target}</target> |
216 |
| - <encoding>${project.build.sourceEncoding}</encoding> |
217 |
| - </configuration> |
218 |
| - </plugin> |
219 |
| - |
220 | 226 | <plugin>
|
221 | 227 | <groupId>org.apache.maven.plugins</groupId>
|
222 | 228 | <artifactId>maven-source-plugin</artifactId>
|
|
231 | 237 | </executions>
|
232 | 238 | </plugin>
|
233 | 239 |
|
234 |
| - <plugin> |
235 |
| - <groupId>org.apache.maven.plugins</groupId> |
236 |
| - <artifactId>maven-resources-plugin</artifactId> |
237 |
| - <version>${version.maven-resources-plugin}</version> |
238 |
| - </plugin> |
239 |
| - |
240 |
| - <plugin> |
241 |
| - <groupId>org.apache.maven.plugins</groupId> |
242 |
| - <artifactId>maven-install-plugin</artifactId> |
243 |
| - <version>${version.maven-install-plugin}</version> |
244 |
| - </plugin> |
245 |
| - |
246 |
| - <plugin> |
247 |
| - <groupId>org.apache.maven.plugins</groupId> |
248 |
| - <artifactId>maven-deploy-plugin</artifactId> |
249 |
| - <version>${version.maven-deploy-plugin}</version> |
250 |
| - </plugin> |
251 |
| - |
252 | 240 | <plugin>
|
253 | 241 | <groupId>org.apache.maven.plugins</groupId>
|
254 | 242 | <artifactId>maven-javadoc-plugin</artifactId>
|
|
0 commit comments