Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
features addUrl mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.0-m2-SNAPSHOT/xml/features
features addUrl mvn:org.apache.servicemix.features/apache-servicemix/4.0-m2-SNAPSHOT/xml/features
features install examples-cxf-osgi
Tip
titleRecent change in subshell syntax

If you get the error below it may be due to a recent change in the latest GShell - see SMX4-153

Code Block

> features list
ERROR CommandLineExecutionFailed: org.apache.geronimo.gshell.command.CommandException: org.apache.geronimo.gshell.clp.ProcessingException: No argument is allowed: list

The new syntax is:

Code Block

features/addUrl mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.0-m2-SNAPSHOT/xml/features
features/addUrl mvn:org.apache.servicemix.features/apache-servicemix/4.0-m2-SNAPSHOT/xml/features
features/install examples-cxf-osgi

At this point, it will certainly fail if you don't have the examples inside your local repository. This is because all the required bundles are not released yet and SNAPSHOTs are not published in maven public repositories. To pass this step, you'll have to build ServiceMix 4 (see Building).

...