Hi Mauro, thanks, it worked! Why is the settings.xml not included in the bin-distribution? For running the ant target in the bin distribution I had to download the src distribution. And maybe it would also help other people if you put your hints into the DEPENDENCIES.txt.
Great testing framework, by the way! Cheers, Andreas 2011/4/12 Mauro Talevi <[email protected]>: > Yes, the repos are specified in the settings.xml in the root of source: > > http://jbehave.org/reference/stable/building-source.html > > You need to configure the Maven Ant Tasks with it: > > http://maven.apache.org/ant-tasks/usage.html > > Cheers > > On 12/04/2011 12:15, Andreas Havenstein wrote: >> Hi, >> I can't get the needed libs for JBehave 3.3.1. >> >> Using Maven or Ant I get in trouble downloading >> org.jboss.weld.se:weld-se:jar:1.1.0.Final >> >> Do I have to define a special repository? >> >> --------------------------- >> LAPTOP$ ant -lib maven-ant-tasks-2.1.0.jar copy-dependencies >> ... >> copy-dependencies: >> [artifact:dependencies] Downloading: >> org/jboss/weld/se/weld-se/1.1.0.Final/weld-se-1.1.0.Final.pom from >> repository central at http://repo1.maven.org/maven2 >> [artifact:dependencies] Unable to locate resource in repository >> [artifact:dependencies] [INFO] Unable to find resource >> 'org.jboss.weld.se:weld-se:pom:1.1.0.Final' in repository central >> (http://repo1.maven.org/maven2) >> [artifact:dependencies] Downloading: >> org/jboss/weld/se/weld-se/1.1.0.Final/weld-se-1.1.0.Final.jar from >> repository central at http://repo1.maven.org/maven2 >> [artifact:dependencies] Unable to locate resource in repository >> [artifact:dependencies] [INFO] Unable to find resource >> 'org.jboss.weld.se:weld-se:jar:1.1.0.Final' in repository central >> (http://repo1.maven.org/maven2) >> [artifact:dependencies] An error has occurred while processing the >> Maven artifact tasks. >> [artifact:dependencies] Diagnosis: >> [artifact:dependencies] >> [artifact:dependencies] Unable to resolve artifact: Missing: >> [artifact:dependencies] ---------- >> [artifact:dependencies] 1) org.jboss.weld.se:weld-se:jar:1.1.0.Final >> [artifact:dependencies] >> [artifact:dependencies] Try downloading the file manually from the >> project website. >> [artifact:dependencies] >> [artifact:dependencies] Then, install it using the command: >> [artifact:dependencies] mvn install:install-file >> -DgroupId=org.jboss.weld.se -DartifactId=weld-se -Dversion=1.1.0.Final >> -Dpackaging=jar -Dfile=/path/to/file >> [artifact:dependencies] >> [artifact:dependencies] Alternatively, if you host your own >> repository you can deploy the file there: >> [artifact:dependencies] mvn deploy:deploy-file >> -DgroupId=org.jboss.weld.se -DartifactId=weld-se -Dversion=1.1.0.Final >> -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] >> [artifact:dependencies] >> [artifact:dependencies] Path to dependency: >> [artifact:dependencies] 1) org.jbehave:jbehave-distribution:pom:3.3.1 >> [artifact:dependencies] 2) org.jbehave:jbehave-weld:jar:3.3.1 >> [artifact:dependencies] 3) org.jboss.weld.se:weld-se:jar:1.1.0.Final >> [artifact:dependencies] >> [artifact:dependencies] ---------- >> [artifact:dependencies] 1 required artifact is missing. >> [artifact:dependencies] >> [artifact:dependencies] for artifact: >> [artifact:dependencies] org.jbehave:jbehave-distribution:pom:3.3.1 >> [artifact:dependencies] >> [artifact:dependencies] from the specified remote repositories: >> [artifact:dependencies] codehaus-nexus-snapshots >> (https://nexus.codehaus.org/content/repositories/snapshots/), >> [artifact:dependencies] central (http://repo1.maven.org/maven2) >> [artifact:dependencies] >> [artifact:dependencies] >> >> BUILD FAILED >> /home/ah/dev/telekom/jbehave-3.3.1/lib/build.xml:18: Unable to resolve >> artifact: Missing: >> ---------- >> 1) org.jboss.weld.se:weld-se:jar:1.1.0.Final >> >> Try downloading the file manually from the project website. >> >> Then, install it using the command: >> mvn install:install-file -DgroupId=org.jboss.weld.se >> -DartifactId=weld-se -Dversion=1.1.0.Final -Dpackaging=jar >> -Dfile=/path/to/file >> >> Alternatively, if you host your own repository you can deploy the file >> there: >> mvn deploy:deploy-file -DgroupId=org.jboss.weld.se >> -DartifactId=weld-se -Dversion=1.1.0.Final -Dpackaging=jar >> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] >> >> Path to dependency: >> 1) org.jbehave:jbehave-distribution:pom:3.3.1 >> 2) org.jbehave:jbehave-weld:jar:3.3.1 >> 3) org.jboss.weld.se:weld-se:jar:1.1.0.Final >> >> ---------- >> 1 required artifact is missing. >> >> for artifact: >> org.jbehave:jbehave-distribution:pom:3.3.1 >> >> from the specified remote repositories: >> codehaus-nexus-snapshots >> (https://nexus.codehaus.org/content/repositories/snapshots/), >> central (http://repo1.maven.org/maven2) >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > -- Dipl.-Informatiker Andreas Havenstein Senior Softwareentwickler it-agile GmbH Paul-Stritter-Weg 5, D-22297 Hamburg Geschäftsführer: Henning Wolf, Jens Coldewey Handelregister Hamburg, HRB: 92261 Umsatzsteuer-Identifikationsnummer: DE239483021 Fon: +49 40 88173-300 Fax: +49 40 88173-333 Mobile: +49 172 4297612 E-Mail: [email protected] http://www.it-agile.de --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
