Skip to content

Commit

Permalink
CASSJAVA-67 Issues with Maven "release:prepare" after ASF donation
Browse files Browse the repository at this point in the history
patch by Alexandre Dutra; reviewed by Bret McGuire for CASSJAVA-67
  • Loading branch information
absurdfarce committed Jan 2, 2025
1 parent 5f72a12 commit 330bef1
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
26 changes: 12 additions & 14 deletions driver-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,30 +34,23 @@

<!-- These dependencies are only here to ensure proper build order and proper inclusion of binaries in the final tarball -->
<dependencies>

<dependency>
<groupId>org.apache.cassandra</groupId>
<artifactId>cassandra-driver-core</artifactId>
</dependency>

<dependency>
<groupId>org.apache.cassandra</groupId>
<artifactId>cassandra-driver-mapping</artifactId>
</dependency>

<dependency>
<groupId>org.apache.cassandra</groupId>
<artifactId>cassandra-driver-extras</artifactId>
</dependency>

</dependencies>

<build>

<finalName>apache-cassandra-java-driver-${project.version}</finalName>

<plugins>

<plugin>
<artifactId>maven-jar-plugin</artifactId>
<!-- http://stackoverflow.com/questions/13218313/unable-to-disable-generation-of-empty-jar-maven-jar-plugin -->
Expand All @@ -68,34 +61,34 @@
</execution>
</executions>
</plugin>

<plugin>
<artifactId>maven-source-plugin</artifactId>
<configuration>
<skipSource>true</skipSource>
</configuration>
</plugin>

<plugin>
<artifactId>maven-install-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>

<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>

<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>

</build>

<profiles>

<profile>
<id>release</id>
<build>
Expand Down Expand Up @@ -145,10 +138,15 @@
</algorithms>
</configuration>
</plugin>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<configuration>
<skip>false</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>

</profiles>

</project>
Expand Down
20 changes: 11 additions & 9 deletions driver-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,31 +39,26 @@
</modules>

<build>

<plugins>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>clirr-maven-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>

<plugin>
<artifactId>maven-source-plugin</artifactId>
<configuration>
<skipSource>true</skipSource>
</configuration>
</plugin>

<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>

<plugin>
<artifactId>maven-install-plugin</artifactId>
<configuration>
Expand All @@ -77,13 +72,21 @@
<skip>true</skip>
</configuration>
</plugin>

<plugin>
<groupId>net.nicoulaj.maven.plugins</groupId>
<artifactId>checksum-maven-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<id>source-release-checksum</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>

</build>

<profiles>

<profile>
<id>release</id>
<build>
Expand All @@ -98,7 +101,6 @@
</plugins>
</build>
</profile>

</profiles>

</project>

0 comments on commit 330bef1

Please sign in to comment.