You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by João Luz <jl...@sinfic.pt> on 2006/07/29 15:16:48 UTC

Problems doing mvn -Dmaven.skip.test=true install

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. 
 
Thanks,
    João

Re: Problems doing mvn -Dmaven.skip.test=true install

Posted by Bruce Snyder <br...@gmail.com>.
On 7/29/06, João Luz <jl...@sinfic.pt> wrote:
> 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

If you've checked out the latest code from the Subversion repository,
are you sure you're up to date? If not, trying doing an update first:

svn update

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://incubator.apache.org/activemq/
Apache ServiceMix - http://incubator.apache.org/servicemix/
Castor - http://castor.org/

RE: Problems doing mvn -Dmaven.skip.test=true install

Posted by João Luz <jl...@sinfic.pt>.
Yes Suffyan was right. 

It already builds the servicemix-http component. 

On building all of Servicemix I've got the following

[INFO] -------------------------------------------------------------------------
---
[INFO] Building ServiceMix :: Samples :: WSDL first :: SA
[INFO]    task-segment: [install]
[INFO] -------------------------------------------------------------------------
---
[WARNING] POM for 'xfire:xfire-jsr181-api:pom:1.0-M1:compile' is invalid. It wil
l be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'xfire:xfire-jsr181-api:pom:1.0-M1:compile' is invalid. It wil
l be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[INFO] snapshot org.apache.servicemix.samples.wsdl-first:jsr181-su:3.0-incubatin
g-SNAPSHOT: checking for updates from apache.snapshots
[INFO] snapshot org.apache.servicemix.samples.wsdl-first:jsr181-su:3.0-incubatin
g-SNAPSHOT: checking for updates from central
[INFO] snapshot org.apache.servicemix.samples.wsdl-first:jsr181-su:3.0-incubatin
g-SNAPSHOT: checking for updates from servicemix-m2-repo
[INFO] snapshot org.apache.servicemix.samples.wsdl-first:jsr181-su:3.0-incubatin
g-SNAPSHOT: checking for updates from activemq-tmp-repo
[INFO] snapshot org.apache.servicemix.samples.wsdl-first:jsr181-su:3.0-incubatin
g-SNAPSHOT: checking for updates from codehaus
[INFO] snapshot org.apache.servicemix.samples.wsdl-first:jsr181-su:3.0-incubatin
g-SNAPSHOT: checking for updates from codehaus.m1
[INFO] snapshot org.apache.servicemix.samples.wsdl-first:http-su:3.0-incubating-
SNAPSHOT: checking for updates from apache.snapshots
[INFO] snapshot org.apache.servicemix.samples.wsdl-first:http-su:3.0-incubating-
SNAPSHOT: checking for updates from central
[INFO] snapshot org.apache.servicemix.samples.wsdl-first:http-su:3.0-incubating-
SNAPSHOT: checking for updates from servicemix-m2-repo
[INFO] snapshot org.apache.servicemix.samples.wsdl-first:http-su:3.0-incubating-
SNAPSHOT: checking for updates from activemq-tmp-repo
[INFO] snapshot org.apache.servicemix.samples.wsdl-first:http-su:3.0-incubating-
SNAPSHOT: checking for updates from codehaus
[INFO] snapshot org.apache.servicemix.samples.wsdl-first:http-su:3.0-incubating-
SNAPSHOT: checking for updates from codehaus.m1
[INFO] [jbi:generate-jbi-service-assembly-descriptor]
[INFO] Generating jbi.xml
[INFO] Determining component name for service unit http-su
[INFO] Project org.apache.maven.project.MavenProject@cd202673 packaged jbi-compo
nent
[INFO] Determining component name for service unit jsr181-su
[INFO] Project org.apache.maven.project.MavenProject@ef115fad packaged jar
[WARNING] Attempting to build MavenProject instance for Artifact of type: jar; c
onstructing POM artifact instead.
[WARNING] Unable to determine packaging for dependency : xfire-jsr181-api assumi
ng jar
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] null
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NullPointerException
        at org.apache.servicemix.maven.plugin.jbi.GenerateServiceAssemblyDescrip
torMojo.getComponentName(GenerateServiceAssemblyDescriptorMojo.java:248)
        at org.apache.servicemix.maven.plugin.jbi.GenerateServiceAssemblyDescrip
torMojo.generateJbiDescriptor(GenerateServiceAssemblyDescriptorMojo.java:178)
        at org.apache.servicemix.maven.plugin.jbi.GenerateServiceAssemblyDescrip
torMojo.execute(GenerateServiceAssemblyDescriptorMojo.java:124)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:412)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:534)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:475)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:454)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:273)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 minutes 8 seconds
[INFO] Finished at: Sat Jul 29 15:48:36 BST 2006
[INFO] Final Memory: 28M/50M
[INFO] ------------------------------------------------------------------------


Nevertheless the first problem is solved.

Thanks a lot for your help,
João Vieira da Luz

-----Original Message-----
From: Bruce Snyder [mailto:bruce.snyder@gmail.com] 
Sent: sábado, 29 de Julho de 2006 15:41
To: servicemix-users@geronimo.apache.org
Subject: Re: Problems doing mvn -Dmaven.skip.test=true install

On 7/29/06, Sufyan Arif <SA...@rdfgroup.com> wrote:
> 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.

Good catch, Sufyan - I overlooked the fact that João said he was only building the http component. You are correct, if he has not done so already, he will need to build all of ServiceMix first and only then can he build just that component.

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://incubator.apache.org/activemq/
Apache ServiceMix - http://incubator.apache.org/servicemix/
Castor - http://castor.org/

Re: Problems doing mvn -Dmaven.skip.test=true install

Posted by Bruce Snyder <br...@gmail.com>.
On 7/29/06, Sufyan Arif <SA...@rdfgroup.com> wrote:
> 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.

Good catch, Sufyan - I overlooked the fact that João said he was only
building the http component. You are correct, if he has not done so
already, he will need to build all of ServiceMix first and only then
can he build just that component.

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://incubator.apache.org/activemq/
Apache ServiceMix - http://incubator.apache.org/servicemix/
Castor - http://castor.org/

RE: Problems doing mvn -Dmaven.skip.test=true install

Posted by Sufyan Arif <SA...@rdfgroup.com>.
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:jluz@sinfic.pt] 
Sent: 29 July 2006 15:23
To: servicemix-users@geronimo.apache.org
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:bruce.snyder@gmail.com] 
Sent: sábado, 29 de Julho de 2006 15:00
To: servicemix-users@geronimo.apache.org
Subject: Re: Problems doing mvn -Dmaven.skip.test=true install

On 7/29/06, João Luz <jl...@sinfic.pt> 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)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://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.


RE: Problems doing mvn -Dmaven.skip.test=true install

Posted by João Luz <jl...@sinfic.pt>.
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:bruce.snyder@gmail.com] 
Sent: sábado, 29 de Julho de 2006 15:00
To: servicemix-users@geronimo.apache.org
Subject: Re: Problems doing mvn -Dmaven.skip.test=true install

On 7/29/06, João Luz <jl...@sinfic.pt> 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)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://incubator.apache.org/activemq/
Apache ServiceMix - http://incubator.apache.org/servicemix/
Castor - http://castor.org/

Re: Problems doing mvn -Dmaven.skip.test=true install

Posted by Bruce Snyder <br...@gmail.com>.
On 7/29/06, João Luz <jl...@sinfic.pt> 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)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://incubator.apache.org/activemq/
Apache ServiceMix - http://incubator.apache.org/servicemix/
Castor - http://castor.org/