David Legg wrote:
> I thought I'd give C3 a go but I appear to have a couple of artifacts
> missing when I run Maven. They are: -
>
> com.sun.jersey:jersey-core:jar:1.0.3
> com.sun.jersey:jersey-server:jar:1.0.3
>
> I've tried making sure I'm using the 'cocoon-staging' profile mentioned
> in the email but to no effect. It is getting late here now but tomorrow
> I'll try manually installing the missing jar files and try again.
>
> The Maven error looks as follows: -
>
> D:\projects\cocoon\cocoon3\mysample>mvn jetty:run -P cocoon-staging
> ...
> [INFO] Failed to resolve artifact.
> ...
> Missing:
> ----------
> 1) com.sun.jersey:jersey-core:jar:1.0.3
>
> Try downloading the file manually from the project website.
>
> Path to dependency:
> 1) com.mycompany:mysample:jar:1.0-SNAPSHOT
> 2) com.sun.jersey:jersey-core:jar:1.0.3
> ...
> 2) com.sun.jersey:jersey-server:jar:1.0.3
>
> Try downloading the file manually from the project website.
>
> Path to dependency:
> 1) com.mycompany:mysample:jar:1.0-SNAPSHOT
> 2) com.sun.jersey:jersey-server:jar:1.0.3
> ...
> ----------
> 2 required artifacts are missing.
>
> for artifact:
> com.mycompany:mysample:jar:1.0-SNAPSHOT
>
> from the specified remote repositories:
> cocoon.staging (http://people.apache.org/builds/cocoon),
> central (http://repo1.maven.org/maven2)
Thanks David! I don't know why this can happen because I built the
release artifacts on a clean machine with an empty Maven repository and
without a Maven proxy.
Anyway, I will create an alpha-3 release in February that will fix this
problem.
--
Reinhard Pötz Managing Director, {Indoqa} GmbH
http://www.indoqa.com/en/people/reinhard.poetz/
Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member [email protected]
________________________________________________________________________