[
https://issues.apache.org/jira/browse/CASSANDRA-16391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17310803#comment-17310803
]
Brandon Williams commented on CASSANDRA-16391:
----------------------------------------------
There are a few (albeit harmless) errors:
{quote}
resolver-ant-tasks-retrieve-build:
[resolver:resolve] The POM for org.perfkit.sjk.parsers:sjk-jfr5:jar:0.5 is
invalid, transitive dependencies (if any) will not be available: 2 problems
were encountered while building the effective model for
org.perfkit.sjk.parsers:sjk-jfr5:0.5
[resolver:resolve] [ERROR] 'dependencies.dependency.systemPath' for
com.jrockit.mc:com.jrockit.mc.common:jar must specify an absolute path but is
${jmc5.path}/plugins/com.jrockit.mc.common_${jmc5.version}.jar @
[resolver:resolve] [ERROR] 'dependencies.dependency.systemPath' for
com.jrockit.mc:com.jrockit.mc.flightrecorder:jar must specify an absolute path
but is ${jmc5.path}/plugins/com.jrockit.mc.flightrecorder_${jmc5.version}.jar @
[resolver:resolve] The POM for org.perfkit.sjk.parsers:sjk-jfr6:jar:0.7 is
invalid, transitive dependencies (if any) will not be available: 2 problems
were encountered while building the effective model for
org.perfkit.sjk.parsers:sjk-jfr6:0.7
[resolver:resolve] [ERROR] 'dependencies.dependency.systemPath' for
com.oracle.jmc:com.oracle.jmc.common:jar must specify an absolute path but is
${jmc6.path}/plugins/com.oracle.jmc.common_${jmc6.version}.jar @
[resolver:resolve] [ERROR] 'dependencies.dependency.systemPath' for
com.oracle.jmc:com.oracle.jmc.flightrecorder:jar must specify an absolute path
but is ${jmc6.path}/plugins/com.oracle.jmc.flightrecorder_${jmc6.version}.jar @
[resolver:resolve] The POM for org.perfkit.sjk.parsers:sjk-nps:jar:0.5 is
invalid, transitive dependencies (if any) will not be available: 3 problems
were encountered while building the effective model for
org.perfkit.sjk.parsers:sjk-nps:0.5
[resolver:resolve] [ERROR] 'dependencies.dependency.systemPath' for
jdk.org.netbeans:profiler:jar must specify an absolute path but is
${visualvm.path}/profiler/modules/org-netbeans-modules-profiler.jar @
[resolver:resolve] [ERROR] 'dependencies.dependency.systemPath' for
jdk.org.netbeans:lib-profiler:jar must specify an absolute path but is
${visualvm.path}/profiler/modules/org-netbeans-lib-profiler.jar @
[resolver:resolve] [ERROR] 'dependencies.dependency.systemPath' for
jdk.org.netbeans:lib-profiler-common:jar must specify an absolute path but is
${visualvm.path}/profiler/modules/org-netbeans-lib-profiler-common.jar
{quote}
> Migrate use of maven-ant-tasks to resolver-ant-tasks
> ----------------------------------------------------
>
> Key: CASSANDRA-16391
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16391
> Project: Cassandra
> Issue Type: Task
> Components: Build, Dependencies
> Reporter: Michael Semb Wever
> Priority: High
> Labels: lhf
>
> Cassandra resolves dependencies and generates maven pom files through the use
> of [maven-ant-tasks|http://maven.apache.org/ant-tasks/]. This is no longer a
> supported project.
> The recommended upgrade is to
> [resolver-ant-tasks|http://maven.apache.org/resolver-ant-tasks/]. It follows
> similar APIs so shouldn't be too impactful a change.
> The existing maven-ant-tasks has caused [some headaches
> already|https://issues.apache.org/jira/browse/CASSANDRA-16359] with internal
> super poms referencing insecure http:// central maven repository URLs that
> are no longer supported.
> We should also take the opportunity to
> - define the "test" scope (classpath) for those dependencies only used for
> tests (currently we are packaging test dependencies into the release binary
> artefact),
> - remove the jar files stored in the git repo under the "lib/" folder.
> These two above points have to happen in tandem, as the jar files under
> {{lib/}} are those that get bundled into the {{build/dist/lib/}} and hence
> the binary artefact. That is, all jar files under {{lib/}} are the project's
> "compile" scope, and all other dependencies defined in build.xml are either
> "provided" or "test" scope. These different scopes for dependencies are
> currently configured in different maven-ant-tasks poms. See
> https://github.com/apache/cassandra/commit/d43b9ce5092f8879a1a66afebab74d86e9e127fb#r45659668
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]