You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Maxim Y. Tebenev" <mt...@softech.ru> on 2007/02/08 16:38:53 UTC

Failed to create plugin container

Hi Guys,

Please suggest where should I start to find the reason for the following
error:

[INFO] Internal error in the plugin manager getting plugin
'org.apache.servicemix:build': Failed to create plugin contai
ner for plugin 'org.apache.maven.model.Plugin@168e429': Error starting
container
The system cannot find the path specified
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in
the plugin manager getting plugin 'org.apache.
servicemix:build': Failed to create plugin container for plugin
'org.apache.maven.model.Plugin@168e429': Error starting
container
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1256)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1216)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:
982)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:453)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
a:306)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        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:585)
        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.PluginManagerException: Failed to create
plugin container for plugin 'org.apache.mave
n.model.Plugin@168e429': Error starting container
        at
org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:284)
        at
org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:198)
        at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:163)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1252)
        ... 17 more
Caused by: org.codehaus.plexus.PlexusContainerException: Error starting
container
        at
org.codehaus.plexus.DefaultPlexusContainer.start(DefaultPlexusContainer.java:787)
        at
org.codehaus.plexus.DefaultPlexusContainer.createChildContainer(DefaultPlexusContainer.java:270)
        at
org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:277)
        ... 20 more
Caused by: org.codehaus.plexus.configuration.PlexusConfigurationException:
Error reading configuration jar:file:/D:/!/bu
ild/target/build-3.1-incubating-freeze.jar!/META-INF/maven/plugin.xml
        at
org.codehaus.plexus.component.discovery.AbstractComponentDiscoverer.findComponents(AbstractComponentDiscovere
r.java:89)
        at
org.codehaus.plexus.DefaultPlexusContainer.discoverComponents(DefaultPlexusContainer.java:717)
        at
org.codehaus.plexus.DefaultPlexusContainer.start(DefaultPlexusContainer.java:779)
        ... 22 more
Caused by: java.util.zip.ZipException: The system cannot find the path
specified
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:203)
        at java.util.jar.JarFile.<init>(JarFile.java:132)
        at java.util.jar.JarFile.<init>(JarFile.java:70)
        at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:56)
        at
sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:41)
        at
sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:78)
        at
sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:102)
        at
org.codehaus.plexus.component.discovery.AbstractComponentDiscoverer.findComponents(AbstractComponentDiscovere
r.java:72)
        ... 24 more

It ocurred when I'm trying to build ServiceMix using Maven.
Thanks in advance!

Best regards, Maxim Tebenev.
-- 
View this message in context: http://www.nabble.com/Failed-to-create-plugin-container-tf3194008s177.html#a8867669
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Failed to create plugin container

Posted by Wayne Fay <wa...@gmail.com>.
You should probably talk to the ServiceMix people about this problem,
since its their project, their pom.xml files and source code, and
their build process. Unless there's a ServiceMix developer here on the
Maven Users list, our responses will be mostly speculation.

(From the stacktrace, it looks like Maven is unable to find a
plugin.xml file in a Jar.)

Wayne

On 2/8/07, Maxim Y. Tebenev <mt...@softech.ru> wrote:
>
> Hi Guys,
>
> Please suggest where should I start to find the reason for the following
> error:
>
> [INFO] Internal error in the plugin manager getting plugin
> 'org.apache.servicemix:build': Failed to create plugin contai
> ner for plugin 'org.apache.maven.model.Plugin@168e429': Error starting
> container
> The system cannot find the path specified
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in
> the plugin manager getting plugin 'org.apache.
> servicemix:build': Failed to create plugin container for plugin
> 'org.apache.maven.model.Plugin@168e429': Error starting
> container
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1256)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1216)
>
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:
> 982)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:453)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
> a:306)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
>        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:585)
>        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.PluginManagerException: Failed to create
> plugin container for plugin 'org.apache.mave
> n.model.Plugin@168e429': Error starting container
>        at
> org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:284)
>        at
> org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:198)
>        at
> org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:163)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1252)
>        ... 17 more
> Caused by: org.codehaus.plexus.PlexusContainerException: Error starting
> container
>        at
> org.codehaus.plexus.DefaultPlexusContainer.start(DefaultPlexusContainer.java:787)
>        at
> org.codehaus.plexus.DefaultPlexusContainer.createChildContainer(DefaultPlexusContainer.java:270)
>        at
> org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:277)
>        ... 20 more
> Caused by: org.codehaus.plexus.configuration.PlexusConfigurationException:
> Error reading configuration jar:file:/D:/!/bu
> ild/target/build-3.1-incubating-freeze.jar!/META-INF/maven/plugin.xml
>        at
> org.codehaus.plexus.component.discovery.AbstractComponentDiscoverer.findComponents(AbstractComponentDiscovere
> r.java:89)
>        at
> org.codehaus.plexus.DefaultPlexusContainer.discoverComponents(DefaultPlexusContainer.java:717)
>        at
> org.codehaus.plexus.DefaultPlexusContainer.start(DefaultPlexusContainer.java:779)
>        ... 22 more
> Caused by: java.util.zip.ZipException: The system cannot find the path
> specified
>        at java.util.zip.ZipFile.open(Native Method)
>        at java.util.zip.ZipFile.<init>(ZipFile.java:203)
>        at java.util.jar.JarFile.<init>(JarFile.java:132)
>        at java.util.jar.JarFile.<init>(JarFile.java:70)
>        at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:56)
>        at
> sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:41)
>        at
> sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:78)
>        at
> sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:102)
>        at
> org.codehaus.plexus.component.discovery.AbstractComponentDiscoverer.findComponents(AbstractComponentDiscovere
> r.java:72)
>        ... 24 more
>
> It ocurred when I'm trying to build ServiceMix using Maven.
> Thanks in advance!
>
> Best regards, Maxim Tebenev.
> --
> View this message in context: http://www.nabble.com/Failed-to-create-plugin-container-tf3194008s177.html#a8867669
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org