You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Leoric <uo...@hotmail.com> on 2010/01/28 12:25:15 UTC

The plugin 'org.apache.servicemix:servicemix-build' does not exist

I tried to follow of the user guide "importing-servicemix-into-eclipse" but I
failed on the first instructions :wistle:.

I downloaded the src of servicemix-3.3.1. 

The command "mvn -e -Dmaven.test.skip=true -P=step1" gave me this exception:
[INFO]
------------------------------------------------------------------------
[INFO] Building ServiceMix :: Service Engines
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
[DEBUG] servicemix-build: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine the
latest version

  org.apache.servicemix:servicemix-build:pom:LATEST



[DEBUG] Using defaults for missing POM
org.apache.servicemix:servicemix-build:pom:LATEST
[DEBUG] servicemix-build: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine the
release version

  org.apache.servicemix:servicemix-build:pom:RELEASE



[DEBUG] Using defaults for missing POM
org.apache.servicemix:servicemix-build:pom:RELEASE
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.servicemix:servicemix-build' does not exist or
no valid version could be found
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.servicemix:servicemix-build' does not exist or no valid version
could be found
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1569)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1503)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:1282)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:534)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
        at
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
        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)
Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException:
The plugin 'org.apache.servicemix:servicemix-build' does not exist or no
valid version could be found
        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:229)
        at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:91)
        at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:179)
        at
org.apache.maven.plugin.DefaultPluginManager.loadPluginDescriptor(DefaultPluginManager.java:1642)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1540)
        ... 18 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 30 seconds
[INFO] Finished at: Thu Jan 28 12:15:40 CET 2010
[INFO] Final Memory: 72M/254M
[INFO]
------------------------------------------------------------------------


I downloaded "servicemix-build" from a maven repository and installed it
successfully with this command:
mvn -e install:install-file -DgroupId=org.apache.servicemix
-DartifactId=servicemix-build -Dversion=1.0
-DpomFile=<somePath>\servicemix-build-1.0.pom -Dpackaging=jar
-Dfile=<somePath>\servicemix-build-1.0.jar

The installation of servicemix-build-1.0.jar didn't change anything.


Regards,
Michael

-- 
View this message in context: http://old.nabble.com/The-plugin-%27org.apache.servicemix%3Aservicemix-build%27-does-not-exist-tp27354450p27354450.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: The plugin 'org.apache.servicemix:servicemix-build' does not exist

Posted by andrey kalinichenko <an...@gmail.com>.
You need to add this line 
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.servicemix</groupId>
        <artifactId>servicemix-build</artifactId>
++        <version>1.0</version>

into file {servicemix-3.3.1}/deployables/serviceengines/pom.xml

It's work for me.

-- 
View this message in context: http://old.nabble.com/The-plugin-%27org.apache.servicemix%3Aservicemix-build%27-does-not-exist-tp27354450p28240582.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.