You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Erik Allais <er...@altervisions.com> on 2007/07/18 16:12:38 UTC

Build error with 3.1.1

I try to build a HTTP SU with maven and the 3.1.1 release and i got this
error : 

mvn archetype:create -DartifactId=mc-http-su
-DarchetypeGroupId=org.apache.servicemix.tooling \
> -DarchetypeArtifactId=servicemix-http-consumer-service-unit
> -DarchetypeVersion=3.1.1-incubating
[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   Unnamed - org.apache.servicemix.samples:MC:pom:1.0-SNAPSHOT
[INFO]   A custom project
[INFO] Searching repository for plugin with prefix: 'archetype'.
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.1.1-incubating/jbi-maven-plugin-3.1.1-incubating.pom
5K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/tooling/tooling/3.1.1-incubating/tooling-3.1.1-incubating.pom
2K downloaded
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix/3.1.1-incubating/servicemix-3.1.1-incubating.pom
69K downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'507906935d130cfa9b44696270f62e006367533d'; remote =
'a79a1012430e34db6e471c444f0dd77c28be9d0e' - RETRYING
Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix/3.1.1-incubating/servicemix-3.1.1-incubating.pom
69K downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
'507906935d130cfa9b44696270f62e006367533d'; remote =
'a79a1012430e34db6e471c444f0dd77c28be9d0e' - IGNORING
[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: 9 seconds
[INFO] Finished at: Wed Jul 18 15:05:17 GMT+01:00 2007
[INFO] Final Memory: 1M/3M
[INFO]
------------------------------------------------------------------------

i check the file
http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix/3.1.1-incubating/servicemix-3.1.1-incubating.pom
and its seem that there is a well formed problem

Regards,
Erik
-- 
View this message in context: http://www.nabble.com/Build-error-with-3.1.1-tf4103494s12049.html#a11669523
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Build error with 3.1.1

Posted by Gert Vanthienen <ge...@skynet.be>.
Bruce,

It seems to work fine now!  I also had to remove (part of ...) my local 
repository to get Maven to download this file again but it did so 
successfully.

Thanks for the help,

Gert

Bruce Snyder wrote:
> On 7/18/07, Gert Vanthienen <ge...@skynet.be> wrote:
>> 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?
>
> I find it odd that I did not encounter this issue because I completely
> moved aside my local repo so it would force Maven to download
> everything. At any rate, I've replaced the bad POM and regenerated the
> MD5 and SHA1 checksums. Can you test it out?
>
> Bruce

Re: Build error with 3.1.1

Posted by Bruce Snyder <br...@gmail.com>.
On 7/18/07, Gert Vanthienen <ge...@skynet.be> wrote:
> 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?

I find it odd that I did not encounter this issue because I completely
moved aside my local repo so it would force Maven to download
everything. At any rate, I've replaced the bad POM and regenerated the
MD5 and SHA1 checksums. Can you test it out?

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/

Re: Build error with 3.1.1

Posted by Gert Vanthienen <ge...@skynet.be>.
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 <er...@altervisions.com> 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

Re: Build error with 3.1.1

Posted by Bruce Snyder <br...@gmail.com>.
On 7/18/07, Erik Allais <er...@altervisions.com> 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
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/

Re: Build error with 3.1.1

Posted by Erik Allais <er...@altervisions.com>.
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 

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
-- 
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.


Re: Build error with 3.1.1

Posted by Gert Vanthienen <ge...@skynet.be>.
Erik,


You're right: there is problem with a file in the public repository that 
is probably causing this.  A workaround would be to download the 
3.1.1-incubating version from subversion and build it locally, so all 
the correct files end up in your local repository (from 
http://svn.apache.org/viewvc/incubator/servicemix/tags/servicemix-3.1.1/).

You can also only get the pom.xml file from this location and copy it to 
you local repository manually, I think.


Gert

Erik Allais wrote:
> I try to build a HTTP SU with maven and the 3.1.1 release and i got this
> error : 
>
> mvn archetype:create -DartifactId=mc-http-su
> -DarchetypeGroupId=org.apache.servicemix.tooling \
>   
>> -DarchetypeArtifactId=servicemix-http-consumer-service-unit
>> -DarchetypeVersion=3.1.1-incubating
>>     
> [INFO] Scanning for projects...
> [INFO] Reactor build order: 
> [INFO]   Unnamed - org.apache.servicemix.samples:MC:pom:1.0-SNAPSHOT
> [INFO]   A custom project
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/tooling/jbi-maven-plugin/3.1.1-incubating/jbi-maven-plugin-3.1.1-incubating.pom
> 5K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/tooling/tooling/3.1.1-incubating/tooling-3.1.1-incubating.pom
> 2K downloaded
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix/3.1.1-incubating/servicemix-3.1.1-incubating.pom
> 69K downloaded
> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
> '507906935d130cfa9b44696270f62e006367533d'; remote =
> 'a79a1012430e34db6e471c444f0dd77c28be9d0e' - RETRYING
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix/3.1.1-incubating/servicemix-3.1.1-incubating.pom
> 69K downloaded
> [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local =
> '507906935d130cfa9b44696270f62e006367533d'; remote =
> 'a79a1012430e34db6e471c444f0dd77c28be9d0e' - IGNORING
> [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: 9 seconds
> [INFO] Finished at: Wed Jul 18 15:05:17 GMT+01:00 2007
> [INFO] Final Memory: 1M/3M
> [INFO]
> ------------------------------------------------------------------------
>
> i check the file
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix/3.1.1-incubating/servicemix-3.1.1-incubating.pom
> and its seem that there is a well formed problem
>
> Here my webbrowser error :
>
> Erreur d'analyse XML : balise ne correspondant pas. Attendu : </dependency>.
> Emplacement :
> http://people.apache.org/repo/m2-incubating-repository/org/apache/servicemix/servicemix/3.1.1-incubating/servicemix-3.1.1-incubating.pom
> Numéro de ligne 820, Colonne 8 :     </exclusion>
> -------^
>
>
> Regards,
> Erik
>   

Re: Build error with 3.1.1

Posted by Erik Allais <er...@altervisions.com>.
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.


Re: Build error with 3.1.1

Posted by Erik Allais <er...@altervisions.com>.
hi bruce,

I dont understand this error :

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 
[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 15:55:40 GMT+01:00 2007
[INFO] Final Memory: 1M/3M
[INFO]
------------------------------------------------------------------------

Regards,
Erik


bsnyder wrote:
> 
> On 7/18/07, Erik Allais <er...@altervisions.com> wrote:
>>
>> I try to build a HTTP SU with maven and the 3.1.1 release and i got this
>> error :
>>
>> mvn archetype:create -DartifactId=mc-http-su
>> -DarchetypeGroupId=org.apache.servicemix.tooling \
>> > -DarchetypeArtifactId=servicemix-http-consumer-service-unit
>> > -DarchetypeVersion=3.1.1-incubating
> 
> Try adding the remoteRepositories property to point directly at the
> Maven repo from which you want to pull artifacts. Below is an example:
> 
> $ mvn archetype:create
> -DarchetypeGroupId=org.apache.servicemix.tooling
> -DarchetypeArtifactId=servicemix-http-consumer-service-unit
> -DarchetypeVersion=3.1.1-incubating -DgroupId=com.mycompany
> -DartifactId=my-http-consumer-bc
> -DremoteRepositories=http://people.apache.org/repo/m2-incubating-repository
> 
> Bruce
> -- 
> perl -e 'print
> unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
> 
> Apache Geronimo - http://geronimo.apache.org/
> Apache ActiveMQ - http://activemq.org/
> Apache ServiceMix - http://servicemix.org/
> Castor - http://castor.org/
> 
> 

-- 
View this message in context: http://www.nabble.com/Build-error-with-3.1.1-tf4103494s12049.html#a11670417
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Build error with 3.1.1

Posted by Erik Allais <er...@altervisions.com>.
hi bruce,

I dont understand this error :

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 
[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 15:55:40 GMT+01:00 2007
[INFO] Final Memory: 1M/3M
[INFO]
------------------------------------------------------------------------

Here my initial pom.xml before creating the jsr-181 archetype :

	<project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.altervisions.connect.sample</groupId>
<artifactId>modulo_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>
    <module>mc-sa</module>
    <module>mc-http-su</module>
  </modules>
-->
−
</project>


Regards,
Erik


bsnyder wrote:
> 
> On 7/18/07, Erik Allais <er...@altervisions.com> wrote:
>>
>> I try to build a HTTP SU with maven and the 3.1.1 release and i got this
>> error :
>>
>> mvn archetype:create -DartifactId=mc-http-su
>> -DarchetypeGroupId=org.apache.servicemix.tooling \
>> > -DarchetypeArtifactId=servicemix-http-consumer-service-unit
>> > -DarchetypeVersion=3.1.1-incubating
> 
> Try adding the remoteRepositories property to point directly at the
> Maven repo from which you want to pull artifacts. Below is an example:
> 
> $ mvn archetype:create
> -DarchetypeGroupId=org.apache.servicemix.tooling
> -DarchetypeArtifactId=servicemix-http-consumer-service-unit
> -DarchetypeVersion=3.1.1-incubating -DgroupId=com.mycompany
> -DartifactId=my-http-consumer-bc
> -DremoteRepositories=http://people.apache.org/repo/m2-incubating-repository
> 
> Bruce
> -- 
> perl -e 'print
> unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
> 
> Apache Geronimo - http://geronimo.apache.org/
> Apache ActiveMQ - http://activemq.org/
> Apache ServiceMix - http://servicemix.org/
> Castor - http://castor.org/
> 
> 

-- 
View this message in context: http://www.nabble.com/Build-error-with-3.1.1-tf4103494s12049.html#a11670417
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Build error with 3.1.1

Posted by Bruce Snyder <br...@gmail.com>.
On 7/18/07, Erik Allais <er...@altervisions.com> wrote:
>
> I try to build a HTTP SU with maven and the 3.1.1 release and i got this
> error :
>
> mvn archetype:create -DartifactId=mc-http-su
> -DarchetypeGroupId=org.apache.servicemix.tooling \
> > -DarchetypeArtifactId=servicemix-http-consumer-service-unit
> > -DarchetypeVersion=3.1.1-incubating

Try adding the remoteRepositories property to point directly at the
Maven repo from which you want to pull artifacts. Below is an example:

$ mvn archetype:create
-DarchetypeGroupId=org.apache.servicemix.tooling
-DarchetypeArtifactId=servicemix-http-consumer-service-unit
-DarchetypeVersion=3.1.1-incubating -DgroupId=com.mycompany
-DartifactId=my-http-consumer-bc
-DremoteRepositories=http://people.apache.org/repo/m2-incubating-repository

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/