Ivy
  1. Ivy
  2. IVY-1109

Change org.apache to commons-cli at jdbc-example

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.1.0-RC2
    • Fix Version/s: 2.2.0-RC1
    • Component/s: Documentation
    • Labels:
      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

        Activity

          People

          • Assignee:
            Maarten Coene
            Reporter:
            Claudio Miranda
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development