DPascalBernard / maven-alfresco-archetypes

Automatically exported from code.google.com/p/maven-alfresco-archetypes
0 stars 0 forks source link

mvn install not woking, resource oss-parent-3.pom moved #194

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
Follow this tutorial:
http://ecmarchitect.com/alfresco-developer-series-tutorials/maven-sdk/tutorial/t
utorial.html

2.
It will break at the step: "Let's run it"

 cd someco-mvn-tutorial-repo
 mvn integration-test -Pamp-to-war

3.
It seems one resource has moved, the first entry in the stacktrace:

Caused by: org.apache.maven.project.InvalidProjectModelException: Not a v4.0.0 
POM. for project org.sonatype.oss:oss-parent at 
/root/.m2/repository/org/sonatype/oss/oss-parent/3/oss-parent-3.pom

The url for this resource seems to be moved somewhere else:

 # cat /root/.m2/repository/org/sonatype/oss/oss-parent/3/oss-parent-3.pom

  <html>
  <head><title>301 Moved Permanently</title></head>
  <body bgcolor="white">
  <center><h1>301 Moved Permanently</h1></center>
  <hr><center>nginx</center>
  </body>
  </html>

Details I did:

2: 
https://artifacts.alfresco.com/nexus/content/groups/public/archetype-catalog.xml
 -> org.alfresco.maven.archetype:alfresco-allinone-archetype (Sample 
multi-module project for All-in-One development on the Alfresco plaftorm. 
Includes modules for: Repository, AMP, Share, Solr, Web Quick Start and 
embedded Jetty run)
Choose a number or apply filter (format: [groupId:]artifactId, case sensitive 
contains): : 1
Choose org.alfresco.maven.archetype:alfresco-amp-archetype version: 
1: 1.0
2: 1.0.1
3: 1.0.2
4: 1.1.0
5: 1.1.1
Choose a number: 5: 5
Define value for property 'groupId': : com.someco
Define value for property 'artifactId': : someco-mvn-tutorial-repo

Maybe I can fix this locally.

Thanks for any hint.

Original issue reported on code.google.com by j...@weitan.org on 26 Aug 2014 at 9:30