users@jersey.java.net

Re: [Jersey] Abdera Repository problems?

From: Jan Algermissen <algermissen1971_at_mac.com>
Date: Wed, 17 Mar 2010 14:59:47 +0100

On Mar 17, 2010, at 2:35 PM, Jan Algermissen wrote:

> Hi,
>
> I am trying to compile jersey from source and get an error with the following maven repository:
>
> <repositories>
> <repository>
> <id>apache-incubating</id>
> <name>Apache Incubating Repository</name>
> <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
> </repository>
> </repositories>
>
>
> Does anybody know a work around?


I replaced the URL with http://repository.apache.org/snapshots, that seemed to work.

Jan





>
> Thanks,
>
> Jan
>
> Here is the maven output:
>
> [ERROR] Failed to execute goal on project jersey-atom-abdera: Missing:
> ----------
> 1) org.apache.abdera:abdera-client:jar:1.0-SNAPSHOT
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=org.apache.abdera -DartifactId=abdera-client -Dversion=1.0-20090105.215721-1 -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.apache.abdera -DartifactId=abdera-client -Dversion=1.0-20090105.215721-1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
> Path to dependency:
> 1) com.sun.jersey.contribs:jersey-atom-abdera:pom:pom:1.2-SNAPSHOT
> 2) org.apache.abdera:abdera-extensions-json:jar:1.0-SNAPSHOT
> 3) org.apache.abdera:abdera-extensions-main:jar:1.0-SNAPSHOT
> 4) org.apache.abdera:abdera-client:jar:1.0-SNAPSHOT
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
> com.sun.jersey.contribs:jersey-atom-abdera:pom:1.2-SNAPSHOT
>
> from the specified remote repositories:
> apache-incubating (http://people.apache.org/repo/m2-snapshot-repository/, releases=true, snapshots=true),
> m1.dev.java.net (http://download.java.net/maven/1, releases=true, snapshots=true),
> m2.dev.java.net (http://download.java.net/maven/2, releases=true, snapshots=true),
> central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
> -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MultipleArtifactsNotFoundException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR] mvn <goals> -rf :jersey-atom-abdera
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>

-----------------------------------
 Jan Algermissen, Consultant
 NORD Software Consulting

 Mail: algermissen_at_acm.org
 Blog: http://www.nordsc.com/blog/
 Work: http://www.nordsc.com/
-----------------------------------