Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
2.1.0-RC2
-
None
Description
The current example at /src/example/configurations/jdbc-example cannot find the
org.apache#commons-cli;1.0!commons-cli.jar
Changing it will make it work
From
<dependency org="org.apache" name="commons-cli" rev="1.0" />
To
<dependency org="commons-cli" name="commons-cli" rev="1.0" />
The error message
[ivy:retrieve]
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve] module not found: org.apache#commons-cli;1.0
[ivy:retrieve] ==== local: tried
[ivy:retrieve] /home/claudio/.ivy2/local/org.apache/commons-cli/1.0/ivys/ivy.xml
[ivy:retrieve] – artifact org.apache#commons-cli;1.0!commons-cli.jar:
[ivy:retrieve] /home/claudio/.ivy2/local/org.apache/commons-cli/1.0/jars/commons-cli.jar
[ivy:retrieve] ==== shared: tried
[ivy:retrieve] /home/claudio/.ivy2/shared/org.apache/commons-cli/1.0/ivys/ivy.xml
[ivy:retrieve] – artifact org.apache#commons-cli;1.0!commons-cli.jar:
[ivy:retrieve] /home/claudio/.ivy2/shared/org.apache/commons-cli/1.0/jars/commons-cli.jar
[ivy:retrieve] ==== public: tried
[ivy:retrieve] http://repo1.maven.org/maven2/org/apache/commons-cli/1.0/commons-cli-1.0.pom
[ivy:retrieve] – artifact org.apache#commons-cli;1.0!commons-cli.jar:
[ivy:retrieve] http://repo1.maven.org/maven2/org/apache/commons-cli/1.0/commons-cli-1.0.jar
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] :: UNRESOLVED DEPENDENCIES ::
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] :: org.apache#commons-cli;1.0: not found
[ivy:retrieve] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
BUILD FAILED
/opt/lib/apache-ivy-2.1.0-rc2/src/example/configurations/jdbc-example/build.xml:43: impossible to resolve dependencies:
resolve failed - see output for details