You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by David Legg <da...@searchevent.co.uk> on 2010/01/28 01:50:03 UTC
Re: How to test?
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)
Regards,
David Legg
Re: How to test?
Posted by David Legg <da...@searchevent.co.uk>.
Reinhard Pötz wrote:
> 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
>>
> 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.
>
I got it to work as soon as I included the correct jersey maven
repository addresses in the pom.xml file. I wrote about it in the
Cocoon user mail list.
Regards,
David Legg.
Re: How to test?
Posted by Reinhard Pötz <re...@apache.org>.
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 reinhard@apache.org
________________________________________________________________________