See 
http://servicemix.goopen.org/sm30ug/4-examples.html#4.Examples-Mavenconfiguration
The other way is to build servicemix from sources first so that all needed
jars are already installed in your maven local repository.

On 10/2/06, lLua <[EMAIL PROTECTED]> wrote:

I get this error

~/Programas/servicemixhome/examples/basic$ mvn jbi:embeddedServicemix

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'jbi'.
Downloading:
http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.0-incubating/jbi-maven-plugin-3.0-incubating.jar
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[INFO] Cannot find mojo descriptor for: 'jbi:embeddedServicemix' - Treating
as non-aggregator.
Downloading:
http://repo1.maven.org/maven2/org/apache/servicemix/tooling/jbi-maven-plugin/3.0-incubating/jbi-maven-plugin-3.0-incubating.jar
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Plugin could not be found - check that the goal name is correct:
Unable to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.servicemix.tooling
-DartifactId=jbi-maven-plugin \
        -Dversion=3.0-incubating -Dpackaging=maven-plugin
-Dfile=/path/to/file


  org.apache.servicemix.tooling:jbi-maven-plugin:maven-plugin:3.0-incubating

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

  org.apache.servicemix.tooling:jbi-maven-plugin:maven-plugin:3.0-incubating

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 5 seconds
[INFO] Finished at: Mon Oct 02 12:02:53 CEST 2006
[INFO] Final Memory: 2M/5M
[INFO]
------------------------------------------------------------------------

--
View this message in context: 
http://www.nabble.com/Problem-building-examples-tf2368766.html#a6598868
Sent from the ServiceMix - User mailing list archive at Nabble.com.




--
Cheers,
Guillaume Nodet

Reply via email to