Skip to content

Commit ff12290

Browse files
committed
CI: fíx release
1 parent 8ea9c9d commit ff12290

File tree

6 files changed

+31
-23
lines changed

6 files changed

+31
-23
lines changed

pom.xml

+19-5
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,14 @@
192192
</dependency>
193193
</dependencies>
194194
</plugin>
195+
<plugin>
196+
<groupId>org.apache.maven.plugins</groupId>
197+
<artifactId>maven-deploy-plugin</artifactId>
198+
<version>3.1.1</version>
199+
<configuration>
200+
<retryFailedDeploymentCount>10</retryFailedDeploymentCount>
201+
</configuration>
202+
</plugin>
195203
<plugin>
196204
<groupId>org.sonatype.plugins</groupId>
197205
<artifactId>nexus-staging-maven-plugin</artifactId>
@@ -244,11 +252,6 @@
244252
<artifactId>maven-site-plugin</artifactId>
245253
<version>3.12.1</version>
246254
</plugin>
247-
<plugin>
248-
<groupId>org.apache.maven.plugins</groupId>
249-
<artifactId>maven-deploy-plugin</artifactId>
250-
<version>3.1.1</version>
251-
</plugin>
252255
<plugin>
253256
<groupId>org.apache.maven.plugins</groupId>
254257
<artifactId>maven-surefire-plugin</artifactId>
@@ -291,6 +294,17 @@
291294
</pluginManagement>
292295
</build>
293296

297+
<distributionManagement>
298+
<snapshotRepository>
299+
<id>ossrh</id>
300+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
301+
</snapshotRepository>
302+
<repository>
303+
<id>ossrh</id>
304+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
305+
</repository>
306+
</distributionManagement>
307+
294308
<scm>
295309
<url>https://github.com/arangodb/arangodb-java-driver</url>
296310
<connection>scm:git:git://github.com/arangodb/arangodb-java-driver.git</connection>

release-parent/pom.xml

+1-18
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
<properties>
1818
<moduleName/>
19+
<maven.deploy.skip>true</maven.deploy.skip>
1920
</properties>
2021

2122
<build>
@@ -113,13 +114,6 @@
113114
<skipIfEmpty>true</skipIfEmpty>
114115
</configuration>
115116
</plugin>
116-
<plugin>
117-
<groupId>org.apache.maven.plugins</groupId>
118-
<artifactId>maven-deploy-plugin</artifactId>
119-
<configuration>
120-
<retryFailedDeploymentCount>10</retryFailedDeploymentCount>
121-
</configuration>
122-
</plugin>
123117
<plugin>
124118
<groupId>org.apache.maven.plugins</groupId>
125119
<artifactId>maven-clean-plugin</artifactId>
@@ -187,15 +181,4 @@
187181
</profile>
188182
</profiles>
189183

190-
<distributionManagement>
191-
<snapshotRepository>
192-
<id>ossrh</id>
193-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
194-
</snapshotRepository>
195-
<repository>
196-
<id>ossrh</id>
197-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
198-
</repository>
199-
</distributionManagement>
200-
201184
</project>

test-functional/pom.xml

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313

1414
<artifactId>test-functional</artifactId>
1515

16+
<properties>
17+
<maven.deploy.skip>true</maven.deploy.skip>
18+
</properties>
19+
1620
<profiles>
1721
<profile>
1822
<id>shaded</id>

test-non-functional/pom.xml

+2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@
1717
<maven.compiler.target>17</maven.compiler.target>
1818
<maven.compiler.source>17</maven.compiler.source>
1919
<maven.compiler.release>17</maven.compiler.release>
20+
<maven.deploy.skip>true</maven.deploy.skip>
2021
</properties>
2122

23+
2224
<dependencies>
2325
<dependency>
2426
<groupId>com.arangodb</groupId>

test-parent/pom.xml

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<maven.build.cache.enabled>false</maven.build.cache.enabled>
1818
<adb.jackson.version>2.17.1</adb.jackson.version>
1919
<sonar.skip>true</sonar.skip>
20+
<maven.deploy.skip>true</maven.deploy.skip>
2021
</properties>
2122

2223
<dependencies>

test-resilience/pom.xml

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212

1313
<artifactId>test-resilience</artifactId>
1414

15+
<properties>
16+
<maven.deploy.skip>true</maven.deploy.skip>
17+
</properties>
18+
1519
<dependencies>
1620
<dependency>
1721
<groupId>org.mock-server</groupId>

0 commit comments

Comments
 (0)