cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars Huttar <lars_hut...@sil.org>
Subject Re: [C3] Working with archetypes [Was Re: parent of parent artifact?]
Date Fri, 16 Mar 2012 17:03:44 GMT
On 3/16/2012 11:49 AM, Lars Huttar wrote:
> Francesco, after following the updated instructions (including 
> starting over from scratch), I'm still getting an error...
>
>> C:\Users\HuttarL\Documents\work\c3\theParent\theWebapp>mvn jetty:run
>> ...
>> [ERROR] Failed to execute goal on project theWebapp: Could not 
>> resolve dependenc
>> ies for project org.sil:theWebapp:war:1.0-SNAPSHOT: Failure to find 
>> org.sil:theS
>> ite:jar:1.0-SNAPSHOT in http://download.java.net/maven/2/ was cached 
>> in the loca
>> l repository, resolution will not be reattempted until the update 
>> interval of ma
>> ven2-repository.java.net has elapsed or updates are forced -> [Help 1]
>
> Any suggestions on how to proceed?
> Again I've uploaded the -X -e output from mvn to 
> http://www.huttar.net/tmp/mvnerrors.txt
> in case that helps.
>
> You wrote yesterday that "yesterday I've fixed some minor errors on C3 
> archetypes". Does this mean I need to force mvn to download updates? 
> How would I do that?

I just started again from scratch, adding -U to each of the mvn commands 
to force update.
But had a similar error:

> C:\Users\HuttarL\Documents\work\c3\theParent\theWebapp>mvn -U jetty:run
> [INFO] Scanning for projects...
> [INFO]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building theWebapp 1.0-SNAPSHOT
> [INFO] 
> ------------------------------------------------------------------------
> [INFO]
> [INFO] >>> maven-jetty-plugin:6.1.26:run (default-cli) @ theWebapp >>>
> Downloading: 
> http://download.java.net/maven/2/org/sil/theSite/1.0-SNAPSHOT/maven
> -metadata.xml
> Downloading: 
> http://download.java.net/maven/2/org/sil/theSite/1.0-SNAPSHOT/maven
> -metadata.xml
> Downloading: 
> http://download.java.net/maven/2/org/sil/theSite/1.0-SNAPSHOT/theSi
> te-1.0-SNAPSHOT.pom
> [WARNING] The POM for org.sil:theSite:jar:1.0-SNAPSHOT is missing, no 
> dependency
>  information available
> Downloading: 
> http://download.java.net/maven/2/org/sil/theSite/1.0-SNAPSHOT/theSi
> te-1.0-SNAPSHOT.jar
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 0.834s
> [INFO] Finished at: Fri Mar 16 11:58:43 CDT 2012
> [INFO] Final Memory: 3M/6M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project theWebapp: Could not resolve 
> dependenc
> ies for project org.sil:theWebapp:war:1.0-SNAPSHOT: Could not find 
> artifact org.
> sil:theSite:jar:1.0-SNAPSHOT in maven2-repository.java.net 
> (http://download.java
> .net/maven/2/) -> [Help 1]

It says it's trying to download URLs from the public web that have my 
groupId and artifactId in the name, like
    
http://download.java.net/maven/2/org/sil/theSite/1.0-SNAPSHOT/theSite-1.0-SNAPSHOT.pom
No wonder it's failing. But how to fix it? Do I have to use the provided 
groupId and artifactId??

Again, posted debug output and errors to 
http://www.huttar.net/tmp/mvnerrors.txt

Lars



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message