This is an automated email from the ASF dual-hosted git repository. dcapwell pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/trunk by this push: new 1e27ffc6ad Remove dependency on Maven Ant Tasks 1e27ffc6ad is described below commit 1e27ffc6aded5b54b0207b114b154cffbc64dda5 Author: Abe Ratnofsky <a...@aber.io> AuthorDate: Wed Aug 24 13:23:09 2022 -0700 Remove dependency on Maven Ant Tasks patch by Abe Ratnofsky; reviewed by David Capwell, Michael Semb Wever for CASSANDRA-17750 --- .build/build-resolver.xml | 5 +- .build/cassandra-build-deps-template.xml | 127 ++++ .build/cassandra-deps-template.xml | 344 ++++++++++ .build/parent-pom-template.xml | 1029 ++++++++++++++++++++++++++++++ CHANGES.txt | 1 + build.xml | 492 +------------- 6 files changed, 1533 insertions(+), 465 deletions(-) diff --git a/.build/build-resolver.xml b/.build/build-resolver.xml index f17ad23396..84311ade17 100644 --- a/.build/build-resolver.xml +++ b/.build/build-resolver.xml @@ -175,7 +175,8 @@ </resolve> <resolve> <dependencies pomRef="pom-deps"/> - <files dir="${test.lib}/jars" layout="{artifactId}-{version}-{classifier}.{extension}" scopes="test,!provide,!system"/> + <!-- Needed to include compile here, so ant _build-test would not fail on missing jimfs dependency --> + <files dir="${test.lib}/jars" layout="{artifactId}-{version}-{classifier}.{extension}" scopes="compile,test,!provide,!system"/> </resolve> @@ -188,7 +189,7 @@ </unzip> </target> - <target name="resolver-dist-lib" depends="resolver-retrieve-build,write-poms"> + <target name="resolver-dist-lib" depends="resolver-retrieve-build"> <resolvepom file="${build.dir}/${final.name}.pom" id="all-pom" /> <resolve failOnMissingAttachments="true"> diff --git a/.build/cassandra-build-deps-template.xml b/.build/cassandra-build-deps-template.xml new file mode 100644 index 0000000000..727da9179a --- /dev/null +++ b/.build/cassandra-build-deps-template.xml @@ -0,0 +1,127 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <artifactId>cassandra-parent</artifactId> + <groupId>org.apache.cassandra</groupId> + <version>@version@</version> + <relativePath>@final.n...@-parent.pom</relativePath> + </parent> + <groupId>org.apache.cassandra</groupId> + <artifactId>cassandra-build-deps</artifactId> + <version>@version@</version> + <dependencies> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + </dependency> + <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + </dependency> + <dependency> + <groupId>org.mockito</groupId> + <artifactId>mockito-core</artifactId> + </dependency> + <dependency> + <groupId>org.ow2.asm</groupId> + <artifactId>asm</artifactId> + </dependency> + <dependency> + <groupId>org.ow2.asm</groupId> + <artifactId>asm-tree</artifactId> + </dependency> + <dependency> + <groupId>org.ow2.asm</groupId> + <artifactId>asm-commons</artifactId> + </dependency> + <dependency> + <groupId>org.ow2.asm</groupId> + <artifactId>asm-util</artifactId> + </dependency> + <dependency> + <groupId>com.google.jimfs</groupId> + <artifactId>jimfs</artifactId> + </dependency> + <dependency> + <groupId>com.puppycrawl.tools</groupId> + <artifactId>checkstyle</artifactId> + </dependency> + <dependency> + <groupId>org.quicktheories</groupId> + <artifactId>quicktheories</artifactId> + </dependency> + <dependency> + <groupId>org.reflections</groupId> + <artifactId>reflections</artifactId> + </dependency> + <dependency> + <groupId>com.google.code.java-allocation-instrumenter</groupId> + <artifactId>java-allocation-instrumenter</artifactId> + </dependency> + <dependency> + <groupId>org.apache.cassandra</groupId> + <artifactId>dtest-api</artifactId> + </dependency> + <dependency> + <groupId>org.openjdk.jmh</groupId> + <artifactId>jmh-core</artifactId> + </dependency> + <dependency> + <groupId>org.openjdk.jmh</groupId> + <artifactId>jmh-generator-annprocess</artifactId> + </dependency> + <dependency> + <groupId>net.ju-n.compile-command-annotations</groupId> + <artifactId>compile-command-annotations</artifactId> + </dependency> + <dependency> + <groupId>org.apache.ant</groupId> + <artifactId>ant-junit</artifactId> + </dependency> + <dependency> + <groupId>org.apache.cassandra</groupId> + <artifactId>harry-core</artifactId> + </dependency> + <dependency> + <groupId>org.junit</groupId> + <artifactId>junit-bom</artifactId> + <type>pom</type> + </dependency> + <dependency> + <groupId>org.awaitility</groupId> + <artifactId>awaitility</artifactId> + </dependency> + <dependency> + <groupId>org.hamcrest</groupId> + <artifactId>hamcrest</artifactId> + </dependency> + <dependency> + <groupId>org.jacoco</groupId> + <artifactId>org.jacoco.agent</artifactId> + </dependency> + <dependency> + <groupId>org.jacoco</groupId> + <artifactId>org.jacoco.ant</artifactId> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.dataformat</groupId> + <artifactId>jackson-dataformat-yaml</artifactId> + </dependency> + </dependencies> +</project> diff --git a/.build/cassandra-deps-template.xml b/.build/cassandra-deps-template.xml new file mode 100644 index 0000000000..513fcbc5aa --- /dev/null +++ b/.build/cassandra-deps-template.xml @@ -0,0 +1,344 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <artifactId>cassandra-parent</artifactId> + <groupId>org.apache.cassandra</groupId> + <version>@version@</version> + <relativePath>@final.n...@-parent.pom</relativePath> + </parent> + <groupId>org.apache.cassandra</groupId> + <artifactId>cassandra-all</artifactId> + <version>@version@</version> + <name>Apache Cassandra</name> + <description>The Apache Cassandra Project develops a highly scalable second-generation distributed database, bringing together Dynamo's fully distributed design and Bigtable's ColumnFamily-based data model.</description> + <url>https://cassandra.apache.org</url> + <inceptionYear>2009</inceptionYear> + <licenses> + <license> + <name>The Apache Software License, Version 2.0</name> + <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> + </license> + </licenses> + <scm> + <connection>scm:https://gitbox.apache.org/repos/asf/cassandra.git</connection> + <developerConnection>scm:https://gitbox.apache.org/repos/asf/cassandra.git</developerConnection> + <url>https://gitbox.apache.org/repos/asf?p=cassandra.git;a=tree</url> + </scm> + <dependencies> + <dependency> + <groupId>org.xerial.snappy</groupId> + <artifactId>snappy-java</artifactId> + </dependency> + <dependency> + <groupId>org.lz4</groupId> + <artifactId>lz4-java</artifactId> + </dependency> + <dependency> + <groupId>com.ning</groupId> + <artifactId>compress-lzf</artifactId> + </dependency> + <dependency> + <groupId>com.google.guava</groupId> + <artifactId>guava</artifactId> + </dependency> + <dependency> + <groupId>commons-cli</groupId> + <artifactId>commons-cli</artifactId> + </dependency> + <dependency> + <groupId>commons-codec</groupId> + <artifactId>commons-codec</artifactId> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-lang3</artifactId> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-math3</artifactId> + </dependency> + <dependency> + <groupId>org.antlr</groupId> + <artifactId>antlr</artifactId> + </dependency> + <dependency> + <groupId>org.antlr</groupId> + <artifactId>ST4</artifactId> + </dependency> + <dependency> + <groupId>org.antlr</groupId> + <artifactId>antlr-runtime</artifactId> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>log4j-over-slf4j</artifactId> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>jcl-over-slf4j</artifactId> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-core</artifactId> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-databind</artifactId> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-annotations</artifactId> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.datatype</groupId> + <artifactId>jackson-datatype-jsr310</artifactId> + </dependency> + <dependency> + <groupId>com.googlecode.json-simple</groupId> + <artifactId>json-simple</artifactId> + </dependency> + <dependency> + <groupId>com.boundary</groupId> + <artifactId>high-scale-lib</artifactId> + </dependency> + <dependency> + <groupId>org.yaml</groupId> + <artifactId>snakeyaml</artifactId> + </dependency> + <dependency> + <groupId>org.mindrot</groupId> + <artifactId>jbcrypt</artifactId> + </dependency> + <dependency> + <groupId>io.airlift</groupId> + <artifactId>airline</artifactId> + </dependency> + <dependency> + <groupId>io.dropwizard.metrics</groupId> + <artifactId>metrics-core</artifactId> + </dependency> + <dependency> + <groupId>io.dropwizard.metrics</groupId> + <artifactId>metrics-jvm</artifactId> + </dependency> + <dependency> + <groupId>io.dropwizard.metrics</groupId> + <artifactId>metrics-logback</artifactId> + </dependency> + <dependency> + <groupId>com.addthis.metrics</groupId> + <artifactId>reporter-config3</artifactId> + </dependency> + <dependency> + <groupId>com.clearspring.analytics</groupId> + <artifactId>stream</artifactId> + </dependency> + <dependency> + <groupId>ch.qos.logback</groupId> + <artifactId>logback-core</artifactId> + </dependency> + <dependency> + <groupId>ch.qos.logback</groupId> + <artifactId>logback-classic</artifactId> + </dependency> + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-core</artifactId> + </dependency> + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-minicluster</artifactId> + </dependency> + <dependency> + <groupId>com.datastax.cassandra</groupId> + <artifactId>cassandra-driver-core</artifactId> + <classifier>shaded</classifier> + </dependency> + <dependency> + <groupId>net.java.dev.jna</groupId> + <artifactId>jna</artifactId> + </dependency> + <dependency> + <groupId>com.github.jbellis</groupId> + <artifactId>jamm</artifactId> + </dependency> + <dependency> + <groupId>io.netty</groupId> + <artifactId>netty-bom</artifactId> + <type>pom</type> + </dependency> + <dependency> + <groupId>io.netty</groupId> + <artifactId>netty-all</artifactId> + </dependency> + <dependency> + <groupId>net.openhft</groupId> + <artifactId>chronicle-queue</artifactId> + </dependency> + <dependency> + <groupId>net.openhft</groupId> + <artifactId>chronicle-core</artifactId> + </dependency> + <dependency> + <groupId>net.openhft</groupId> + <artifactId>chronicle-bytes</artifactId> + </dependency> + <dependency> + <groupId>net.openhft</groupId> + <artifactId>chronicle-wire</artifactId> + </dependency> + <dependency> + <groupId>net.openhft</groupId> + <artifactId>chronicle-threads</artifactId> + </dependency> + <dependency> + <groupId>org.fusesource</groupId> + <artifactId>sigar</artifactId> + </dependency> + <dependency> + <groupId>org.eclipse.jdt.core.compiler</groupId> + <artifactId>ecj</artifactId> + </dependency> + <dependency> + <groupId>org.caffinitas.ohc</groupId> + <artifactId>ohc-core</artifactId> + </dependency> + <dependency> + <groupId>org.caffinitas.ohc</groupId> + <artifactId>ohc-core-j8</artifactId> + </dependency> + <dependency> + <groupId>com.github.ben-manes.caffeine</groupId> + <artifactId>caffeine</artifactId> + </dependency> + <dependency> + <groupId>org.jctools</groupId> + <artifactId>jctools-core</artifactId> + </dependency> + <dependency> + <groupId>org.ow2.asm</groupId> + <artifactId>asm</artifactId> + </dependency> + <dependency> + <groupId>com.carrotsearch</groupId> + <artifactId>hppc</artifactId> + </dependency> + <dependency> + <groupId>org.gridkit.jvmtool</groupId> + <artifactId>sjk-cli</artifactId> + <version>0.14</version> + </dependency> + <dependency> + <groupId>org.gridkit.jvmtool</groupId> + <artifactId>sjk-core</artifactId> + </dependency> + <dependency> + <groupId>org.gridkit.jvmtool</groupId> + <artifactId>sjk-stacktrace</artifactId> + </dependency> + <dependency> + <groupId>org.gridkit.jvmtool</groupId> + <artifactId>mxdump</artifactId> + </dependency> + <dependency> + <groupId>org.gridkit.lab</groupId> + <artifactId>jvm-attach-api</artifactId> + </dependency> + <dependency> + <groupId>com.beust</groupId> + <artifactId>jcommander</artifactId> + </dependency> + <dependency> + <groupId>org.gridkit.jvmtool</groupId> + <artifactId>sjk-json</artifactId> + </dependency> + <dependency> + <groupId>com.github.luben</groupId> + <artifactId>zstd-jni</artifactId> + </dependency> + <dependency> + <groupId>org.psjava</groupId> + <artifactId>psjava</artifactId> + </dependency> + <dependency> + <groupId>io.netty</groupId> + <artifactId>netty-tcnative-boringssl-static</artifactId> + </dependency> + <dependency> + <groupId>javax.inject</groupId> + <artifactId>javax.inject</artifactId> + </dependency> + <dependency> + <groupId>com.google.j2objc</groupId> + <artifactId>j2objc-annotations</artifactId> + </dependency> + <dependency> + <groupId>org.hdrhistogram</groupId> + <artifactId>HdrHistogram</artifactId> + </dependency> + <dependency> + <groupId>de.jflex</groupId> + <artifactId>jflex</artifactId> + </dependency> + <dependency> + <groupId>com.github.rholder</groupId> + <artifactId>snowball-stemmer</artifactId> + </dependency> + <dependency> + <groupId>com.googlecode.concurrent-trees</groupId> + <artifactId>concurrent-trees</artifactId> + </dependency> + <dependency> + <groupId>com.google.code.findbugs</groupId> + <artifactId>jsr305</artifactId> + </dependency> + <dependency> + <groupId>net.ju-n.compile-command-annotations</groupId> + <artifactId>compile-command-annotations</artifactId> + </dependency> + <dependency> + <groupId>org.assertj</groupId> + <artifactId>assertj-core</artifactId> + </dependency> + <dependency> + <groupId>org.jboss.byteman</groupId> + <artifactId>byteman-install</artifactId> + </dependency> + <dependency> + <groupId>org.jboss.byteman</groupId> + <artifactId>byteman</artifactId> + </dependency> + <dependency> + <groupId>org.jboss.byteman</groupId> + <artifactId>byteman-submit</artifactId> + </dependency> + <dependency> + <groupId>org.jboss.byteman</groupId> + <artifactId>byteman-bmunit</artifactId> + </dependency> + <dependency> + <groupId>com.github.seancfoley</groupId> + <artifactId>ipaddress</artifactId> + </dependency> + </dependencies> +</project> diff --git a/.build/parent-pom-template.xml b/.build/parent-pom-template.xml new file mode 100644 index 0000000000..73a6431408 --- /dev/null +++ b/.build/parent-pom-template.xml @@ -0,0 +1,1029 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <artifactId>apache</artifactId> + <groupId>org.apache</groupId> + <version>22</version> + </parent> + <groupId>org.apache.cassandra</groupId> + <artifactId>cassandra-parent</artifactId> + <version>@version@</version> + <packaging>pom</packaging> + <name>Apache Cassandra</name> + <description>The Apache Cassandra Project develops a highly scalable second-generation distributed database, bringing together Dynamo's fully distributed design and Bigtable's ColumnFamily-based data model.</description> + <url>https://cassandra.apache.org</url> + <inceptionYear>2009</inceptionYear> + <licenses> + <license> + <name>The Apache Software License, Version 2.0</name> + <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> + </license> + </licenses> + <properties> + <bytebuddy.version>1.12.13</bytebuddy.version> + <byteman.version>4.0.6</byteman.version> + <ohc.version>0.5.1</ohc.version> + + <!-- These are referenced in build.xml, so need to be propagated from there --> + <asm.version>@asm.version@</asm.version> + <jamm.version>@jamm.version@</jamm.version> + <allocation-instrumenter.version>@allocation-instrumenter.version@</allocation-instrumenter.version> + <ecj.version>@ecj.version@</ecj.version> + <jacoco.version>@jacoco.version@</jacoco.version> + <jflex.version>@jflex.version@</jflex.version> + </properties> + <developers> + <developer> + <id>adelapena</id> + <name>Andres de la Peña</name> + </developer> + <developer> + <id>alakshman</id> + <name>Avinash Lakshman</name> + </developer> + <developer> + <id>aleksey</id> + <name>Aleksey Yeschenko</name> + </developer> + <developer> + <id>amorton</id> + <name>Aaron Morton</name> + </developer> + <developer> + <id>aweisberg</id> + <name>Ariel Weisberg</name> + </developer> + <developer> + <id>bdeggleston</id> + <name>Blake Eggleston</name> + </developer> + <developer> + <id>benedict</id> + <name>Benedict Elliott Smith</name> + </developer> + <developer> + <id>benjamin</id> + <name>Benjamin Lerer</name> + </developer> + <developer> + <id>blambov</id> + <name>Branimir Lambov</name> + </developer> + <developer> + <id>brandonwilliams</id> + <name>Brandon Williams</name> + </developer> + <developer> + <id>carl</id> + <name>Carl Yeksigian</name> + </developer> + <developer> + <id>dbrosius</id> + <name>David Brosiusd</name> + </developer> + <developer> + <id>dikang</id> + <name>Dikang Gu</name> + </developer> + <developer> + <id>eevans</id> + <name>Eric Evans</name> + </developer> + <developer> + <id>edimitrova</id> + <name>Ekaterina Dimitrova</name> + </developer> + <developer> + <id>gdusbabek</id> + <name>Gary Dusbabek</name> + </developer> + <developer> + <id>goffinet</id> + <name>Chris Goffinet</name> + </developer> + <developer> + <id>ifesdjeen</id> + <name>Alex Petrov</name> + </developer> + <developer> + <id>jaakko</id> + <name>Laine Jaakko Olavi</name> + </developer> + <developer> + <id>jake</id> + <name>T Jake Luciani</name> + </developer> + <developer> + <id>jasonbrown</id> + <name>Jason Brown</name> + </developer> + <developer> + <id>jbellis</id> + <name>Jonathan Ellis</name> + </developer> + <developer> + <id>jfarrell</id> + <name>Jake Farrell</name> + </developer> + <developer> + <id>jjirsa</id> + <name>Jeff Jirsa</name> + </developer> + <developer> + <id>jkni</id> + <name>Joel Knighton</name> + </developer> + <developer> + <id>jmckenzie</id> + <name>Josh McKenzie</name> + </developer> + <developer> + <id>johan</id> + <name>Johan Oskarsson</name> + </developer> + <developer> + <id>junrao</id> + <name>Jun Rao</name> + </developer> + <developer> + <id>jzhuang</id> + <name>Jay Zhuang</name> + </developer> + <developer> + <id>kohlisankalp</id> + <name>Sankalp Kohli</name> + </developer> + <developer> + <id>marcuse</id> + <name>Marcus Eriksson</name> + </developer> + <developer> + <id>mck</id> + <name>Michael Semb Wever</name> + </developer> + <developer> + <id>mishail</id> + <name>Mikhail Stepura</name> + </developer> + <developer> + <id>mshuler</id> + <name>Michael Shuler</name> + </developer> + <developer> + <id>paulo</id> + <name>Paulo Motta</name> + </developer> + <developer> + <id>pmalik</id> + <name>Prashant Malik</name> + </developer> + <developer> + <id>rstupp</id> + <name>Robert Stupp</name> + </developer> + <developer> + <id>scode</id> + <name>Peter Schuller</name> + </developer> + <developer> + <id>beobal</id> + <name>Sam Tunnicliffe</name> + </developer> + <developer> + <id>slebresne</id> + <name>Sylvain Lebresne</name> + </developer> + <developer> + <id>stefania</id> + <name>Stefania Alborghetti</name> + </developer> + <developer> + <id>tylerhobbs</id> + <name>Tyler Hobbs</name> + </developer> + <developer> + <id>vijay</id> + <name>Vijay Parthasarathy</name> + </developer> + <developer> + <id>xedin</id> + <name>Pavel Yaskevich</name> + </developer> + <developer> + <id>yukim</id> + <name>Yuki Morishita</name> + </developer> + <developer> + <id>zznate</id> + <name>Nate McCall</name> + </developer> + </developers> + <scm> + <connection>scm:https://gitbox.apache.org/repos/asf/cassandra.git</connection> + <developerConnection>scm:https://gitbox.apache.org/repos/asf/cassandra.git</developerConnection> + <url>https://gitbox.apache.org/repos/asf?p=cassandra.git;a=tree</url> + </scm> + <dependencyManagement> + <!-- + Dependency metadata is specified here (version, scope, exclusions, etc.), then referenced in child POMs by groupId and + artifactId. + --> + <dependencies> + <dependency> + <groupId>org.xerial.snappy</groupId> + <artifactId>snappy-java</artifactId> + <version>1.1.8.4</version> + </dependency> + <dependency> + <groupId>org.lz4</groupId> + <artifactId>lz4-java</artifactId> + <version>1.8.0</version> + </dependency> + <dependency> + <groupId>com.ning</groupId> + <artifactId>compress-lzf</artifactId> + <version>0.8.4</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>com.github.luben</groupId> + <artifactId>zstd-jni</artifactId> + <version>1.5.0-4</version> + </dependency> + <dependency> + <groupId>com.google.guava</groupId> + <artifactId>guava</artifactId> + <version>27.0-jre</version> + <exclusions> + <exclusion> + <artifactId>jsr305</artifactId> + <groupId>com.google.code.findbugs</groupId> + </exclusion> + <exclusion> + <artifactId>animal-sniffer-annotations</artifactId> + <groupId>org.codehaus.mojo</groupId> + </exclusion> + <exclusion> + <artifactId>listenablefuture</artifactId> + <groupId>com.google.guava</groupId> + </exclusion> + <exclusion> + <artifactId>failureaccess</artifactId> + <groupId>com.google.guava</groupId> + </exclusion> + <exclusion> + <artifactId>checker-qual</artifactId> + <groupId>org.checkerframework</groupId> + </exclusion> + <exclusion> + <artifactId>error_prone_annotations</artifactId> + <groupId>com.google.errorprone</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>com.google.jimfs</groupId> + <artifactId>jimfs</artifactId> + <version>1.1</version> + </dependency> + <dependency> + <groupId>org.hdrhistogram</groupId> + <artifactId>HdrHistogram</artifactId> + <version>2.1.9</version> + </dependency> + <dependency> + <groupId>commons-cli</groupId> + <artifactId>commons-cli</artifactId> + <version>1.1</version> + </dependency> + <dependency> + <groupId>commons-codec</groupId> + <artifactId>commons-codec</artifactId> + <version>1.9</version> + </dependency> + <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + <version>2.6</version> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-lang3</artifactId> + <version>3.11</version> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-math3</artifactId> + <version>3.2</version> + </dependency> + <dependency> + <groupId>org.antlr</groupId> + <artifactId>antlr</artifactId> + <version>3.5.2</version> + <scope>provided</scope> + <exclusions> + <exclusion> + <artifactId>stringtemplate</artifactId> + <groupId>org.antlr</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.antlr</groupId> + <artifactId>ST4</artifactId> + <version>4.0.8</version> + </dependency> + <dependency> + <groupId>org.antlr</groupId> + <artifactId>antlr-runtime</artifactId> + <version>3.5.2</version> + <exclusions> + <exclusion> + <artifactId>stringtemplate</artifactId> + <groupId>org.antlr</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + <version>1.7.25</version> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>log4j-over-slf4j</artifactId> + <version>1.7.25</version> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>jcl-over-slf4j</artifactId> + <version>1.7.25</version> + </dependency> + <dependency> + <groupId>ch.qos.logback</groupId> + <artifactId>logback-core</artifactId> + <version>1.2.9</version> + </dependency> + <dependency> + <groupId>ch.qos.logback</groupId> + <artifactId>logback-classic</artifactId> + <version>1.2.9</version> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-core</artifactId> + <version>2.13.2</version> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-databind</artifactId> + <version>2.13.2.2</version> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-annotations</artifactId> + <version>2.13.2</version> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.datatype</groupId> + <artifactId>jackson-datatype-jsr310</artifactId> + <version>2.13.2</version> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.dataformat</groupId> + <artifactId>jackson-dataformat-yaml</artifactId> + <version>2.13.2</version> + <scope>test</scope> + <exclusions> + <exclusion> + <artifactId>snakeyaml</artifactId> + <groupId>org.yaml</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>com.googlecode.json-simple</groupId> + <artifactId>json-simple</artifactId> + <version>1.1</version> + </dependency> + <dependency> + <groupId>com.boundary</groupId> + <artifactId>high-scale-lib</artifactId> + <version>1.0.6</version> + </dependency> + <dependency> + <groupId>com.github.jbellis</groupId> + <artifactId>jamm</artifactId> + <version>${jamm.version}</version> + </dependency> + <dependency> + <groupId>org.yaml</groupId> + <artifactId>snakeyaml</artifactId> + <version>1.26</version> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.12</version> + <scope>test</scope> + <exclusions> + <exclusion> + <artifactId>hamcrest-core</artifactId> + <groupId>org.hamcrest</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.mockito</groupId> + <artifactId>mockito-core</artifactId> + <version>3.2.4</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.quicktheories</groupId> + <artifactId>quicktheories</artifactId> + <version>0.26</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>com.google.code.java-allocation-instrumenter</groupId> + <artifactId>java-allocation-instrumenter</artifactId> + <version>${allocation-instrumenter.version}</version> + <scope>test</scope> + <exclusions> + <exclusion> + <artifactId>guava</artifactId> + <groupId>com.google.guava</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.apache.cassandra</groupId> + <artifactId>harry-core</artifactId> + <version>0.0.1</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.reflections</groupId> + <artifactId>reflections</artifactId> + <version>0.10.2</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.cassandra</groupId> + <artifactId>dtest-api</artifactId> + <version>0.0.13</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>com.puppycrawl.tools</groupId> + <artifactId>checkstyle</artifactId> + <version>8.40</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-core</artifactId> + <version>1.0.3</version> + <scope>provided</scope> + <exclusions> + <exclusion> + <artifactId>servlet-api</artifactId> + <groupId>org.mortbay.jetty</groupId> + </exclusion> + <exclusion> + <artifactId>commons-logging</artifactId> + <groupId>commons-logging</groupId> + </exclusion> + <exclusion> + <artifactId>commons-lang</artifactId> + <groupId>commons-lang</groupId> + </exclusion> + <exclusion> + <artifactId>core</artifactId> + <groupId>org.eclipse.jdt</groupId> + </exclusion> + <exclusion> + <artifactId>ant</artifactId> + <groupId>ant</groupId> + </exclusion> + <exclusion> + <artifactId>junit</artifactId> + <groupId>junit</groupId> + </exclusion> + <exclusion> + <artifactId>jackson-mapper-asl</artifactId> + <groupId>org.codehaus.jackson</groupId> + </exclusion> + <exclusion> + <artifactId>slf4j-api</artifactId> + <groupId>org.slf4j</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-minicluster</artifactId> + <version>1.0.3</version> + <scope>provided</scope> + <exclusions> + <exclusion> + <artifactId>asm</artifactId> + <groupId>asm</groupId> + </exclusion> + <exclusion> + <artifactId>jackson-mapper-asl</artifactId> + <groupId>org.codehaus.jackson</groupId> + </exclusion> + <exclusion> + <artifactId>slf4j-api</artifactId> + <groupId>org.slf4j</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>net.java.dev.jna</groupId> + <artifactId>jna</artifactId> + <version>5.9.0</version> + </dependency> + <dependency> + <groupId>org.jacoco</groupId> + <artifactId>org.jacoco.agent</artifactId> + <version>${jacoco.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.jacoco</groupId> + <artifactId>org.jacoco.ant</artifactId> + <version>${jacoco.version}</version> + <scope>test</scope> + <exclusions> + <exclusion> + <artifactId>asm</artifactId> + <groupId>org.ow2.asm</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.jboss.byteman</groupId> + <artifactId>byteman-install</artifactId> + <version>${byteman.version}</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.jboss.byteman</groupId> + <artifactId>byteman</artifactId> + <version>${byteman.version}</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.jboss.byteman</groupId> + <artifactId>byteman-submit</artifactId> + <version>${byteman.version}</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.jboss.byteman</groupId> + <artifactId>byteman-bmunit</artifactId> + <version>${byteman.version}</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>net.bytebuddy</groupId> + <artifactId>byte-buddy</artifactId> + <version>${bytebuddy.version}</version> + </dependency> + <dependency> + <groupId>net.bytebuddy</groupId> + <artifactId>byte-buddy-agent</artifactId> + <version>${bytebuddy.version}</version> + </dependency> + <dependency> + <groupId>org.openjdk.jmh</groupId> + <artifactId>jmh-core</artifactId> + <version>1.21</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.openjdk.jmh</groupId> + <artifactId>jmh-generator-annprocess</artifactId> + <version>1.21</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.ant</groupId> + <artifactId>ant-junit</artifactId> + <version>1.10.12</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.cassandra</groupId> + <artifactId>cassandra-all</artifactId> + <version>4.1-alpha2-SNAPSHOT</version> + </dependency> + <dependency> + <groupId>io.dropwizard.metrics</groupId> + <artifactId>metrics-core</artifactId> + <version>3.1.5</version> + </dependency> + <dependency> + <groupId>io.dropwizard.metrics</groupId> + <artifactId>metrics-jvm</artifactId> + <version>3.1.5</version> + </dependency> + <dependency> + <groupId>io.dropwizard.metrics</groupId> + <artifactId>metrics-logback</artifactId> + <version>3.1.5</version> + </dependency> + <dependency> + <groupId>com.addthis.metrics</groupId> + <artifactId>reporter-config3</artifactId> + <version>3.0.3</version> + <exclusions> + <exclusion> + <artifactId>hibernate-validator</artifactId> + <groupId>org.hibernate</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.mindrot</groupId> + <artifactId>jbcrypt</artifactId> + <version>0.4</version> + </dependency> + <dependency> + <groupId>io.airlift</groupId> + <artifactId>airline</artifactId> + <version>0.8</version> + <exclusions> + <exclusion> + <artifactId>jsr305</artifactId> + <groupId>com.google.code.findbugs</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>io.netty</groupId> + <artifactId>netty-bom</artifactId> + <version>4.1.58.Final</version> + <type>pom</type> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>io.netty</groupId> + <artifactId>netty-all</artifactId> + <version>4.1.58.Final</version> + </dependency> + <dependency> + <groupId>io.netty</groupId> + <artifactId>netty-tcnative-boringssl-static</artifactId> + <version>2.0.36.Final</version> + </dependency> + <dependency> + <groupId>net.openhft</groupId> + <artifactId>chronicle-queue</artifactId> + <version>5.20.123</version> + <exclusions> + <exclusion> + <artifactId>tools</artifactId> + <groupId>com.sun</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>net.openhft</groupId> + <artifactId>chronicle-core</artifactId> + <version>2.20.126</version> + <exclusions> + <exclusion> + <artifactId>chronicle-analytics</artifactId> + <groupId>net.openhft</groupId> + </exclusion> + <exclusion> + <artifactId>annotations</artifactId> + <groupId>org.jetbrains</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>net.openhft</groupId> + <artifactId>chronicle-bytes</artifactId> + <version>2.20.111</version> + <exclusions> + <exclusion> + <artifactId>annotations</artifactId> + <groupId>org.jetbrains</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>net.openhft</groupId> + <artifactId>chronicle-wire</artifactId> + <version>2.20.117</version> + <exclusions> + <exclusion> + <artifactId>compiler</artifactId> + <groupId>net.openhft</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>net.openhft</groupId> + <artifactId>chronicle-threads</artifactId> + <version>2.20.111</version> + <exclusions> + <exclusion> + <artifactId>affinity</artifactId> + <groupId>net.openhft</groupId> + </exclusion> + <exclusion> + <artifactId>jna</artifactId> + <groupId>net.java.dev.jna</groupId> + </exclusion> + <exclusion> + <artifactId>jna-platform</artifactId> + <groupId>net.java.dev.jna</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>com.google.code.findbugs</groupId> + <artifactId>jsr305</artifactId> + <version>2.0.2</version> + </dependency> + <dependency> + <groupId>com.clearspring.analytics</groupId> + <artifactId>stream</artifactId> + <version>2.5.2</version> + <exclusions> + <exclusion> + <artifactId>fastutil</artifactId> + <groupId>it.unimi.dsi</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>com.datastax.cassandra</groupId> + <artifactId>cassandra-driver-core</artifactId> + <version>3.11.0</version> + <classifier>shaded</classifier> + <exclusions> + <exclusion> + <artifactId>netty-buffer</artifactId> + <groupId>io.netty</groupId> + </exclusion> + <exclusion> + <artifactId>netty-codec</artifactId> + <groupId>io.netty</groupId> + </exclusion> + <exclusion> + <artifactId>netty-handler</artifactId> + <groupId>io.netty</groupId> + </exclusion> + <exclusion> + <artifactId>netty-transport</artifactId> + <groupId>io.netty</groupId> + </exclusion> + <exclusion> + <artifactId>slf4j-api</artifactId> + <groupId>org.slf4j</groupId> + </exclusion> + <exclusion> + <artifactId>jnr-ffi</artifactId> + <groupId>com.github.jnr</groupId> + </exclusion> + <exclusion> + <artifactId>jnr-posix</artifactId> + <groupId>com.github.jnr</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.eclipse.jdt.core.compiler</groupId> + <artifactId>ecj</artifactId> + <version>${ecj.version}</version> + </dependency> + <dependency> + <groupId>org.caffinitas.ohc</groupId> + <artifactId>ohc-core</artifactId> + <version>${ohc.version}</version> + <exclusions> + <exclusion> + <artifactId>slf4j-api</artifactId> + <groupId>org.slf4j</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.caffinitas.ohc</groupId> + <artifactId>ohc-core-j8</artifactId> + <version>${ohc.version}</version> + </dependency> + <dependency> + <groupId>net.ju-n.compile-command-annotations</groupId> + <artifactId>compile-command-annotations</artifactId> + <version>1.2.0</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.fusesource</groupId> + <artifactId>sigar</artifactId> + <version>1.6.4</version> + <exclusions> + <exclusion> + <artifactId>log4j</artifactId> + <groupId>log4j</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>com.carrotsearch</groupId> + <artifactId>hppc</artifactId> + <version>0.8.1</version> + </dependency> + <dependency> + <groupId>de.jflex</groupId> + <artifactId>jflex</artifactId> + <version>${jflex.version}</version> + <exclusions> + <exclusion> + <artifactId>ant</artifactId> + <groupId>org.apache.ant</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>com.github.rholder</groupId> + <artifactId>snowball-stemmer</artifactId> + <version>1.3.0.581.1</version> + </dependency> + <dependency> + <groupId>com.googlecode.concurrent-trees</groupId> + <artifactId>concurrent-trees</artifactId> + <version>2.4.0</version> + </dependency> + <dependency> + <groupId>com.github.ben-manes.caffeine</groupId> + <artifactId>caffeine</artifactId> + <version>2.9.2</version> + </dependency> + <dependency> + <groupId>org.jctools</groupId> + <artifactId>jctools-core</artifactId> + <version>3.1.0</version> + </dependency> + <dependency> + <groupId>org.ow2.asm</groupId> + <artifactId>asm</artifactId> + <version>${asm.version}</version> + </dependency> + <dependency> + <groupId>org.ow2.asm</groupId> + <artifactId>asm-tree</artifactId> + <version>${asm.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.ow2.asm</groupId> + <artifactId>asm-commons</artifactId> + <version>${asm.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.ow2.asm</groupId> + <artifactId>asm-util</artifactId> + <version>${asm.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.gridkit.jvmtool</groupId> + <artifactId>sjk-cli</artifactId> + <version>0.14</version> + </dependency> + <dependency> + <groupId>org.gridkit.jvmtool</groupId> + <artifactId>sjk-core</artifactId> + <version>0.14</version> + <exclusions> + <exclusion> + <artifactId>sjk-hflame</artifactId> + <groupId>org.gridkit.jvmtool</groupId> + </exclusion> + <exclusion> + <artifactId>sjk-hflame</artifactId> + <groupId>org.perfkit.sjk.parsers</groupId> + </exclusion> + <exclusion> + <artifactId>sjk-jfr-standalone</artifactId> + <groupId>org.perfkit.sjk.parsers</groupId> + </exclusion> + <exclusion> + <artifactId>sjk-nps</artifactId> + <groupId>org.perfkit.sjk.parsers</groupId> + </exclusion> + <exclusion> + <artifactId>sjk-jfr5</artifactId> + <groupId>org.perfkit.sjk.parsers</groupId> + </exclusion> + <exclusion> + <artifactId>sjk-jfr6</artifactId> + <groupId>org.perfkit.sjk.parsers</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.gridkit.jvmtool</groupId> + <artifactId>sjk-stacktrace</artifactId> + <version>0.14</version> + </dependency> + <dependency> + <groupId>org.gridkit.jvmtool</groupId> + <artifactId>mxdump</artifactId> + <version>0.14</version> + </dependency> + <dependency> + <groupId>org.gridkit.lab</groupId> + <artifactId>jvm-attach-api</artifactId> + <version>1.5</version> + </dependency> + <dependency> + <groupId>org.gridkit.jvmtool</groupId> + <artifactId>sjk-json</artifactId> + <version>0.14</version> + </dependency> + <dependency> + <groupId>com.beust</groupId> + <artifactId>jcommander</artifactId> + <version>1.30</version> + </dependency> + <dependency> + <groupId>org.psjava</groupId> + <artifactId>psjava</artifactId> + <version>0.1.19</version> + </dependency> + <dependency> + <groupId>javax.inject</groupId> + <artifactId>javax.inject</artifactId> + <version>1</version> + </dependency> + <dependency> + <groupId>com.google.j2objc</groupId> + <artifactId>j2objc-annotations</artifactId> + <version>1.3</version> + </dependency> + <dependency> + <groupId>org.junit</groupId> + <artifactId>junit-bom</artifactId> + <version>5.6.0</version> + <type>pom</type> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.assertj</groupId> + <artifactId>assertj-core</artifactId> + <version>3.15.0</version> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.awaitility</groupId> + <artifactId>awaitility</artifactId> + <version>4.0.3</version> + <scope>test</scope> + <exclusions> + <exclusion> + <artifactId>hamcrest</artifactId> + <groupId>org.hamcrest</groupId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.hamcrest</groupId> + <artifactId>hamcrest</artifactId> + <version>2.2</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>com.github.seancfoley</groupId> + <artifactId>ipaddress</artifactId> + <version>5.3.3</version> + </dependency> + </dependencies> + </dependencyManagement> +</project> diff --git a/CHANGES.txt b/CHANGES.txt index 76f2602391..72b4e478fd 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,4 +1,5 @@ 4.2 + * Remove dependency on Maven Ant Tasks (CASSANDRA-17750) * Update ASM(9.1 to 9.3), Mockito(1.10.10 to 1.12.13) and ByteBuddy(3.2.4 to 4.7.0) (CASSANDRA-17835) * Add the ability for operators to loosen the definition of "empty" for edge cases (CASSANDRA-17842) * Fix potential out of range exception on column index downsampling (CASSANDRA-17839) diff --git a/build.xml b/build.xml index ba9b81d4bc..525486d816 100644 --- a/build.xml +++ b/build.xml @@ -15,7 +15,6 @@ limitations under the License. --> <project basedir="." default="jar" name="apache-cassandra" - xmlns:artifact="antlib:org.apache.maven.artifact.ant" xmlns:if="ant:if" xmlns:unless="ant:unless"> @@ -94,11 +93,6 @@ <property name="local.repository" value="${user.home}/.m2/repository" /> - <!-- details of what version of Maven ANT Tasks to fetch --> - <property name="maven-ant-tasks.version" value="2.1.3" /> - <property name="maven-ant-tasks.local" value="${local.repository}/org/apache/maven/maven-ant-tasks"/> - <property name="maven-ant-tasks.url" - value="https://repo.maven.apache.org/maven2/org/apache/maven/maven-ant-tasks" /> <!-- details of how and which Maven repository we publish to --> <property name="maven.version" value="3.0.3" /> <condition property="maven-repository-url" value="https://repository.apache.org/service/local/staging/deploy/maven2"> @@ -124,37 +118,17 @@ <property name="cassandra.test.flush_local_schema_changes" value="false" /> <!-- https://www.eclemma.org/jacoco/ --> + <property name="jacoco.version" value="0.8.6"/> <property name="jacoco.export.dir" value="${build.dir}/jacoco/" /> <property name="jacoco.partials.dir" value="${jacoco.export.dir}/partials" /> <property name="jacoco.partialexecfile" value="${jacoco.partials.dir}/partial.exec" /> <property name="jacoco.finalexecfile" value="${jacoco.export.dir}/jacoco.exec" /> - <property name="jacoco.version" value="0.8.6"/> - <property name="byteman.version" value="4.0.6"/> + <property name="jflex.version" value="1.8.2"/> <property name="jamm.version" value="0.3.2"/> <property name="ecj.version" value="4.6.1"/> - <property name="ohc.version" value="0.5.1"/> <property name="asm.version" value="9.3"/> <property name="allocation-instrumenter.version" value="3.1.0"/> - <property name="bytebuddy.version" value="1.12.13"/> - <property name="jflex.version" value="1.8.2"/> - - <!-- https://mvnrepository.com/artifact/net.openhft/chronicle-bom/1.16.23 --> - <property name="chronicle-queue.version" value="5.20.123" /> - <property name="chronicle-core.version" value="2.20.126" /> - <property name="chronicle-bytes.version" value="2.20.111" /> - <property name="chronicle-wire.version" value="2.20.117" /> - <property name="chronicle-threads.version" value="2.20.111" /> - - <property name="dtest-api.version" value="0.0.13" /> - - <condition property="maven-ant-tasks.jar.exists"> - <available file="${build.dir}/maven-ant-tasks-${maven-ant-tasks.version}.jar" /> - </condition> - - <condition property="maven-ant-tasks.jar.local"> - <available file="${maven-ant-tasks.local}/${maven-ant-tasks.version}/maven-ant-tasks-${maven-ant-tasks.version}.jar" /> - </condition> <condition property="is.source.artifact"> <available file="${build.src.java}" type="dir" /> @@ -278,7 +252,6 @@ <!-- Add all the dependencies. --> - <path id="maven-ant-tasks.classpath" path="${build.dir}/maven-ant-tasks-${maven-ant-tasks.version}.jar" /> <path id="cassandra.classpath"> <pathelement location="${build.classes.main}" /> <fileset dir="${build.dir.lib}"> @@ -457,426 +430,6 @@ <jflex file="${build.src.java}/org/apache/cassandra/index/sasi/analyzer/StandardTokenizerImpl.jflex" destdir="${build.src.gen-java}/" /> </target> - <!-- - Fetch Maven Ant Tasks and Cassandra's dependencies - These targets are intentionally free of dependencies so that they - can be run stand-alone from a binary release artifact. - --> - <target name="maven-ant-tasks-localrepo" unless="maven-ant-tasks.jar.exists" if="maven-ant-tasks.jar.local" - depends="init" description="Fetch Maven ANT Tasks from Maven Local Repository"> - <copy file="${maven-ant-tasks.local}/${maven-ant-tasks.version}/maven-ant-tasks-${maven-ant-tasks.version}.jar" - tofile="${build.dir}/maven-ant-tasks-${maven-ant-tasks.version}.jar"/> - <property name="maven-ant-tasks.jar.exists" value="true"/> - </target> - - <target name="maven-ant-tasks-download" depends="init,maven-ant-tasks-localrepo" unless="maven-ant-tasks.jar.exists" - description="Fetch Maven ANT Tasks from Maven Central Repositroy"> - <echo>Downloading Maven ANT Tasks...</echo> - <get src="${maven-ant-tasks.url}/${maven-ant-tasks.version}/maven-ant-tasks-${maven-ant-tasks.version}.jar" - dest="${build.dir}/maven-ant-tasks-${maven-ant-tasks.version}.jar" usetimestamp="true" /> - <copy file="${build.dir}/maven-ant-tasks-${maven-ant-tasks.version}.jar" - tofile="${maven-ant-tasks.local}/${maven-ant-tasks.version}/maven-ant-tasks-${maven-ant-tasks.version}.jar"/> - </target> - - <target name="maven-ant-tasks-init" depends="maven-ant-tasks-download,resolver-init" unless="maven-ant-tasks.initialized" - description="Initialize Maven ANT Tasks"> - <typedef uri="antlib:org.apache.maven.artifact.ant" classpathref="maven-ant-tasks.classpath" /> - <property name="maven-ant-tasks.initialized" value="true"/> - </target> - - <!-- this task defines the dependencies that will be fetched by Maven ANT Tasks - the dependencies are re-used for publishing artifacts to Maven Central - in order to keep everything consistent --> - <target name="maven-declare-dependencies" depends="maven-ant-tasks-init" - description="Define dependencies and dependency versions"> - <!-- The parent pom defines the versions of all dependencies --> - <artifact:pom id="parent-pom" - groupId="org.apache.cassandra" - artifactId="cassandra-parent" - packaging="pom" - version="${version}" - url="https://cassandra.apache.org" - name="Apache Cassandra" - inceptionYear="2009" - description="The Apache Cassandra Project develops a highly scalable second-generation distributed database, bringing together Dynamo's fully distributed design and Bigtable's ColumnFamily-based data model."> - - <!-- Inherit from the ASF template pom file, ref http://maven.apache.org/pom/asf/ --> - <parent groupId="org.apache" artifactId="apache" version="22"/> - <license name="The Apache Software License, Version 2.0" url="https://www.apache.org/licenses/LICENSE-2.0.txt"/> - <scm connection="${scm.connection}" developerConnection="${scm.developerConnection}" url="${scm.url}"/> - <dependencyManagement> - <dependency groupId="org.xerial.snappy" artifactId="snappy-java" version="1.1.8.4"/> - <dependency groupId="org.lz4" artifactId="lz4-java" version="1.8.0"/> - <dependency groupId="com.ning" artifactId="compress-lzf" version="0.8.4" scope="provided"/> - <dependency groupId="com.github.luben" artifactId="zstd-jni" version="1.5.0-4"/> - <dependency groupId="com.google.guava" artifactId="guava" version="27.0-jre"> - <exclusion groupId="com.google.code.findbugs" artifactId="jsr305" /> - <exclusion groupId="org.codehaus.mojo" artifactId="animal-sniffer-annotations" /> - <exclusion groupId="com.google.guava" artifactId="listenablefuture" /> - <exclusion groupId="com.google.guava" artifactId="failureaccess" /> - <exclusion groupId="org.checkerframework" artifactId="checker-qual" /> - <exclusion groupId="com.google.errorprone" artifactId="error_prone_annotations" /> - </dependency> - <dependency groupId="com.google.jimfs" artifactId="jimfs" version="1.1"/> - <dependency groupId="org.hdrhistogram" artifactId="HdrHistogram" version="2.1.9"/> - <dependency groupId="commons-cli" artifactId="commons-cli" version="1.1"/> - <dependency groupId="commons-codec" artifactId="commons-codec" version="1.9"/> - <dependency groupId="commons-io" artifactId="commons-io" version="2.6"/> - <dependency groupId="org.apache.commons" artifactId="commons-lang3" version="3.11"/> - <dependency groupId="org.apache.commons" artifactId="commons-math3" version="3.2"/> - <dependency groupId="org.antlr" artifactId="antlr" version="3.5.2" scope="provided"> - <exclusion groupId="org.antlr" artifactId="stringtemplate"/> - </dependency> - <dependency groupId="org.antlr" artifactId="ST4" version="4.0.8"/> - <dependency groupId="org.antlr" artifactId="antlr-runtime" version="3.5.2"> - <exclusion groupId="org.antlr" artifactId="stringtemplate"/> - </dependency> - <dependency groupId="org.slf4j" artifactId="slf4j-api" version="1.7.25"/> - <dependency groupId="org.slf4j" artifactId="log4j-over-slf4j" version="1.7.25"/> - <dependency groupId="org.slf4j" artifactId="jcl-over-slf4j" version="1.7.25" /> - <dependency groupId="ch.qos.logback" artifactId="logback-core" version="1.2.9"/> - <dependency groupId="ch.qos.logback" artifactId="logback-classic" version="1.2.9"/> - <dependency groupId="com.fasterxml.jackson.core" artifactId="jackson-core" version="2.13.2"/> - <dependency groupId="com.fasterxml.jackson.core" artifactId="jackson-databind" version="2.13.2.2"/> - <dependency groupId="com.fasterxml.jackson.core" artifactId="jackson-annotations" version="2.13.2"/> - <dependency groupId="com.fasterxml.jackson.datatype" artifactId="jackson-datatype-jsr310" version="2.13.2"/> - <dependency groupId="com.fasterxml.jackson.dataformat" artifactId="jackson-dataformat-yaml" version="2.13.2" scope="test"> - <exclusion groupId="org.yaml" artifactId="snakeyaml"/> - </dependency> - <dependency groupId="com.googlecode.json-simple" artifactId="json-simple" version="1.1"/> - <dependency groupId="com.boundary" artifactId="high-scale-lib" version="1.0.6"/> - <dependency groupId="com.github.jbellis" artifactId="jamm" version="${jamm.version}"/> - <dependency groupId="org.yaml" artifactId="snakeyaml" version="1.26"/> - <dependency groupId="junit" artifactId="junit" version="4.12" scope="test"> - <exclusion groupId="org.hamcrest" artifactId="hamcrest-core"/> - </dependency> - <dependency groupId="org.mockito" artifactId="mockito-core" version="4.7.0" scope="test"/> - <dependency groupId="org.quicktheories" artifactId="quicktheories" version="0.26" scope="test"/> - <dependency groupId="com.google.code.java-allocation-instrumenter" artifactId="java-allocation-instrumenter" version="${allocation-instrumenter.version}" scope="test"> - <exclusion groupId="com.google.guava" artifactId="guava"/> - </dependency> - <dependency groupId="org.apache.cassandra" artifactId="harry-core" version="0.0.1" scope="test"/> - <dependency groupId="org.reflections" artifactId="reflections" version="0.10.2" scope="test"/> - <dependency groupId="org.apache.cassandra" artifactId="dtest-api" version="${dtest-api.version}" scope="test"/> - <dependency groupId="com.puppycrawl.tools" artifactId="checkstyle" version="8.40" scope="test"/> - <dependency groupId="org.apache.hadoop" artifactId="hadoop-core" version="1.0.3" scope="provided"> - <exclusion groupId="org.mortbay.jetty" artifactId="servlet-api"/> - <exclusion groupId="commons-logging" artifactId="commons-logging"/> - <exclusion groupId="commons-lang" artifactId="commons-lang"/> - <exclusion groupId="org.eclipse.jdt" artifactId="core"/> - <exclusion groupId="ant" artifactId="ant"/> - <exclusion groupId="junit" artifactId="junit"/> - <exclusion groupId="org.codehaus.jackson" artifactId="jackson-mapper-asl"/> - <exclusion groupId="org.slf4j" artifactId="slf4j-api"/> - </dependency> - <dependency groupId="org.apache.hadoop" artifactId="hadoop-minicluster" version="1.0.3" scope="provided"> - <exclusion groupId="asm" artifactId="asm"/> <!-- this is the outdated version 3.1 --> - <exclusion groupId="org.codehaus.jackson" artifactId="jackson-mapper-asl"/> - <exclusion groupId="org.slf4j" artifactId="slf4j-api"/> - </dependency> - <dependency groupId="net.java.dev.jna" artifactId="jna" version="5.9.0"/> - - <dependency groupId="org.jacoco" artifactId="org.jacoco.agent" version="${jacoco.version}" scope="test"/> - <dependency groupId="org.jacoco" artifactId="org.jacoco.ant" version="${jacoco.version}" scope="test"> - <exclusion groupId="org.ow2.asm" artifactId="asm"/> - </dependency> - - <dependency groupId="org.jboss.byteman" artifactId="byteman-install" version="${byteman.version}" scope="provided"/> - <dependency groupId="org.jboss.byteman" artifactId="byteman" version="${byteman.version}" scope="provided"/> - <dependency groupId="org.jboss.byteman" artifactId="byteman-submit" version="${byteman.version}" scope="provided"/> - <dependency groupId="org.jboss.byteman" artifactId="byteman-bmunit" version="${byteman.version}" scope="provided"/> - - <dependency groupId="net.bytebuddy" artifactId="byte-buddy" version="${bytebuddy.version}" /> - <dependency groupId="net.bytebuddy" artifactId="byte-buddy-agent" version="${bytebuddy.version}" /> - - <dependency groupId="org.openjdk.jmh" artifactId="jmh-core" version="1.21" scope="test"/> - <dependency groupId="org.openjdk.jmh" artifactId="jmh-generator-annprocess" version="1.21" scope="test"/> - - <dependency groupId="org.apache.ant" artifactId="ant-junit" version="1.10.12" scope="test"/> - - <dependency groupId="org.apache.cassandra" artifactId="cassandra-all" version="${version}" /> - <dependency groupId="io.dropwizard.metrics" artifactId="metrics-core" version="3.1.5" /> - <dependency groupId="io.dropwizard.metrics" artifactId="metrics-jvm" version="3.1.5" /> - <dependency groupId="io.dropwizard.metrics" artifactId="metrics-logback" version="3.1.5" /> - <dependency groupId="com.addthis.metrics" artifactId="reporter-config3" version="3.0.3"> - <exclusion groupId="org.hibernate" artifactId="hibernate-validator" /> - </dependency> - <dependency groupId="org.mindrot" artifactId="jbcrypt" version="0.4" /> - <dependency groupId="io.airlift" artifactId="airline" version="0.8"> - <exclusion groupId="com.google.code.findbugs" artifactId="jsr305" /> - </dependency> - <dependency groupId="io.netty" artifactId="netty-bom" version="4.1.58.Final" type="pom" scope="provided"/> - <dependency groupId="io.netty" artifactId="netty-all" version="4.1.58.Final" /> - <dependency groupId="io.netty" artifactId="netty-tcnative-boringssl-static" version="2.0.36.Final"/> - <dependency groupId="net.openhft" artifactId="chronicle-queue" version="${chronicle-queue.version}"> - <exclusion groupId="com.sun" artifactId="tools" /> - </dependency> - <dependency groupId="net.openhft" artifactId="chronicle-core" version="${chronicle-core.version}"> - <exclusion groupId="net.openhft" artifactId="chronicle-analytics" /> - <exclusion groupId="org.jetbrains" artifactId="annotations" /> - </dependency> - <dependency groupId="net.openhft" artifactId="chronicle-bytes" version="${chronicle-bytes.version}"> - <exclusion groupId="org.jetbrains" artifactId="annotations" /> - </dependency> - <dependency groupId="net.openhft" artifactId="chronicle-wire" version="${chronicle-wire.version}"> - <exclusion groupId="net.openhft" artifactId="compiler" /> - </dependency> - <dependency groupId="net.openhft" artifactId="chronicle-threads" version="${chronicle-threads.version}"> - <exclusion groupId="net.openhft" artifactId="affinity" /> - <!-- Exclude JNA here, as we want to avoid breaking consumers of the cassandra-all jar --> - <exclusion groupId="net.java.dev.jna" artifactId="jna" /> - <exclusion groupId="net.java.dev.jna" artifactId="jna-platform" /> - </dependency> - <dependency groupId="com.google.code.findbugs" artifactId="jsr305" version="2.0.2"/> - <dependency groupId="com.clearspring.analytics" artifactId="stream" version="2.5.2"> - <exclusion groupId="it.unimi.dsi" artifactId="fastutil" /> - </dependency> - <dependency groupId="com.datastax.cassandra" artifactId="cassandra-driver-core" version="3.11.0" classifier="shaded"> - <exclusion groupId="io.netty" artifactId="netty-buffer"/> - <exclusion groupId="io.netty" artifactId="netty-codec"/> - <exclusion groupId="io.netty" artifactId="netty-handler"/> - <exclusion groupId="io.netty" artifactId="netty-transport"/> - <exclusion groupId="org.slf4j" artifactId="slf4j-api"/> - <exclusion groupId="com.github.jnr" artifactId="jnr-ffi"/> - <exclusion groupId="com.github.jnr" artifactId="jnr-posix"/> - </dependency> - <dependency groupId="org.eclipse.jdt.core.compiler" artifactId="ecj" version="${ecj.version}" /> - <dependency groupId="org.caffinitas.ohc" artifactId="ohc-core" version="${ohc.version}"> - <exclusion groupId="org.slf4j" artifactId="slf4j-api"/> - </dependency> - <dependency groupId="org.caffinitas.ohc" artifactId="ohc-core-j8" version="${ohc.version}" /> - <dependency groupId="net.ju-n.compile-command-annotations" artifactId="compile-command-annotations" version="1.2.0" scope="provided"/> - <dependency groupId="org.fusesource" artifactId="sigar" version="1.6.4"> - <exclusion groupId="log4j" artifactId="log4j"/> - </dependency> - <dependency groupId="com.carrotsearch" artifactId="hppc" version="0.8.1" /> - <dependency groupId="de.jflex" artifactId="jflex" version="${jflex.version}"> - <exclusion groupId="org.apache.ant" artifactId="ant"/> - </dependency> - <dependency groupId="com.github.rholder" artifactId="snowball-stemmer" version="1.3.0.581.1" /> - <dependency groupId="com.googlecode.concurrent-trees" artifactId="concurrent-trees" version="2.4.0" /> - <dependency groupId="com.github.ben-manes.caffeine" artifactId="caffeine" version="2.9.2" /> - <dependency groupId="org.jctools" artifactId="jctools-core" version="3.1.0"/> - <dependency groupId="org.ow2.asm" artifactId="asm" version="${asm.version}"/> - <dependency groupId="org.ow2.asm" artifactId="asm-tree" version="${asm.version}" scope="test"/> - <dependency groupId="org.ow2.asm" artifactId="asm-commons" version="${asm.version}" scope="test"/> - <dependency groupId="org.ow2.asm" artifactId="asm-util" version="${asm.version}" scope="test"/> - <dependency groupId="org.gridkit.jvmtool" artifactId="sjk-cli" version="0.14"/> - <dependency groupId="org.gridkit.jvmtool" artifactId="sjk-core" version="0.14"> - <exclusion groupId="org.gridkit.jvmtool" artifactId="sjk-hflame"/> - <exclusion groupId="org.perfkit.sjk.parsers" artifactId="sjk-hflame"/> - <exclusion groupId="org.perfkit.sjk.parsers" artifactId="sjk-jfr-standalone"/> - <exclusion groupId="org.perfkit.sjk.parsers" artifactId="sjk-nps"/> - <exclusion groupId="org.perfkit.sjk.parsers" artifactId="sjk-jfr5"/> - <exclusion groupId="org.perfkit.sjk.parsers" artifactId="sjk-jfr6"/> - </dependency> - <dependency groupId="org.gridkit.jvmtool" artifactId="sjk-stacktrace" version="0.14"/> - <dependency groupId="org.gridkit.jvmtool" artifactId="mxdump" version="0.14"/> - <dependency groupId="org.gridkit.lab" artifactId="jvm-attach-api" version="1.5"/> - <dependency groupId="org.gridkit.jvmtool" artifactId="sjk-json" version="0.14"/> - <dependency groupId="com.beust" artifactId="jcommander" version="1.30"/> - <dependency groupId="org.psjava" artifactId="psjava" version="0.1.19"/> - <dependency groupId="javax.inject" artifactId="javax.inject" version="1"/> - <dependency groupId="com.google.j2objc" artifactId="j2objc-annotations" version="1.3"/> - <!-- adding this dependency is necessary for assertj. When updating assertj, need to also update the version of - this that the new assertj's `assertj-parent-pom` depends on. --> - <dependency groupId="org.junit" artifactId="junit-bom" version="5.6.0" type="pom" scope="test"/> - <!-- when updating assertj, make sure to also update the corresponding junit-bom dependency --> - <dependency groupId="org.assertj" artifactId="assertj-core" version="3.15.0" scope="provided"/> - <dependency groupId="org.awaitility" artifactId="awaitility" version="4.0.3" scope="test"> - <exclusion groupId="org.hamcrest" artifactId="hamcrest"/> - </dependency> - <dependency groupId="org.hamcrest" artifactId="hamcrest" version="2.2" scope="test"/> - <dependency groupId="com.github.seancfoley" artifactId="ipaddress" version="5.3.3" /> - </dependencyManagement> - <developer id="adelapena" name="Andres de la Peña"/> - <developer id="alakshman" name="Avinash Lakshman"/> - <developer id="aleksey" name="Aleksey Yeschenko"/> - <developer id="amorton" name="Aaron Morton"/> - <developer id="aweisberg" name="Ariel Weisberg"/> - <developer id="bdeggleston" name="Blake Eggleston"/> - <developer id="benedict" name="Benedict Elliott Smith"/> - <developer id="benjamin" name="Benjamin Lerer"/> - <developer id="blambov" name="Branimir Lambov"/> - <developer id="brandonwilliams" name="Brandon Williams"/> - <developer id="carl" name="Carl Yeksigian"/> - <developer id="dbrosius" name="David Brosiusd"/> - <developer id="dikang" name="Dikang Gu"/> - <developer id="eevans" name="Eric Evans"/> - <developer id="edimitrova" name="Ekaterina Dimitrova"/> - <developer id="gdusbabek" name="Gary Dusbabek"/> - <developer id="goffinet" name="Chris Goffinet"/> - <developer id="ifesdjeen" name="Alex Petrov"/> - <developer id="jaakko" name="Laine Jaakko Olavi"/> - <developer id="jake" name="T Jake Luciani"/> - <developer id="jasonbrown" name="Jason Brown"/> - <developer id="jbellis" name="Jonathan Ellis"/> - <developer id="jfarrell" name="Jake Farrell"/> - <developer id="jjirsa" name="Jeff Jirsa"/> - <developer id="jkni" name="Joel Knighton"/> - <developer id="jmckenzie" name="Josh McKenzie"/> - <developer id="johan" name="Johan Oskarsson"/> - <developer id="junrao" name="Jun Rao"/> - <developer id="jzhuang" name="Jay Zhuang"/> - <developer id="kohlisankalp" name="Sankalp Kohli"/> - <developer id="marcuse" name="Marcus Eriksson"/> - <developer id="mck" name="Michael Semb Wever"/> - <developer id="mishail" name="Mikhail Stepura"/> - <developer id="mshuler" name="Michael Shuler"/> - <developer id="paulo" name="Paulo Motta"/> - <developer id="pmalik" name="Prashant Malik"/> - <developer id="rstupp" name="Robert Stupp"/> - <developer id="scode" name="Peter Schuller"/> - <developer id="beobal" name="Sam Tunnicliffe"/> - <developer id="slebresne" name="Sylvain Lebresne"/> - <developer id="stefania" name="Stefania Alborghetti"/> - <developer id="tylerhobbs" name="Tyler Hobbs"/> - <developer id="vijay" name="Vijay Parthasarathy"/> - <developer id="xedin" name="Pavel Yaskevich"/> - <developer id="yukim" name="Yuki Morishita"/> - <developer id="zznate" name="Nate McCall"/> - </artifact:pom> - - <!-- each dependency set then defines the subset of the dependencies for that dependency set --> - <artifact:pom id="build-deps-pom" - artifactId="cassandra-build-deps"> - <parent groupId="org.apache.cassandra" - artifactId="cassandra-parent" - version="${version}" - relativePath="${final.name}-parent.pom"/> - <dependency groupId="junit" artifactId="junit" scope="test"/> - <dependency groupId="commons-io" artifactId="commons-io" scope="test"/> - <dependency groupId="org.mockito" artifactId="mockito-core" scope="test"/> - <dependency groupId="org.ow2.asm" artifactId="asm" version="${asm.version}"/> - <dependency groupId="org.ow2.asm" artifactId="asm-tree" version="${asm.version}" scope="test"/> - <dependency groupId="org.ow2.asm" artifactId="asm-commons" version="${asm.version}" scope="test"/> - <dependency groupId="org.ow2.asm" artifactId="asm-util" version="${asm.version}" scope="test"/> - <dependency groupId="com.google.jimfs" artifactId="jimfs" version="1.1" scope="test"/> - <dependency groupId="com.puppycrawl.tools" artifactId="checkstyle" scope="test"/> - <dependency groupId="org.quicktheories" artifactId="quicktheories" scope="test"/> - <dependency groupId="org.reflections" artifactId="reflections" scope="test"/> - <dependency groupId="com.google.code.java-allocation-instrumenter" artifactId="java-allocation-instrumenter" version="${allocation-instrumenter.version}" scope="test"/> - <dependency groupId="org.apache.cassandra" artifactId="dtest-api" scope="test"/> - <dependency groupId="org.openjdk.jmh" artifactId="jmh-core" scope="test"/> - <dependency groupId="org.openjdk.jmh" artifactId="jmh-generator-annprocess" scope="test"/> - <dependency groupId="net.ju-n.compile-command-annotations" artifactId="compile-command-annotations" scope="test"/> - <dependency groupId="org.apache.ant" artifactId="ant-junit" scope="test"/> - <dependency groupId="org.apache.cassandra" artifactId="harry-core"/> - <!-- adding this dependency is necessary for assertj. When updating assertj, need to also update the version of - this that the new assertj's `assertj-parent-pom` depends on. --> - <dependency groupId="org.junit" artifactId="junit-bom" type="pom"/> - <dependency groupId="org.awaitility" artifactId="awaitility"/> - <dependency groupId="org.hamcrest" artifactId="hamcrest"/> - <!-- coverage debs --> - <dependency groupId="org.jacoco" artifactId="org.jacoco.agent"/> - <dependency groupId="org.jacoco" artifactId="org.jacoco.ant"/> - - <dependency groupId="com.fasterxml.jackson.dataformat" artifactId="jackson-dataformat-yaml"/> - </artifact:pom> - - <!-- now the pom's for artifacts being deployed to Maven Central --> - <artifact:pom id="all-pom" - artifactId="cassandra-all" - url="https://cassandra.apache.org" - name="Apache Cassandra"> - <parent groupId="org.apache.cassandra" - artifactId="cassandra-parent" - version="${version}" - relativePath="${final.name}-parent.pom"/> - <scm connection="${scm.connection}" developerConnection="${scm.developerConnection}" url="${scm.url}"/> - <dependency groupId="org.xerial.snappy" artifactId="snappy-java"/> - <dependency groupId="org.lz4" artifactId="lz4-java"/> - <dependency groupId="com.ning" artifactId="compress-lzf"/> - <dependency groupId="com.google.guava" artifactId="guava"/> - <dependency groupId="commons-cli" artifactId="commons-cli"/> - <dependency groupId="commons-codec" artifactId="commons-codec"/> - <dependency groupId="org.apache.commons" artifactId="commons-lang3"/> - <dependency groupId="org.apache.commons" artifactId="commons-math3"/> - <dependency groupId="org.antlr" artifactId="antlr" scope="provided"/> - <dependency groupId="org.antlr" artifactId="ST4"/> - <dependency groupId="org.antlr" artifactId="antlr-runtime"/> - <dependency groupId="org.slf4j" artifactId="slf4j-api"/> - <dependency groupId="org.slf4j" artifactId="log4j-over-slf4j"/> - <dependency groupId="org.slf4j" artifactId="jcl-over-slf4j"/> - <dependency groupId="com.fasterxml.jackson.core" artifactId="jackson-core"/> - <dependency groupId="com.fasterxml.jackson.core" artifactId="jackson-databind"/> - <dependency groupId="com.fasterxml.jackson.core" artifactId="jackson-annotations"/> - <dependency groupId="com.fasterxml.jackson.datatype" artifactId="jackson-datatype-jsr310"/> - <dependency groupId="com.googlecode.json-simple" artifactId="json-simple"/> - <dependency groupId="com.boundary" artifactId="high-scale-lib"/> - <dependency groupId="org.yaml" artifactId="snakeyaml"/> - <dependency groupId="org.mindrot" artifactId="jbcrypt"/> - <dependency groupId="io.airlift" artifactId="airline"/> - <dependency groupId="io.dropwizard.metrics" artifactId="metrics-core"/> - <dependency groupId="io.dropwizard.metrics" artifactId="metrics-jvm"/> - <dependency groupId="io.dropwizard.metrics" artifactId="metrics-logback"/> - <dependency groupId="com.addthis.metrics" artifactId="reporter-config3"/> - <dependency groupId="com.clearspring.analytics" artifactId="stream"/> - - <dependency groupId="ch.qos.logback" artifactId="logback-core"/> - <dependency groupId="ch.qos.logback" artifactId="logback-classic"/> - - <!-- don't need hadoop classes to run, but if you use the hadoop stuff --> - <dependency groupId="org.apache.hadoop" artifactId="hadoop-core" optional="true"/> - <dependency groupId="org.apache.hadoop" artifactId="hadoop-minicluster" optional="true"/> - - <!-- don't need the Java Driver to run, but if you use the hadoop stuff or UDFs --> - <dependency groupId="com.datastax.cassandra" artifactId="cassandra-driver-core" classifier="shaded" optional="true"/> - <!-- don't need jna to run, but nice to have --> - <dependency groupId="net.java.dev.jna" artifactId="jna"/> - - <!-- don't need jamm unless running a server in which case it needs to be a -javagent to be used anyway --> - <dependency groupId="com.github.jbellis" artifactId="jamm"/> - - <dependency groupId="io.netty" artifactId="netty-bom" type="pom" /> - <dependency groupId="io.netty" artifactId="netty-all"/> - <dependency groupId="net.openhft" artifactId="chronicle-queue"/> - <dependency groupId="net.openhft" artifactId="chronicle-core"/> - <dependency groupId="net.openhft" artifactId="chronicle-bytes"/> - <dependency groupId="net.openhft" artifactId="chronicle-wire"/> - <dependency groupId="net.openhft" artifactId="chronicle-threads"/> - <dependency groupId="org.fusesource" artifactId="sigar"/> - <dependency groupId="org.eclipse.jdt.core.compiler" artifactId="ecj"/> - <dependency groupId="org.caffinitas.ohc" artifactId="ohc-core"/> - <dependency groupId="org.caffinitas.ohc" artifactId="ohc-core-j8"/> - <dependency groupId="com.github.ben-manes.caffeine" artifactId="caffeine" /> - <dependency groupId="org.jctools" artifactId="jctools-core"/> - <dependency groupId="org.ow2.asm" artifactId="asm" /> - <dependency groupId="com.carrotsearch" artifactId="hppc" /> - <dependency groupId="org.gridkit.jvmtool" artifactId="sjk-cli" /> - <dependency groupId="org.gridkit.jvmtool" artifactId="sjk-core" /> - <dependency groupId="org.gridkit.jvmtool" artifactId="sjk-stacktrace" /> - <dependency groupId="org.gridkit.jvmtool" artifactId="mxdump" /> - <dependency groupId="org.gridkit.lab" artifactId="jvm-attach-api" /> - <dependency groupId="com.beust" artifactId="jcommander" /> - <dependency groupId="org.gridkit.jvmtool" artifactId="sjk-json"/> - <dependency groupId="com.github.luben" artifactId="zstd-jni"/> - <dependency groupId="org.psjava" artifactId="psjava"/> - <dependency groupId="io.netty" artifactId="netty-tcnative-boringssl-static"/> - <dependency groupId="javax.inject" artifactId="javax.inject"/> - <dependency groupId="com.google.j2objc" artifactId="j2objc-annotations"/> - <dependency groupId="org.hdrhistogram" artifactId="HdrHistogram"/> - - <!-- sasi deps --> - <dependency groupId="de.jflex" artifactId="jflex" /> - <dependency groupId="com.github.rholder" artifactId="snowball-stemmer" /> - <dependency groupId="com.googlecode.concurrent-trees" artifactId="concurrent-trees" /> - - <!-- compile tools --> - <dependency groupId="com.google.code.findbugs" artifactId="jsr305"/> - <dependency groupId="net.ju-n.compile-command-annotations" artifactId="compile-command-annotations"/> - <dependency groupId="org.assertj" artifactId="assertj-core"/> - <dependency groupId="org.jboss.byteman" artifactId="byteman-install"/> - <dependency groupId="org.jboss.byteman" artifactId="byteman"/> - <dependency groupId="org.jboss.byteman" artifactId="byteman-submit"/> - <dependency groupId="org.jboss.byteman" artifactId="byteman-bmunit"/> - <dependency groupId="com.github.seancfoley" artifactId="ipaddress" /> - </artifact:pom> - </target> - - <!-- deprecated: legacy compatibility for build scripts in other repositories --> - <target name="maven-ant-tasks-retrieve-build" depends="resolver-retrieve-build"/> - <target name="echo-base-version"> <echo message="${base.version}" /> </target> @@ -1094,15 +647,28 @@ </javac> </target> - <target name="_write-poms" depends="maven-declare-dependencies"> - <artifact:writepom pomRefId="parent-pom" file="${build.dir}/${final.name}-parent.pom"/> - <artifact:writepom pomRefId="all-pom" file="${build.dir}/${final.name}.pom"/> - <artifact:writepom pomRefId="build-deps-pom" file="${build.dir}/tmp-${final.name}-deps.pom"/> - </target> - - <target name="write-poms" unless="without.maven"> - <antcall target="_write-poms" /> - </target> + <target name="write-poms" unless="without.maven"> + <filterset id="pom-template"> + <filter token="version" value="${version}"/> + <filter token="final.name" value="${final.name}"/> + <filter token="jamm.version" value="${jamm.version}"/> + <filter token="allocation-instrumenter.version" value="${allocation-instrumenter.version}"/> + <filter token="ecj.version" value="${ecj.version}"/> + <filter token="asm.version" value="${asm.version}"/> + <filter token="jacoco.version" value="${jacoco.version}"/> + <filter token="jflex.version" value="${jflex.version}"/> + </filterset> + + <copy file=".build/cassandra-deps-template.xml" tofile="${build.dir}/${final.name}.pom"> + <filterset refid="pom-template"/> + </copy> + <copy file=".build/parent-pom-template.xml" tofile="${build.dir}/${final.name}-parent.pom"> + <filterset refid="pom-template"/> + </copy> + <copy file=".build/cassandra-build-deps-template.xml" tofile="${build.dir}/tmp-${final.name}-deps.pom"> + <filterset refid="pom-template"/> + </copy> + </target> <!-- The jar target makes cassandra.jar output. @@ -2143,7 +1709,7 @@ </target> <!-- Generate IDEA project description files --> - <target name="generate-idea-files" depends="init,maven-ant-tasks-init,resolver-dist-lib,gen-cql3-grammar,generate-jflex-java,createVersionPropFile" description="Generate IDEA files"> + <target name="generate-idea-files" depends="init,resolver-dist-lib,gen-cql3-grammar,generate-jflex-java,createVersionPropFile" description="Generate IDEA files"> <mkdir dir=".idea"/> <mkdir dir=".idea/libraries"/> <copy todir=".idea" overwrite="true"> @@ -2277,7 +1843,7 @@ </java> </target> - <target name="init-checkstyle" depends="maven-ant-tasks-retrieve-build,build-project"> + <target name="init-checkstyle" depends="resolver-retrieve-build,build-project"> <path id="checkstyle.lib.path"> <fileset dir="${test.lib}/jars" includes="*.jar"/> </path> @@ -2287,7 +1853,7 @@ classpathref="checkstyle.lib.path"/> </target> - <target name="checkstyle" depends="init-checkstyle,maven-ant-tasks-retrieve-build,build-project" description="Run custom checkstyle code analysis" if="java.version.8"> + <target name="checkstyle" depends="init-checkstyle,build-project" description="Run custom checkstyle code analysis" if="java.version.8"> <property name="checkstyle.log.dir" value="${build.dir}/checkstyle" /> <property name="checkstyle.report.file" value="${checkstyle.log.dir}/checkstyle_report.xml"/> <mkdir dir="${checkstyle.log.dir}" /> @@ -2303,7 +1869,7 @@ </checkstyle> </target> - <target name="checkstyle-test" depends="init-checkstyle,maven-ant-tasks-retrieve-build,build-project" description="Run custom checkstyle code analysis on tests" if="java.version.8"> + <target name="checkstyle-test" depends="init-checkstyle,resolver-retrieve-build,build-project" description="Run custom checkstyle code analysis on tests" if="java.version.8"> <property name="checkstyle.log.dir" value="${build.dir}/checkstyle" /> <property name="checkstyle_test.report.file" value="${checkstyle.log.dir}/checkstyle_report_test.xml"/> <mkdir dir="${checkstyle.log.dir}" /> @@ -2321,7 +1887,7 @@ <!-- Installs artifacts to local Maven repository --> <target name="mvn-install" - depends="maven-declare-dependencies,jar,sources-jar,javadoc-jar" + depends="jar,sources-jar,javadoc-jar" description="Installs the artifacts in the Maven Local Repository"> <!-- the parent --> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org