Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-3692

Failing test with failed to execute mojo maven-bundle-plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 11.19.0
    • 11.18.0
    • None
    • None
    • Release Notes
    • Workaround Exists
      • Window -> preferences -> Maven -> Installations -> provide a Maven 3.8 installation
    • Hide
      Projects using an old maven-bundle-plugin requires to specify a Maven installation 3.8-. Typically projects based on Fuse 6.x.

      To change the Maven installation: Window -> preferences -> Maven -> Installations -> provide a Maven 3.8 installation
      Show
      Projects using an old maven-bundle-plugin requires to specify a Maven installation 3.8-. Typically projects based on Fuse 6.x. To change the Maven installation: Window -> preferences -> Maven -> Installations -> provide a Maven 3.8 installation

      Expecting empty but was: [{"Creation time: "=1683008212093L, "charEnd"=4094, "charStart"=4083, "columnEnd"=21, "columnStart"=11, "lineNumber"=124, "message"="Failed to execute mojo org.apache.felix:maven-bundle-plugin:3.2.0:manifest {execution: scr-metadata} (org.apache.felix:maven-bundle-plugin:3.2.0:manifest:scr-metadata:process-classes)
      
      org.eclipse.core.runtime.CoreException: Failed to execute mojo org.apache.felix:maven-bundle-plugin:3.2.0:manifest {execution: scr-metadata}
       at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeMojo(MavenExecutionContext.java:340)
       at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.lambda$0(MavenExecutionContext.java:291)
       at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:394)
       at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:275)
       at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:290)
       at org.eclipse.m2e.core.project.configurator.MojoExecutionBuildParticipant.build(MojoExecutionBuildParticipant.java:57)
       at org.eclipse.m2e.pde.connector.PDEMavenBundlePluginConfigurator$ClasspathSynchronizer.build(PDEMavenBundlePluginConfigurator.java:217)
       at org.eclipse.m2e.core.internal.builder.MavenBuilderImpl.lambda$1(MavenBuilderImpl.java:139)
       at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:721)
       at org.eclipse.m2e.core.internal.builder.MavenBuilderImpl.build(MavenBuilderImpl.java:122)
       at org.eclipse.m2e.core.internal.builder.MavenBuilder$1.method(MavenBuilder.java:164)
       at org.eclipse.m2e.core.internal.builder.MavenBuilder$1.method(MavenBuilder.java:1)
       at org.eclipse.m2e.core.internal.builder.MavenBuilder$BuildMethod.lambda$1(MavenBuilder.java:109)
       at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:394)
       at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:228)
       at org.eclipse.m2e.core.internal.builder.MavenBuilder$BuildMethod.lambda$0(MavenBuilder.java:100)
       at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:394)
       at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:275)
       at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:214)
       at org.eclipse.m2e.core.internal.builder.MavenBuilder$BuildMethod.execute(MavenBuilder.java:83)
       at org.eclipse.m2e.core.internal.builder.MavenBuilder.build(MavenBuilder.java:192)
       at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:1020)
       at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
       at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:247)
       at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:303)
       at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:392)
       at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
       at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:395)
       at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:506)
       at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:454)
       at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:536)
       at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:196)
       at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:289)
       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
      Caused by: org.apache.maven.plugin.PluginExecutionException: Execution scr-metadata of goal org.apache.felix:maven-bundle-plugin:3.2.0:manifest failed.
       at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:148)
       at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeMojo(MavenExecutionContext.java:338)
       ... 33 more
      Caused by: java.lang.NullPointerException
      

              apupier@redhat.com Aurélien Pupier
              apupier@redhat.com Aurélien Pupier
              Dominik Jelínek Dominik Jelínek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: