You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Patrick Refondini <pa...@pobox.com> on 2006/10/06 20:22:09 UTC

Unable to get resource from repository central for spring 2.0-xxx-rc2.pom

Hi,
Following:
http://cocoon.zones.apache.org/daisy/documentation/g1/1159.html

I issued:
mvn archetype:create -DarchetypeGroupId=org.apache.cocoon 
-DarchetypeArtifactId=cocoon-22-archetype-webapp 
-DarchetypeVersion=1.0.0-SNAPSHOT -DgroupId=ch.extentis 
-DartifactId=publidoc

Which went well, then:
cd publidoc
mvn -e jetty6:run

complains that:

Downloading: 
http://repo1.maven.org/maven2/org/springframework/spring-core/2.0-rc2/spring-core-2.0-rc2.pom
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
Downloading: 
http://repo1.maven.org/maven2/org/springframework/spring-beans/2.0-rc2/spring-beans-2.0-rc2.pom
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
Downloading: 
http://repo1.maven.org/maven2/org/springframework/spring-web/2.0-rc2/spring-web-2.0-rc2.pom
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
Downloading: 
http://repo1.maven.org/maven2/org/springframework/spring-aop/2.0-rc2/spring-aop-2.0-rc2.pom
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
Downloading: 
http://repo1.maven.org/maven2/org/springframework/spring-context/2.0-rc2/spring-context-2.0-rc2.pom
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)

The final error cause being:
Caused by: org.apache.maven.plugin.MojoExecutionException: Webapp source 
directory /Users/patrick/dev/c22/publidoc/target/cocoon-webapp does not 
exist


I first tried with
     <mirror>
       <mirrorOf>central</mirrorOf>
       <id>ibiblioEuropeanMirror</id>
       <url>http://mirrors.dotsrc.org/maven2</url>
     </mirror>
with the same error.

Thanks for any hint,

Patrick








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


Re: Unable to get resource from repository central for spring 2.0-xxx-rc2.pom

Posted by Patrick Refondini <pa...@pobox.com>.
Sorry for the noise, I solve my "problem" as explained hereafter:

Patrick Refondini wrote:
> Hi,
> Following:
> http://cocoon.zones.apache.org/daisy/documentation/g1/1159.html
> 
> I issued:
> mvn archetype:create -DarchetypeGroupId=org.apache.cocoon 
> -DarchetypeArtifactId=cocoon-22-archetype-webapp 
> -DarchetypeVersion=1.0.0-SNAPSHOT -DgroupId=ch.extentis 
> -DartifactId=publidoc
> 
> Which went well, then:
> cd publidoc
> mvn -e jetty6:run
> 
> complains that:
> 
> Downloading: 
> http://repo1.maven.org/maven2/org/springframework/spring-core/2.0-rc2/spring-core-2.0-rc2.pom 
> 
> [WARNING] Unable to get resource from repository central 
> (http://repo1.maven.org/maven2)
> Downloading: 
> http://repo1.maven.org/maven2/org/springframework/spring-beans/2.0-rc2/spring-beans-2.0-rc2.pom 
> 
> [WARNING] Unable to get resource from repository central 
> (http://repo1.maven.org/maven2)
> Downloading: 
> http://repo1.maven.org/maven2/org/springframework/spring-web/2.0-rc2/spring-web-2.0-rc2.pom 
> 
> [WARNING] Unable to get resource from repository central 
> (http://repo1.maven.org/maven2)
> Downloading: 
> http://repo1.maven.org/maven2/org/springframework/spring-aop/2.0-rc2/spring-aop-2.0-rc2.pom 
> 
> [WARNING] Unable to get resource from repository central 
> (http://repo1.maven.org/maven2)
> Downloading: 
> http://repo1.maven.org/maven2/org/springframework/spring-context/2.0-rc2/spring-context-2.0-rc2.pom 
> 
> [WARNING] Unable to get resource from repository central 
> (http://repo1.maven.org/maven2)
> 
> The final error cause being:
> Caused by: org.apache.maven.plugin.MojoExecutionException: Webapp source 
> directory /Users/patrick/dev/c22/publidoc/target/cocoon-webapp does not 
> exist
> 
> 
> I first tried with
>     <mirror>
>       <mirrorOf>central</mirrorOf>
>       <id>ibiblioEuropeanMirror</id>
>       <url>http://mirrors.dotsrc.org/maven2</url>
>     </mirror>
> with the same error.
> 
> Thanks for any hint,
> 
> Patrick
> 


1. INSTALL a fresh cocoon trunk version to:

$HOME/dev/arch/apache/cocoon/trunk/20061006162025/cocoon_20061006162025.tar.gz
cd $HOME/dev/arch/apache/cocoon/trunk/20061006162025/
tar xvzf cocoon_20061006162025.tar.gz
cd cocoon
mvn clean install -Dmaven.test.skip=true
(...)
[INFO] BUILD SUCCESSFUL
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 2 minutes 10 seconds
[INFO] Finished at: Fri Oct 06 20:36:14 CEST 2006
[INFO] Final Memory: 22M/59M
[INFO] 
------------------------------------------------------------------------

Yeepeh !


2. CREATE a new empty Cocoon 2.2 project

cd $HOME/dev/c22
mvn archetype:create -DarchetypeGroupId=org.apache.cocoon 
-DarchetypeArtifactId=cocoon-22-archetype-webapp 
-DarchetypeVersion=1.0.0-SNAPSHOT -DgroupId=ch.extentis 
-DartifactId=publidoc

cd publidoc
mvn install
mvn jetty6:run


Then you should be congratulated while connecting to http://localhost:8888/


Now beginning to migrate from 2.1.10-dev to 2.2-dev :))

Looks great !

Patrick









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