Thanks a lot. I have upgrade mvn to 2.0.7 and it worked.
Though, there were compilation errors, I had to comment out those modules
from pom.xml

(servicemix-camel, samples/wsdl-first  modules)



Freeman Fang-2 wrote:
> 
> Hi Bummer,
> 
> It's maven version issue. To avoid it, you should use maven which 
> version is higher than 2.0.6.
> 
> I notice that our wiki said maven 2.0.5 is enough for the building, it's 
> a bit out of date, maybe we need correct it.
> 
> Best Regards
> 
> Freeman
> 
> Bummer wrote:
>> For the second step of compilation, it failed with following error
>>   
>>> mvn -Dmaven.test.skip=true -Dprofile=step2 install
>>>     
>>
>> [INFO]
>> ----------------------------------------------------------------------------
>> [INFO] Building ServiceMix :: Archetypes :: BindingComponent
>> [INFO]    task-segment: [install]
>> [INFO]
>> ----------------------------------------------------------------------------
>> [INFO] [build:copy {execution: default}]
>> [INFO] [resources:resources]
>> [INFO] Using default encoding to copy filtered resources.
>> [INFO] [res:resources {execution: default}]
>> [INFO] Using default encoding to copy filtered resources.
>> [INFO] Copying 9 resources
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] FATAL ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] org/codehaus/plexus/util/FileUtils$FilterWrapper
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Trace
>> java.lang.NoClassDefFoundError:
>> org/codehaus/plexus/util/FileUtils$FilterWrapper
>>         at
>> org.apache.servicemix.maven.plugin.res.ResMojo.copyFile(ResMojo.java:126)
>>         at
>> org.apache.servicemix.maven.plugin.res.ResMojo.execute(ResMojo.java:118)
>>         at
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:420)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
>>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
>>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
>>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>         at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:597)
>>         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: 22 seconds
>> [INFO] Finished at: Thu Sep 13 15:43:19 KST 2007
>> [INFO] Final Memory: 22M/40M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>>
>> Thanks
>>   
> 
> 

-- 
View this message in context: 
http://www.nabble.com/compilation-problem-tf4433888s12049.html#a12666785
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to