Here the step :

- i create my folder 
- i create my pom.xml file which contains :

<?xml version="1.0" encoding="UTF-8"?>
<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.altervisions.connect.sample</groupId>
  <artifactId>connect</artifactId>
  <version>1.0-SNAPSHOT</version>
  <packaging>pom</packaging>
  <name>Sample - Modulo Connect v0.2</name>
  <url>http://www.altervisions.com</url>  
</project>

- i create my first su : in this case the jsr-181 su
mvn archetype:create -DartifactId=mc-jsr181-su
-DarchetypeGroupId=org.apache.servicemix.tooling \
-DarchetypeArtifactId=servicemix-jsr181-annotated-service-unit
-DarchetypeVersion=3.1.1-incubating \
-DremoteRepositories=http://people.apache.org/repo/m2-incubating-repository 

And i got this error :
[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   Sample - Modulo Connect v0.2
[INFO]   A custom project
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.servicemix.tooling:tooling:pom:3.1.1-incubating

Reason: Cannot find parent: org.apache.servicemix:servicemix for project:
org.apache.servicemix.tooling:tooling:pom:3.1.1-incubating for project
org.apache.servicemix.tooling:tooling:pom:3.1.1-incubating


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Wed Jul 18 16:50:32 GMT+01:00 2007
[INFO] Final Memory: 1M/3M
[INFO]
------------------------------------------------------------------------

Explain me why ...
Im lost, last time i do the same command and no prob :

Regards,
Erik
The directory is created and my pom.xml is changed like that :
<?xml version="1.0" encoding="UTF-8"?>
<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.altervisions.connect.sample</groupId>
  <artifactId>connect</artifactId>
  <version>1.0-SNAPSHOT</version>
  <packaging>pom</packaging>
  <name>Sample - Modulo Connect v0.2</name>
  <url>http://www.altervisions.com</url>  
  <modules>
    <module>mc-jsr181-su</module>
  </modules>
</project>

- Then i try to create the second archetype :
mvn archetype:create -DartifactId=mc-http-su
-DarchetypeGroupId=org.apache.servicemix.tooling \
-DarchetypeArtifactId=servicemix-http-consumer-service-unit
-DarchetypeVersion=3.1.1-incubating \
-DremoteRepositories=http://people.apache.org/repo/m2-incubating-repository 
-- 
View this message in context: 
http://www.nabble.com/Build-error-with-3.1.1-tf4103494s12049.html#a11671536
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to