Skip to content

Commit

Permalink
Compliance changes for generated source and binary distributable tarb…
Browse files Browse the repository at this point in the history
…alls

* New submodule to generate distribution source tarball
* Binary/source tarball artifacts should be prefixed with apache-cassandra
* Change groupId to org.apache.cassandra
* Create binary versions for LICENSE and NOTICE, with licenses and entries for asm, HdrHistogram, jnr-posix, jnr-x86asm, slf4j-api
* Add checksums to distribution tarballs, and clean toplevel readme a little
* Remove distributionManagement, the apache parent defines this for us

 patch by Mick Semb Wever; reviewed by Bret McGuire for CASSANDRA-18969
  • Loading branch information
michaelsembwever committed Nov 9, 2024
1 parent 7e3e6b0 commit 3995be7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 16 deletions.
6 changes: 3 additions & 3 deletions driver-core/src/main/java/com/datastax/driver/core/Host.java
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,9 @@ public VersionNumber getCassandraVersion() {
* {@code null}, and the caller should always be aware of this possibility.
*
* @return the DSE version the host is running.
* @deprecated Please use the <a href="https://github.com/apache/cassandra-java-driver-dse">Java
* Driver for DSE</a> if you are connecting to a DataStax Enterprise (DSE) cluster. This
* method might not function properly with future versions of DSE.
* @deprecated Please use the <a href="https://github.com/datastax/java-driver-dse">Java Driver
* for DSE</a> if you are connecting to a DataStax Enterprise (DSE) cluster. This method might
* not function properly with future versions of DSE.
*/
@Deprecated
public VersionNumber getDseVersion() {
Expand Down
2 changes: 1 addition & 1 deletion driver-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

<build>

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

<plugins>

Expand Down
5 changes: 0 additions & 5 deletions driver-dist/src/assembly/binary-tarball.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,6 @@

<fileSets>

<fileSet>
<directory>target/apidocs</directory>
<outputDirectory>apidocs</outputDirectory>
</fileSet>

<fileSet>
<directory>..</directory>
<outputDirectory>.</outputDirectory>
Expand Down
7 changes: 0 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1095,13 +1095,6 @@ limitations under the License.
</profile>
</profiles>

<distributionManagement>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<licenses>
<license>
<name>Apache 2</name>
Expand Down

0 comments on commit 3995be7

Please sign in to comment.