|
69 | 69 | <properties> |
70 | 70 | <javaModuleName>io.netty.incubator.buffer</javaModuleName> |
71 | 71 | <netty.version>5.0.0.Final-SNAPSHOT</netty.version> |
72 | | - <netty.build.version>28</netty.build.version> |
| 72 | + <netty.build.version>29</netty.build.version> |
73 | 73 | <java.version>16</java.version> |
74 | 74 | <junit.version>5.7.0</junit.version> |
75 | 75 | <surefire.version>3.0.0-M5</surefire.version> |
76 | 76 | <skipTests>false</skipTests> |
77 | | - <argLine.java9.extras /> |
78 | | - <!-- Export some stuff which is used during our tests --> |
79 | | - <argLine.java9>--illegal-access=deny ${argLine.java9.extras}</argLine.java9> |
80 | 77 | <argLine.common> |
81 | 78 | -server |
82 | 79 | -dsa -da -ea:io.netty... |
|
95 | 92 | </extension> |
96 | 93 | </extensions> |
97 | 94 | <plugins> |
| 95 | + <plugin> |
| 96 | + <groupId>org.apache.maven.plugins</groupId> |
| 97 | + <artifactId>maven-dependency-plugin</artifactId> |
| 98 | + <version>3.1.2</version> |
| 99 | + <executions> |
| 100 | + <execution> |
| 101 | + <goals> |
| 102 | + <goal>properties</goal> |
| 103 | + </goals> |
| 104 | + </execution> |
| 105 | + </executions> |
| 106 | + </plugin> |
98 | 107 | <plugin> |
99 | 108 | <artifactId>maven-compiler-plugin</artifactId> |
100 | | - <version>3.8.0</version> |
| 109 | + <version>3.8.1</version> |
101 | 110 | <configuration> |
102 | 111 | <compilerVersion>${java.version}</compilerVersion> |
103 | 112 | <fork>true</fork> |
|
114 | 123 | <compilerArgs> |
115 | 124 | <arg>--add-modules</arg> |
116 | 125 | <arg>jdk.incubator.foreign</arg> |
| 126 | + |
| 127 | + <!-- |
| 128 | + These two are really only needed for test-compile, but the maven-compiler-plugin cannot express that |
| 129 | + --> |
| 130 | + <arg>--patch-module</arg> |
| 131 | + <arg>io.netty.buffer=${io.netty:netty-buffer:test-jar:tests}</arg> |
117 | 132 | </compilerArgs> |
118 | | - <excludes> |
119 | | - <exclude>**/package-info.java</exclude> |
120 | | - </excludes> |
121 | 133 | </configuration> |
122 | 134 | </plugin> |
123 | 135 | <plugin> |
124 | 136 | <artifactId>maven-checkstyle-plugin</artifactId> |
125 | | - <version>3.1.0</version> |
| 137 | + <version>3.1.2</version> |
126 | 138 | <executions> |
127 | 139 | <execution> |
128 | 140 | <id>check-style</id> |
|
148 | 160 | <dependency> |
149 | 161 | <groupId>com.puppycrawl.tools</groupId> |
150 | 162 | <artifactId>checkstyle</artifactId> |
151 | | - <version>8.29</version> |
| 163 | + <version>8.41</version> |
152 | 164 | </dependency> |
153 | 165 | <dependency> |
154 | 166 | <groupId>io.netty</groupId> |
|
164 | 176 | <includes> |
165 | 177 | <include>**/*Test*.java</include> |
166 | 178 | </includes> |
167 | | - <runOrder>random</runOrder> |
168 | | - <argLine>${argLine.common} ${argLine.printGC} ${argLine.java9} --add-modules jdk.incubator.foreign</argLine> |
| 179 | + <argLine>${argLine.common} ${argLine.printGC} --patch-module io.netty.buffer=${io.netty:netty-buffer:test-jar:tests} --add-modules jdk.incubator.foreign</argLine> |
169 | 180 | <!-- Ensure the whole stacktrace is preserved when an exception is thrown. See https://issues.apache.org/jira/browse/SUREFIRE-1457 --> |
170 | 181 | <trimStackTrace>false</trimStackTrace> |
171 | 182 | </configuration> |
|
235 | 246 | <plugin> |
236 | 247 | <groupId>org.apache.felix</groupId> |
237 | 248 | <artifactId>maven-bundle-plugin</artifactId> |
238 | | - <version>2.5.4</version> |
| 249 | + <version>5.1.1</version> |
239 | 250 | <executions> |
240 | 251 | <execution> |
241 | 252 | <id>generate-manifest</id> |
|
399 | 410 | <artifactId>netty-buffer</artifactId> |
400 | 411 | <version>${netty.version}</version> |
401 | 412 | <type>test-jar</type> |
| 413 | + <classifier>tests</classifier> |
402 | 414 | <scope>test</scope> |
403 | 415 | </dependency> |
404 | 416 | <dependency> |
|
0 commit comments