I had a similair problem a couple of days ago when trying to build 
servicemix-http component individually. I solved the problem by building the 
entire servicemix project from the root dir and this fixed the problem. 

Once it is built you can then build just the http component in subsequent 
builds as the dependency to common will be satisfied from your local repository.

Thanks

Sufyan

-----Original Message-----
From: João Luz [mailto:[EMAIL PROTECTED] 
Sent: 29 July 2006 15:23
To: [email protected]
Subject: RE: Problems doing mvn -Dmaven.skip.test=true install

The problem persists :(

The component servicemix-common isn't a component from the servicemix 
project... I can't understand why maven is unable to find it... :S

Thanks

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.servicemix:servicemix-common:jar:3.0-incubating-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.servicemix -DartifactId=serv
icemix-common \
          -Dversion=3.0-incubating-20060726.220305-4 -Dpackaging=jar -Dfile=/pat
h/to/file

  Path to dependency:
        1) org.apache.servicemix:servicemix-http:jbi-component:3.0-incubating-SN
APSHOT
        2) org.apache.servicemix:servicemix-soap:jar:3.0-incubating-SNAPSHOT
        3) org.apache.servicemix:servicemix-common:jar:3.0-incubating-20060726.2
20305-4

----------
1 required artifact is missing.

for artifact:
  org.apache.servicemix:servicemix-http:jbi-component:3.0-incubating-SNAPSHOT

from the specified remote repositories:
  central (http://ibiblio.org/maven2/),
  servicemix-m2-repo (http://servicemix.org/m2-repo),
  apache.snapshots (http://svn.apache.org/maven-snapshot-repository),
  codehaus (http://repository.codehaus.org),
  codehaus.m1 (http://dist.codehaus.org),
  activemq-tmp-repo (http://people.apache.org/~chirino/incubator-activemq-4.0/ma
ven2)


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 42 seconds
[INFO] Finished at: Sat Jul 29 15:20:38 BST 2006
[INFO] Final Memory: 9M/17M
[INFO] ------------------------------------------------------------------------ 


João Vieira da Luz

-----Original Message-----
From: Bruce Snyder [mailto:[EMAIL PROTECTED] 
Sent: sábado, 29 de Julho de 2006 15:00
To: [email protected]
Subject: Re: Problems doing mvn -Dmaven.skip.test=true install

On 7/29/06, João Luz <[EMAIL PROTECTED]> wrote:
> I'm trying to install the last changes from http-component but the build 
> process fails with the next message :
>
> Missing:
> -----------------
> 1) org.apache.servicemix:servicemix-common:jar:3.0-incubating-SNAPSHOT
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.apache.servicemix 
> -DartifactId=serv icemix-common \
>           -Dversion=3.0-incubating-20060726.220305-4 -Dpackaging=jar 
> -Dfile=/pat h/to/file
>
>   Path to dependency:
>         1) 
> org.apache.servicemix:servicemix-http:jbi-component:3.0-incubating-SN
> APSHOT
>         2) org.apache.servicemix:servicemix-soap:jar:3.0-incubating-SNAPSHOT
>         3) 
> org.apache.servicemix:servicemix-common:jar:3.0-incubating-20060726.2
> 20305-4
>
> How can I solve this problem.

João,

I had the same problems recently. Try it again using the following options:

mvn -U -cpu -Dmaven.test.skip=true install

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

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

This transmission is confidential and intended solely for the person or 
organisation to whom it is addressed. It may contain privileged and 
confidential information. If you are not the intended recipient, you should not 
copy, distribute or take any action in reliance on it. If you have received 
this transmission in error, please notify the sender immediately. Any opinions 
or advice contained in this e-mail are those of the individual sender except 
where they are stated to be the views of RDF Group plc. All messages passing 
through this gateway are virus scanned.

Reply via email to