|
7 | 7 | <parent> |
8 | 8 | <groupId>org.jboss</groupId> |
9 | 9 | <artifactId>jboss-parent</artifactId> |
10 | | - <version>49</version> |
| 10 | + <version>50</version> |
11 | 11 | </parent> |
12 | 12 |
|
13 | | - <groupId>org.wildfly.extras.a2a</groupId> |
| 13 | + <groupId>org.wildfly.a2a</groupId> |
14 | 14 | <artifactId>a2a-java-sdk-server-jakarta-parent</artifactId> |
15 | 15 | <version>0.3.0.Beta1-SNAPSHOT</version> |
16 | 16 |
|
|
66 | 66 | <arquillian.java.vm.args></arquillian.java.vm.args> |
67 | 67 | <server.debug.port>8787</server.debug.port> |
68 | 68 |
|
| 69 | + <!-- maven-compiler-plugin settings --> |
| 70 | + <maven.compiler.release>17</maven.compiler.release> |
| 71 | + <maven.compiler.source>${maven.compiler.release}</maven.compiler.source> |
| 72 | + <maven.compiler.target>${maven.compiler.release}</maven.compiler.target> |
| 73 | + |
69 | 74 | <!-- Redirect test output to file --> |
70 | 75 | <maven.test.redirectTestOutputToFile>true</maven.test.redirectTestOutputToFile> |
71 | 76 |
|
| 77 | + <!-- |
| 78 | + Configure the repositories on JBoss Nexus we want to push to |
| 79 | + --> |
| 80 | + <!-- Configure this one in settings.xml - it contains the tokens to deploy to nexus --> |
| 81 | + <nexus.serverId>jboss</nexus.serverId> |
| 82 | + <nexus.repository.release>wildfly-extras</nexus.repository.release> |
| 83 | + <nexus.repository.staging>wildfly-extras-staging</nexus.repository.staging> |
| 84 | + <nexus.staging.tag>a2a-java-sdk-server-jakarta-${project.version}</nexus.staging.tag> |
| 85 | + |
| 86 | + <!-- |
| 87 | + URL of Maven repository to deploy to. There is a -Pstaging-deploy profile to push to a |
| 88 | + staging repository instead. |
| 89 | + --> |
| 90 | + <maven.repository.url>https://repository.jboss.org/nexus/repository/wildfly-extras/</maven.repository.url> |
| 91 | + |
| 92 | + <!-- Plugin versions, not managed by parent --> |
| 93 | + <version.plugin.wildfly-glow-arquillian>1.4.1.Final</version.plugin.wildfly-glow-arquillian> |
| 94 | + <version.plugin.wildfly-maven>5.1.3.Final</version.plugin.wildfly-maven> |
72 | 95 | </properties> |
| 96 | + |
73 | 97 | <dependencyManagement> |
74 | 98 | <dependencies> |
75 | 99 | <dependency> |
|
226 | 250 | <build> |
227 | 251 | <pluginManagement> |
228 | 252 | <plugins> |
229 | | - <plugin> |
230 | | - <groupId>org.apache.maven.plugins</groupId> |
231 | | - <artifactId>maven-compiler-plugin</artifactId> |
232 | | - <version>3.14.0</version> |
233 | | - <configuration> |
234 | | - <source>17</source> |
235 | | - <target>17</target> |
236 | | - <compilerArgs> |
237 | | - <arg>-parameters</arg> |
238 | | - </compilerArgs> |
239 | | - </configuration> |
240 | | - </plugin> |
241 | 253 | <plugin> |
242 | 254 | <groupId>org.wildfly.glow</groupId> |
243 | 255 | <artifactId>wildfly-glow-arquillian-plugin</artifactId> |
244 | | - <version>1.4.1.Final</version> |
| 256 | + <version>${version.plugin.wildfly-glow-arquillian}</version> |
245 | 257 | </plugin> |
246 | 258 | <plugin> |
247 | 259 | <groupId>org.wildfly.plugins</groupId> |
248 | 260 | <artifactId>wildfly-maven-plugin</artifactId> |
249 | | - <version>5.1.3.Final</version> |
| 261 | + <version>${version.plugin.wildfly-maven}</version> |
250 | 262 | </plugin> |
| 263 | + <!-- The maven-xxx-plugin versions are managed by the parent --> |
251 | 264 | <plugin> |
252 | 265 | <groupId>org.apache.maven.plugins</groupId> |
253 | 266 | <artifactId>maven-surefire-plugin</artifactId> |
254 | | - <version>3.5.3</version> |
255 | 267 | <configuration> |
256 | 268 | <systemPropertyVariables> |
257 | 269 | <jboss.home>${jboss.home}</jboss.home> |
|
263 | 275 | <plugin> |
264 | 276 | <groupId>org.apache.maven.plugins</groupId> |
265 | 277 | <artifactId>maven-source-plugin</artifactId> |
266 | | - <version>3.3.1</version> |
267 | 278 | <executions> |
268 | 279 | <execution> |
269 | 280 | <id>attach-sources</id> |
|
276 | 287 | <plugin> |
277 | 288 | <groupId>org.apache.maven.plugins</groupId> |
278 | 289 | <artifactId>maven-javadoc-plugin</artifactId> |
279 | | - <version>3.11.2</version> |
280 | 290 | <executions> |
281 | 291 | <execution> |
282 | 292 | <id>attach-javadocs</id> |
|
289 | 299 | <plugin> |
290 | 300 | <groupId>org.apache.maven.plugins</groupId> |
291 | 301 | <artifactId>maven-gpg-plugin</artifactId> |
292 | | - <version>3.2.7</version> |
293 | 302 | <executions> |
294 | 303 | <execution> |
295 | 304 | <id>sign-artifacts</id> |
|
300 | 309 | </execution> |
301 | 310 | </executions> |
302 | 311 | </plugin> |
303 | | - <plugin> |
304 | | - <artifactId>maven-assembly-plugin</artifactId> |
305 | | - <version>3.7.1</version> |
306 | | - </plugin> |
307 | 312 | </plugins> |
308 | 313 | </pluginManagement> |
309 | 314 | </build> |
|
322 | 327 | <arquillian.java.vm.args>-agentlib:jdwp=transport=dt_socket,address=*:${server.debug.port},server=y,suspend=y</arquillian.java.vm.args> |
323 | 328 | </properties> |
324 | 329 | </profile> |
| 330 | + <profile> |
| 331 | + <!-- Do a "dry run" by deploying to the staging repository --> |
| 332 | + <id>staging-deploy</id> |
| 333 | + <properties> |
| 334 | + <maven.repository.url>https://repository.jboss.org/nexus/repository/wildfly-extras-staging/</maven.repository.url> |
| 335 | + </properties> |
| 336 | + </profile> |
325 | 337 | </profiles> |
| 338 | + |
326 | 339 | </project> |
0 commit comments