|
11 | 11 | <url>https://github.com/TooTallNate/Java-WebSocket</url>
|
12 | 12 | <properties>
|
13 | 13 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
14 |
| - <slf4j.version>1.7.25</slf4j.version> |
| 14 | + <slf4j.version>2.0.6</slf4j.version> |
15 | 15 |
|
16 | 16 | <!-- Test dependencies versions -->
|
17 | 17 | <junit.version>4.12</junit.version>
|
18 | 18 | <org.json.version>20180813</org.json.version>
|
19 | 19 |
|
20 | 20 | <!-- Maven plugin versions -->
|
21 |
| - <bnd.maven.plugin.version>4.3.1</bnd.maven.plugin.version> |
| 21 | + <bnd.maven.plugin.version>6.4.0</bnd.maven.plugin.version> |
22 | 22 | <maven.checkstyle.plugin.version>3.1.1</maven.checkstyle.plugin.version>
|
23 |
| - <maven.compiler.plugin.version>3.7.0</maven.compiler.plugin.version> |
| 23 | + <maven.compiler.plugin.version>3.10.1</maven.compiler.plugin.version> |
24 | 24 | <maven.gpg.plugin.version>1.6</maven.gpg.plugin.version>
|
25 |
| - <maven.jar.plugin.version>3.0.2</maven.jar.plugin.version> |
26 |
| - <maven.javadoc.plugin.version>2.10.3</maven.javadoc.plugin.version> |
27 |
| - <maven.shade.plugin.version>3.1.0</maven.shade.plugin.version> |
28 |
| - <maven.source.plugin.version>3.0.0</maven.source.plugin.version> |
| 25 | + <maven.jar.plugin.version>3.3.0</maven.jar.plugin.version> |
| 26 | + <maven.javadoc.plugin.version>3.5.0</maven.javadoc.plugin.version> |
| 27 | + <maven.shade.plugin.version>3.4.1</maven.shade.plugin.version> |
| 28 | + <maven.source.plugin.version>3.2.1</maven.source.plugin.version> |
29 | 29 | <nexus.staging.maven.plugin.version>1.6.8</nexus.staging.maven.plugin.version>
|
30 | 30 | <sonar.projectKey>org.java-websocket:Java-WebSocket</sonar.projectKey>
|
31 | 31 | <sonar.organization>marci4-github</sonar.organization>
|
|
86 | 86 | </goals>
|
87 | 87 | <configuration>
|
88 | 88 | <bnd><![CDATA[
|
| 89 | + Multi-Release: true |
89 | 90 | Export-Package: \
|
90 | 91 | org.java_websocket.*
|
91 | 92 | -noextraheaders: true
|
92 | 93 | -snapshot: SNAPSHOT
|
| 94 | + -fixupmessages "Classes found in the wrong directory"; restrict:=error; is:=warning |
93 | 95 | ]]></bnd>
|
94 | 96 | </configuration>
|
95 | 97 | </execution>
|
|
99 | 101 | <groupId>org.apache.maven.plugins</groupId>
|
100 | 102 | <artifactId>maven-compiler-plugin</artifactId>
|
101 | 103 | <version>${maven.compiler.plugin.version}</version>
|
102 |
| - <configuration> |
103 |
| - <source>1.7</source> |
104 |
| - <target>1.7</target> |
105 |
| - </configuration> |
| 104 | + <executions> |
| 105 | + <execution> |
| 106 | + <id>default-compile</id> |
| 107 | + <goals> |
| 108 | + <goal>compile</goal> |
| 109 | + </goals> |
| 110 | + <configuration> |
| 111 | + <release>7</release> |
| 112 | + </configuration> |
| 113 | + </execution> |
| 114 | + |
| 115 | + <execution> |
| 116 | + <id>module-compile</id> |
| 117 | + <phase>compile</phase> |
| 118 | + <goals> |
| 119 | + <goal>compile</goal> |
| 120 | + </goals> |
| 121 | + <configuration> |
| 122 | + <release>9</release> |
| 123 | + <compileSourceRoots> |
| 124 | + <compileSourceRoot>${project.basedir}/src/main/java9</compileSourceRoot> |
| 125 | + </compileSourceRoots> |
| 126 | + <multiReleaseOutput>true</multiReleaseOutput> |
| 127 | + </configuration> |
| 128 | + </execution> |
| 129 | + </executions> |
106 | 130 | </plugin>
|
107 | 131 | <plugin>
|
108 | 132 | <groupId>org.apache.maven.plugins</groupId>
|
|
183 | 207 | <version>${maven.checkstyle.plugin.version}</version>
|
184 | 208 | <configuration>
|
185 | 209 | <configLocation>google_checks.xml</configLocation>
|
| 210 | + <excludes>**/module-info.java</excludes> |
186 | 211 | <violationSeverity>warning</violationSeverity>
|
187 | 212 | <suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation>
|
188 | 213 | <suppressionsFileExpression>checkstyle.suppressions.file</suppressionsFileExpression>
|
|
0 commit comments