Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-7281

fuse-components should build with 7.0 camel parent

    XMLWordPrintable

Details

    • % %
    • 7.0 Sprint 18

    Description

      fuse-components currently has a camel-2.17 parent:

      <parent>
      <groupId>org.apache.camel</groupId>
      <artifactId>camel-parent</artifactId>
      <version>2.17.0.redhat-630133</version>
      </parent>

      If I update this to a 2.20 build from the pipeline, or try to align with the pipeline version in the build script - I get this error from cleanVersions.

      [WARNING] The requested profile "all" could not be activated because it does not exist.
      [WARNING] The requested profile "enable-schemagen" could not be activated because it does not exist.
      [WARNING] The requested profile "ts.all" could not be activated because it does not exist.
      [WARNING] The requested profile "jaxws22" could not be activated because it does not exist.
      [WARNING] The requested profile "sap" could not be activated because it does not exist.
      [WARNING] The requested profile "quickstarts" could not be activated because it does not exist.
      [WARNING] The requested profile "apt" could not be activated because it does not exist.
      [WARNING] The requested profile "spring3.2" could not be activated because it does not exist.
      [WARNING] The requested profile "jetty9" could not be activated because it does not exist.
      [ERROR] Failed to execute goal org.apache.felix:maven-bundle-plugin:3.3.0:cleanVersions (cleanVersions) on project camel-sap-parent: Execution cleanVersions of goal org.apache.felix:maven-bundle-plugin:3.3.0:cleanVersions failed. NullPointerException -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.felix:maven-bundle-plugin:3.3.0:cleanVersions (cleanVersions) on project camel-sap-parent: Execution cleanVersions of goal org.apache.felix:maven-bundle-plugin:3.3.0:cleanVersions failed.
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
      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:863)
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
      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:498)
      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 cleanVersions of goal org.apache.felix:maven-bundle-plugin:3.3.0:cleanVersions failed.
      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
      ... 20 more
      Caused by: java.lang.NullPointerException
      at java.util.regex.Matcher.getTextLength(Matcher.java:1283)
      at java.util.regex.Matcher.reset(Matcher.java:309)
      at java.util.regex.Matcher.<init>(Matcher.java:229)
      at java.util.regex.Pattern.matcher(Pattern.java:1093)
      at org.apache.maven.shared.osgi.DefaultMaven2OsgiConverter.cleanupVersion(DefaultMaven2OsgiConverter.java:267)
      at org.apache.maven.shared.osgi.DefaultMaven2OsgiConverter.getVersion(DefaultMaven2OsgiConverter.java:249)
      at org.apache.felix.bundleplugin.VersionCleanerPlugin.execute(VersionCleanerPlugin.java:74)
      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
      ... 21 more
      [ERROR]
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [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/PluginExecutionException
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR] mvn <goals> -rf :camel-sap-parent

      Attachments

        Issue Links

          Activity

            People

              bicollin1@redhat.com William Collins (Inactive)
              tcunning@redhat.com Thomas Cunningham
              Tomas Turek Tomas Turek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: