Skip to content

Commit e89530e

Browse files
committed
CI: fix publishing
1 parent 16b8ebe commit e89530e

File tree

7 files changed

+42
-24
lines changed

7 files changed

+42
-24
lines changed

pom.xml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
<maven.compiler.source>8</maven.compiler.source>
3838
<maven.compiler.release>8</maven.compiler.release>
3939
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
40-
<maven.deploy.skip>true</maven.deploy.skip>
4140
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
4241
<sonar.organization>arangodb-1</sonar.organization>
4342
<sonar.java.spotbugs.reportPaths>target/spotbugsXml.xml</sonar.java.spotbugs.reportPaths>
@@ -250,18 +249,6 @@
250249
</ruleSet>
251250
</configuration>
252251
</plugin>
253-
<plugin>
254-
<groupId>org.sonatype.central</groupId>
255-
<artifactId>central-publishing-maven-plugin</artifactId>
256-
<version>0.8.0</version>
257-
<extensions>true</extensions>
258-
<configuration>
259-
<publishingServerId>central</publishingServerId>
260-
<autoPublish>true</autoPublish>
261-
<waitUntil>published</waitUntil>
262-
<skipPublishing>${maven.deploy.skip}</skipPublishing>
263-
</configuration>
264-
</plugin>
265252
</plugins>
266253

267254
<pluginManagement>
@@ -270,6 +257,9 @@
270257
<groupId>org.apache.maven.plugins</groupId>
271258
<artifactId>maven-deploy-plugin</artifactId>
272259
<version>3.1.4</version>
260+
<configuration>
261+
<skip>true</skip>
262+
</configuration>
273263
</plugin>
274264
<plugin>
275265
<groupId>org.apache.maven.plugins</groupId>

release-parent/pom.xml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,33 @@
1313
<name>release-parent</name>
1414
<artifactId>release-parent</artifactId>
1515
<description>Parent for releasable modules</description>
16+
<url>https://github.com/arangodb/arangodb-java-driver</url>
17+
18+
<licenses>
19+
<license>
20+
<name>Apache License 2.0</name>
21+
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
22+
<distribution>repo</distribution>
23+
</license>
24+
</licenses>
25+
26+
<developers>
27+
<developer>
28+
<name>Michele Rastelli</name>
29+
<url>https://github.com/rashtao</url>
30+
</developer>
31+
<developer>
32+
<id>mpv1989</id>
33+
<name>Mark Vollmary</name>
34+
<url>https://github.com/mpv1989</url>
35+
</developer>
36+
</developers>
37+
38+
<scm>
39+
<url>https://github.com/arangodb/arangodb-java-driver</url>
40+
<connection>scm:git:git://github.com/arangodb/arangodb-java-driver.git</connection>
41+
<developerConnection>scm:git:git://github.com/arangodb/arangodb-java-driver.git</developerConnection>
42+
</scm>
1643

1744
<properties>
1845
<moduleName/>
@@ -126,6 +153,18 @@
126153
</filesets>
127154
</configuration>
128155
</plugin>
156+
<plugin>
157+
<groupId>org.sonatype.central</groupId>
158+
<artifactId>central-publishing-maven-plugin</artifactId>
159+
<version>0.8.0</version>
160+
<extensions>true</extensions>
161+
<configuration>
162+
<publishingServerId>central</publishingServerId>
163+
<autoPublish>false</autoPublish>
164+
<waitUntil>published</waitUntil>
165+
<skipPublishing>${maven.deploy.skip}</skipPublishing>
166+
</configuration>
167+
</plugin>
129168
</plugins>
130169
</build>
131170

test-functional/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@
1313

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

16-
<properties>
17-
<maven.deploy.skip>true</maven.deploy.skip>
18-
</properties>
19-
2016
<dependencies>
2117
<dependency>
2218
<groupId>org.eclipse.parsson</groupId>

test-non-functional/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
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>
2120
</properties>
2221

2322

test-parent/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
<maven.build.cache.enabled>false</maven.build.cache.enabled>
1818
<adb.jackson.version>2.19.0</adb.jackson.version>
1919
<sonar.skip>true</sonar.skip>
20-
<maven.deploy.skip>true</maven.deploy.skip>
2120
<maven.compiler.source>17</maven.compiler.source>
2221
<maven.compiler.target>17</maven.compiler.target>
2322
<testSources>src/test/java</testSources>

test-perf/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
<artifactId>test-perf</artifactId>
1414

1515
<properties>
16-
<maven.deploy.skip>true</maven.deploy.skip>
1716
<jmh.version>1.37</jmh.version>
1817
<uberjar.name>benchmarks</uberjar.name>
1918
</properties>

test-resilience/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212

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

15-
<properties>
16-
<maven.deploy.skip>true</maven.deploy.skip>
17-
</properties>
18-
1915
<dependencies>
2016
<dependency>
2117
<groupId>org.mock-server</groupId>

0 commit comments

Comments
 (0)