Bruce,
You probably already had a correct pom.xml for servicemix:parent
3.1.1-incubating in your local repository. Erik doesn't have it, so
Maven tries to download it from the repository, but... If you look at
https://issues.apache.org/activemq/browse/SM-997, you'll notice that it
indicates that the pom.xml in the public repository is broken.
I have no idea how to fix this. Can you upload a correct pom.xml or do
you know who can help us out with this?
Gert
Bruce Snyder wrote:
On 7/18/07, Erik Allais <[EMAIL PROTECTED]> wrote:
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
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
I just copy/pasted the command above and executed it and received the
same error. Then I added the groupId to the command it executed just
fine. Below is the command I used:
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
-DgroupId=com.mycompany
Bruce