[ 
https://issues.apache.org/jira/browse/FELIX-5017?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler resolved FELIX-5017.
-------------------------------------
    Resolution: Duplicate

This has been fixed for the 3.0 release

> Maven bundle plugin incompatible with maven 3.3.x
> -------------------------------------------------
>
>                 Key: FELIX-5017
>                 URL: https://issues.apache.org/jira/browse/FELIX-5017
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.5.4
>         Environment: Maven 3.3.1; Maven 3.3.3
>            Reporter: Michael Ernst
>
> We found this incompatibility after updating our mvn from 3.2.5 to 3.3.3. I 
> also tested 3.3.1 and it also fails.
> {noformat}
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 11.041 s
> [INFO] Finished at: 2015-08-27T13:33:09+02:00
> [INFO] Final Memory: 35M/294M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.felix:maven-bundle-plugin:2.5.4:manifest (bundle-manifest) on 
> project test: Execution bundle-manifest of goal org.apache.felix:maven-bundl
> e-plugin:2.5.4:manifest failed: Unable to load the mojo 'manifest' (or one of 
> its required components) from the plugin 
> 'org.apache.felix:maven-bundle-plugin:2.5.4': java.util.NoSuc
> hElementException
> [ERROR] role: org.apache.maven.plugin.Mojo
> [ERROR] roleHint: org.apache.felix:maven-bundle-plugin:2.5.4:manifest
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.felix:maven-bundle-plugin:2.5.4:manifest (bundle-manifest) on 
> project test: Execution bund
> le-manifest of goal org.apache.felix:maven-bundle-plugin:2.5.4:manifest 
> failed: Unable to load the mojo 'manifest' (or one of its required 
> components) from the plugin 'org.apache.f
> elix:maven-bundle-plugin:2.5.4'
>         at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
>         at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>         at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>         at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
>         at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>         at 
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>         at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
>         at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
>         at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:497)
>         at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>         at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>         at 
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>         at 
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: org.apache.maven.plugin.PluginExecutionException: Execution 
> bundle-manifest of goal org.apache.felix:maven-bundle-plugin:2.5.4:manifest 
> failed: Unable to load the mojo '
> manifest' (or one of its required components) from the plugin 
> 'org.apache.felix:maven-bundle-plugin:2.5.4'
>         at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:153)
>         at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
>         ... 20 more
> Caused by: org.apache.maven.plugin.PluginContainerException: Unable to load 
> the mojo 'manifest' (or one of its required components) from the plugin 
> 'org.apache.felix:maven-bundle-p
> lugin:2.5.4'
>         at 
> org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:576)
>         at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:121)
>         ... 21 more
> Caused by: 
> org.codehaus.plexus.component.repository.exception.ComponentLookupException: 
> java.util.NoSuchElementException
>       role: org.apache.maven.plugin.Mojo
>   roleHint: org.apache.felix:maven-bundle-plugin:2.5.4:manifest
>         at 
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:267)
>         at 
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255)
>         at 
> org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:543)
>         ... 22 more
> Caused by: java.util.NoSuchElementException
>         at 
> org.eclipse.sisu.plexus.RealmFilteredBeans$FilteredItr.next(RealmFilteredBeans.java:118)
>         at 
> org.eclipse.sisu.plexus.RealmFilteredBeans$FilteredItr.next(RealmFilteredBeans.java:1)
>         at 
> org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:76)
>         at 
> org.eclipse.sisu.plexus.DefaultPlexusBeans$Itr.next(DefaultPlexusBeans.java:1)
>         at 
> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263)
>         ... 24 more
> [ERROR]
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to