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 [EMAIL PROTECTED] packaged jbi-compo
nent
[INFO] Determining component name for service unit jsr181-su
[INFO] Project [EMAIL PROTECTED] 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:[EMAIL PROTECTED] 
Sent: sábado, 29 de Julho de 2006 15:41
To: [email protected]
Subject: Re: Problems doing mvn -Dmaven.skip.test=true install

On 7/29/06, Sufyan Arif <[EMAIL PROTECTED]> 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)[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/

Reply via email to