emicalc, you are actually invoking the correct command, but on the wrong tree.
(sorry Grant ;-)) This new build profile of tsep1/step2 was only added 4 days a go and as a result is not part of the M2 source tree you are attempting to compile. For the M2 series src tree the following needs to be performed. mvn -N install cd tooling mvn install -Dmaven.test.skip=true cd .. mvn install -Dmaven.test.skip=true There was a problem (not sure if it existed on the M2 branch) that you had to mvn -N install cd servicemix-services mvn install -Dmaven.test.skip=true cd ../servicemix-core mvn install -Dmaven.test.skip=true cd ../tooling mvn install -Dmaven.test.skip=true cd .. mvn install -Dmaven.test.skip=true The problem arises because of of a bug/feature in Maven that it can't build when the project itself depends on the plugins that it needs to build, so the step1/step2 was introduced to alleviate this feature (by building the tooling and then the projects that need the tooling) Failing that, just checkout the latest source tree using SVN and use the mvn -Dprofile=step1 -Dmaven.test.skip=true mvn -Dprofile=step2 -Dmaven.test.skip=true Hope that helps Ramon On Fri, 4 Aug 2006 20:03:20 +1000 , Grant McDonald wrote > You need to specify at least one goal for maven. In this case I would > recommend "install". So try mvn install -Dmaven.test.skip=true > > -----Original Message----- > From: emicalc [mailto:[EMAIL PROTECTED] > Sent: Friday, 4 August 2006 7:54 PM > To: [email protected] > Subject: compilation problem > > When I try to build "apache-servicemix-3.0-M2-incubating-src" with > the instructions from "http://servicemix.goopen.org/site/building.html" > (starting from servicemix directory), I get the following error: > D:\ABILITIES\servicemix>mvn -Dmaven.test.skip=true -Dprofile=step1 > [INFO] Scanning for projects... > [INFO] Reactor build order: > [INFO] ServiceMix > [INFO] ServiceMix :: JBI > [INFO] ServiceMix :: Services > [INFO] ServiceMix :: Core > [INFO] ServiceMix :: Components > [INFO] ServiceMix :: Common > [INFO] ServiceMix :: SOAP > [INFO] ServiceMix :: Console > [INFO] ServiceMix :: Tooling > [INFO] ServiceMix :: Maven2 :: JBI Plugin > [INFO] ServiceMix :: HTTP > [INFO] ServiceMix :: BPE > [INFO] ServiceMix :: JMS > [INFO] ServiceMix :: JSR-181 Service Engine > [INFO] ServiceMix :: WS-Notification Service Engine > [INFO] ServiceMix :: Lightweight container Service Engine > [INFO] ServiceMix :: SCA Service Engine > [INFO] ServiceMix :: Web > [INFO] ServiceMix :: EIP > [INFO] ServiceMix :: ITests > [INFO] ServiceMix :: BeanFlow > [INFO] ServiceMix :: Maven2 :: Archetypes :: BindingComponent > [INFO] ServiceMix :: Maven2 :: Archetypes :: ServiceEngine > [INFO] ServiceMix :: Maven2 :: Archetypes :: ServiceUnit > [INFO] ServiceMix :: Maven2 :: Archetypes :: ServiceAssembly > [INFO] ServiceMix :: Samples > [INFO] ServiceMix :: Samples :: WSDL first > [INFO] ServiceMix :: Samples :: WSDL first :: JSR181 > [INFO] ServiceMix :: Samples :: WSDL first :: HTTP > [INFO] ServiceMix :: Samples :: WSDL first :: SA > [INFO] Servicemix :: Assembly > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] You must specify at least one goal. Try 'install' > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 4 seconds > [INFO] Finished at: Fri Aug 04 10:39:51 CEST 2006 > [INFO] Final Memory: 4M/9M > [INFO] > ------------------------------------------------------------------------ > > Which is the problem??? > -- > View this message in context: > http://www.nabble.com/compilation-problem-tf2050278.html#a5647571 > Sent from the ServiceMix - Dev forum at Nabble.com. -- Open WebMail Project (http://openwebmail.org)
