You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Semb Wever (Jira)" <ji...@apache.org> on 2021/04/07 21:13:00 UTC
[jira] [Commented] (CASSANDRA-16571) "multiple versions of ant
detected in path for junit" printed for every junit test case spawned by
"ant test"
[ https://issues.apache.org/jira/browse/CASSANDRA-16571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17316682#comment-17316682 ]
Michael Semb Wever commented on CASSANDRA-16571:
------------------------------------------------
I think all that is required is this:
{noformat}
diff --git a/build.xml b/build.xml
index dc44066b89..50e9d21d5d 100644
--- a/build.xml
+++ b/build.xml
@@ -718,7 +718,6 @@
<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" version="1.9.7" scope="test"/>
<!-- 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" scope="test"/>
{noformat}
> "multiple versions of ant detected in path for junit" printed for every junit test case spawned by "ant test"
> -------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-16571
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16571
> Project: Cassandra
> Issue Type: Bug
> Components: Build
> Reporter: Ekaterina Dimitrova
> Assignee: Ekaterina Dimitrova
> Priority: Normal
> Fix For: 4.0.x
>
>
> I saw this warning for the first time after CASSANDRA-16391. To be confirmed that it wasn't there with some of the previous patches.
> The same warning was taken care of in CASSANDRA-13232
> Seems to me that the issue is similar but the fix will be different.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org