Skip to content

Commit 532ac86

Browse files
committed
Migration to Central Publisher Portal 3 - excludes artifacts and resolves maven-deploy-plugin configuration issues
1 parent 26f063a commit 532ac86

5 files changed

Lines changed: 20 additions & 50 deletions

File tree

javaparser-core-metamodel-generator/pom.xml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,6 @@
1818
</dependency>
1919
</dependencies>
2020

21-
<build>
22-
<plugins>
23-
<plugin>
24-
<groupId>org.apache.maven.plugins</groupId>
25-
<artifactId>maven-deploy-plugin</artifactId>
26-
<configuration>
27-
<!-- no need to release this module -->
28-
<skip>true</skip>
29-
</configuration>
30-
</plugin>
31-
</plugins>
32-
</build>
33-
3421
<profiles>
3522
<profile>
3623
<id>run-generators</id>

javaparser-core-testing-bdd/pom.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,6 @@
2929
<groupId>org.jacoco</groupId>
3030
<artifactId>jacoco-maven-plugin</artifactId>
3131
</plugin>
32-
<plugin>
33-
<groupId>org.apache.maven.plugins</groupId>
34-
<artifactId>maven-deploy-plugin</artifactId>
35-
<configuration>
36-
<!-- no need to release this module -->
37-
<skip>true</skip>
38-
</configuration>
39-
</plugin>
4032
<plugin>
4133
<groupId>org.apache.maven.plugins</groupId>
4234
<artifactId>maven-surefire-plugin</artifactId>

javaparser-core-testing/pom.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,6 @@
2828
<groupId>org.jacoco</groupId>
2929
<artifactId>jacoco-maven-plugin</artifactId>
3030
</plugin>
31-
<plugin>
32-
<groupId>org.apache.maven.plugins</groupId>
33-
<artifactId>maven-deploy-plugin</artifactId>
34-
<configuration>
35-
<!-- no need to release this module -->
36-
<skip>true</skip>
37-
</configuration>
38-
</plugin>
3931
<plugin>
4032
<groupId>org.apache.maven.plugins</groupId>
4133
<artifactId>maven-surefire-plugin</artifactId>

javaparser-symbol-solver-testing/pom.xml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -69,22 +69,6 @@
6969
</profiles>
7070

7171

72-
<build>
73-
<plugins>
74-
<plugin>
75-
<groupId>org.jacoco</groupId>
76-
<artifactId>jacoco-maven-plugin</artifactId>
77-
</plugin>
78-
<plugin>
79-
<groupId>org.apache.maven.plugins</groupId>
80-
<artifactId>maven-deploy-plugin</artifactId>
81-
<configuration>
82-
<!-- no need to release this module -->
83-
<skip>true</skip>
84-
</configuration>
85-
</plugin>
86-
</plugins>
87-
</build>
8872
<dependencies>
8973
<dependency>
9074
<groupId>org.hamcrest</groupId>

pom.xml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,19 @@
235235
<plugin>
236236
<groupId>org.apache.maven.plugins</groupId>
237237
<artifactId>maven-deploy-plugin</artifactId>
238+
<version>3.1.4</version>
239+
<executions>
240+
<execution>
241+
<id>default-deploy</id>
242+
<phase>deploy</phase>
243+
<goals>
244+
<goal>deploy</goal>
245+
</goals>
246+
<configuration>
247+
<skip>true</skip>
248+
</configuration>
249+
</execution>
250+
</executions>
238251
<configuration>
239252
<skip>true</skip>
240253
</configuration>
@@ -253,6 +266,13 @@
253266
<waitUntil>published</waitUntil>
254267
<!-- Readable name to identify the deployment -->
255268
<deploymentName>${project.artifactId}-${project.version}</deploymentName>
269+
270+
<excludeArtifacts>
271+
<excludeArtifact>javaparser-core-testing</excludeArtifact>
272+
<excludeArtifact>javaparser-core-testing-bdd</excludeArtifact>
273+
<excludeArtifact>javaparser-symbol-solver-testing</excludeArtifact>
274+
<excludeArtifact>javaparser-core-metamodel-generator</excludeArtifact>
275+
</excludeArtifacts>
256276
</configuration>
257277
</plugin>
258278
<plugin>
@@ -336,11 +356,6 @@
336356
<artifactId>exec-maven-plugin</artifactId>
337357
<version>3.6.0</version>
338358
</plugin>
339-
<plugin>
340-
<groupId>org.apache.maven.plugins</groupId>
341-
<artifactId>maven-deploy-plugin</artifactId>
342-
<version>3.1.4</version>
343-
</plugin>
344359
<plugin>
345360
<groupId>org.codehaus.mojo</groupId>
346361
<artifactId>build-helper-maven-plugin</artifactId>

0 commit comments

Comments
 (0)