Maven newbie could really use failproof instructions for getting to know servicemix without the friction of broken repos, stale maven/ant scripts, out of date tutorials and so forth.

I did find Maven configuration instructions:
ServiceMix release is not available on public maven repositories, so you need to either:

    * build ServiceMix from sources
    * modify your maven configuration to include an additional repository.

So I changed ~/.m2/settings.xml accordingly, then (in the servicemix-3.1/src directory):

mvn compile
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   ServiceMix
[INFO]   Servicemix :: Build
[INFO]   ServiceMix :: Core
[INFO]   ServiceMix :: JBI
[INFO]   ServiceMix :: Services
[INFO]   ServiceMix :: Core
[INFO]   ServiceMix :: Audit
[INFO]   ServiceMix :: Common
[INFO]   ServiceMix :: Common
[INFO]   ServiceMix :: Components
[INFO]   ServiceMix :: SOAP
[INFO]   ServiceMix :: BeanFlow
[INFO]   ServiceMix :: Tooling
[INFO]   ServiceMix :: Maven2 JBI Plugin
[INFO]   ServiceMix :: Maven2 XFire Plugin
[INFO]   ServiceMix :: Archetypes :: BindingComponent
[INFO]   ServiceMix :: Archetypes :: ServiceEngine
[INFO]   ServiceMix :: Archetypes :: ServiceUnit
[INFO]   ServiceMix :: Archetypes :: ServiceAssembly
[INFO]   ServiceMix :: Archetypes :: SharedLibrary
[INFO]   ServiceMix :: Archetypes :: HttpConsumerServiceUnit
[INFO]   ServiceMix :: Archetypes :: HttpProviderServiceUnit
[INFO]   ServiceMix :: Archetypes :: JmsConsumerServiceUnit
[INFO]   ServiceMix :: Archetypes :: JmsProviderServiceUnit
[INFO]   ServiceMix :: Archetypes :: Jsr181WsdlFirstServiceUnit
[INFO]   ServiceMix :: Archetypes :: LWContainerServiceUnit
[INFO]   ServiceMix :: Archetypes :: EIPServiceUnit
[INFO]   ServiceMix :: Archetypes :: EmbeddedSimple
[INFO]   ServiceMix :: Archetypes :: ServiceMixODEServiceUnit
[INFO]   ServiceMix :: Archetypes :: Jsr181AnnotatedServiceUnit
[INFO]   ServiceMix :: Archetypes :: SaxonXQueryServiceUnit
[INFO]   ServiceMix :: Archetypes :: SaxonXsltServiceUnit
[INFO]   ServiceMix :: Archetypes
[INFO]   ServiceMix :: Archetypes :: ITests
[INFO]   ServiceMix :: Deployables
[INFO]   ServiceMix :: Shared Libraries
[INFO]   ServiceMix :: Shared
[INFO]   ServiceMix :: Binding Components
[INFO]   ServiceMix :: File
[INFO]   ServiceMix :: FTP
[INFO]   ServiceMix :: HTTP
[INFO]   ServiceMix :: JMS
[INFO]   ServiceMix :: XMPP
[INFO]   ServiceMix :: Service Engines
[INFO]   ServiceMix :: Bean
[INFO]   ServiceMix :: BPE
[INFO]   ServiceMix :: Drools Service Engine
[INFO]   ServiceMix :: EIP
[INFO]   ServiceMix :: JSR-181 Service Engine
[INFO]   ServiceMix :: Lightweight container Service Engine
[INFO]   ServiceMix :: Quartz
[INFO]   ServiceMix :: Saxon Service Engine
[INFO]   ServiceMix :: SCA Service Engine
[INFO]   ServiceMix :: Scripting Service Engine
[INFO]   ServiceMix :: WS-Notification Service Engine
[INFO]   ServiceMix :: ITests
[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 :: Samples :: Loan Broker
[INFO]   ServiceMix :: Samples :: Loan Broker :: LwContainer
[INFO]   ServiceMix :: Samples :: Loan Broker :: BPE
[INFO]   ServiceMix :: Samples :: Loan Broker :: JMS
[INFO]   ServiceMix :: Samples :: Loan Broker :: SA
[INFO]   ServiceMix :: Samples :: Bridge
[INFO]   ServiceMix :: Samples :: Bridge :: HTTP
[INFO]   ServiceMix :: Samples :: Bridge :: EIP
[INFO]   ServiceMix :: Samples :: Bridge :: XSLT
[INFO]   ServiceMix :: Samples :: Bridge :: JMS
[INFO]   ServiceMix :: Samples :: Bridge :: SA
[INFO]   ServiceMix :: Samples :: Web
[INFO]   ServiceMix :: Samples :: Basic
[INFO]   ServiceMix :: Console
[INFO]   ServiceMix :: Web Console
[INFO]   ServiceMix :: Web Apps
[INFO]   ServiceMix :: Platforms
[INFO]   Servicemix :: Geronimo
[INFO]   ServiceMix :: Geronimo :: ServiceMix service
[INFO]   ServiceMix :: Geronimo :: Deployer service
[INFO]   ServiceMix :: Geronimo :: Dependencies
[INFO]   ServiceMix :: Geronimo :: ServiceMix plugin
[INFO]   ServiceMix :: Geronimo :: Deployer plugin
[INFO]   ServiceMix :: Assemblies
[INFO]   Servicemix :: Distribution
[INFO]   ServiceMix :: WebApp distribution
[INFO] ----------------------------------------------------------------------------
[INFO] Building ServiceMix
[INFO]    task-segment: [compile]
[INFO] ----------------------------------------------------------------------------
[INFO] No goals needed for project - skipping
[INFO] ----------------------------------------------------------------------------
[INFO] Building Servicemix :: Build
[INFO]    task-segment: [compile]
[INFO] ----------------------------------------------------------------------------
[INFO] [plugin:descriptor]
[INFO] Using 2 extractors.
[INFO] Applying extractor for language: java
[INFO] Extractor for language: java found 1 mojo descriptors.
[INFO] Applying extractor for language: bsh
[INFO] Extractor for language: bsh found 0 mojo descriptors.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error writing plugin descriptor

Embedded error: /Volumes/G5-B/Java/apache-servicemix-3.1-incubating/src/build/target/classes/META-INF/maven/plugin.xml (No such file or directory) [INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 31 seconds
[INFO] Finished at: Thu Mar 08 11:36:45 EST 2007
[INFO] Final Memory: 17M/33M
[INFO] ------------------------------------------------------------------------

Reply via email to