Skip to content

Commit f217d84

Browse files
committed
Add Maven dependency version properties
1 parent e7c8267 commit f217d84

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

pom.xml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@
2626
<maven.compiler.release>11</maven.compiler.release>
2727
<jakartaee.api.version>10.0.0</jakartaee.api.version>
2828
<surefire.version>3.5.1</surefire.version>
29+
<dependency.plugin.version>3.8.0</dependency.plugin.version>
2930
<cargo.plugin.version>1.10.15</cargo.plugin.version>
31+
<h2.version>2.3.232</h2.version>
3032
<payara.version>6.2025.3</payara.version>
31-
<h2.version>2.3.232</h2.version>
33+
<payara.arquillian.adapter.version>3.1</payara.arquillian.adapter.version>
3234
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3335
</properties>
3436
<dependencyManagement>
@@ -169,14 +171,14 @@
169171
<dependency>
170172
<groupId>fish.payara.arquillian</groupId>
171173
<artifactId>arquillian-payara-micro-managed</artifactId>
172-
<version>3.1</version>
174+
<version>${payara.arquillian.adapter.version}</version>
173175
<scope>test</scope>
174176
</dependency>
175177
<!-- Needed at the moment for Jakarta EE 10 support -->
176178
<dependency>
177179
<groupId>fish.payara.arquillian</groupId>
178180
<artifactId>payara-client-ee9</artifactId>
179-
<version>3.1</version>
181+
<version>${payara.arquillian.adapter.version}</version>
180182
<scope>test</scope>
181183
</dependency>
182184
</dependencies>
@@ -204,7 +206,7 @@
204206
<profile>
205207
<id>glassfish</id>
206208
<properties>
207-
<glassfish.version>7.0.22</glassfish.version>
209+
<glassfish.version>7.0.22</glassfish.version>
208210
<!-- Application properties -->
209211
<webapp.graphTraversalUrl>http://localhost:8080/cargo-tracker/rest/graph-traversal/shortest-path</webapp.graphTraversalUrl>
210212
<db.driverClass>org.h2.jdbcx.JdbcDataSource</db.driverClass>
@@ -274,7 +276,7 @@
274276
<plugin>
275277
<groupId>org.apache.maven.plugins</groupId>
276278
<artifactId>maven-dependency-plugin</artifactId>
277-
<version>3.8.0</version>
279+
<version>${dependency.plugin.version}</version>
278280
<executions>
279281
<execution>
280282
<id>unpack</id>
@@ -328,7 +330,9 @@
328330
<webapp.graphTraversalUrl>http://localhost:8080/rest/graph-traversal/shortest-path</webapp.graphTraversalUrl>
329331
<db.driverClass>org.postgresql.ds.PGPoolingDataSource</db.driverClass>
330332
<!-- Pass in via command line. For example:
331-
./mvnw clean package -Pcloud -DpostgreSqlJdbcUrl="jdbc:postgresql://host.docker.internal:5432/postgres" -DpostgreSqlUsername="postgres" -DpostgreSqlPassword="postgres"
333+
./mvnw clean package -Pcloud
334+
-DpostgreSqlJdbcUrl="jdbc:postgresql://host.docker.internal:5432/postgres"
335+
-DpostgreSqlUsername="postgres" -DpostgreSqlPassword="postgres"
332336
-->
333337
<!--suppress UnresolvedMavenProperty -->
334338
<db.jdbcUrl>${postgreSqlJdbcUrl}</db.jdbcUrl>
@@ -354,13 +358,13 @@
354358
<dependency>
355359
<groupId>fish.payara.arquillian</groupId>
356360
<artifactId>arquillian-payara-micro-managed</artifactId>
357-
<version>3.1</version>
361+
<version>${payara.arquillian.adapter.version}</version>
358362
<scope>test</scope>
359363
</dependency>
360364
<dependency>
361365
<groupId>fish.payara.arquillian</groupId>
362366
<artifactId>payara-client-ee9</artifactId>
363-
<version>3.1</version>
367+
<version>${payara.arquillian.adapter.version}</version>
364368
<scope>test</scope>
365369
</dependency>
366370
</dependencies>
@@ -369,7 +373,7 @@
369373
<plugin>
370374
<groupId>org.apache.maven.plugins</groupId>
371375
<artifactId>maven-dependency-plugin</artifactId>
372-
<version>3.8.0</version>
376+
<version>${dependency.plugin.version}</version>
373377
<executions>
374378
<execution>
375379
<id>copy</id>

0 commit comments

Comments
 (0)