Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-13386

Error assembling JAR: Manifest file: /home/camel/camel/target/checkout/parent/target/classes/META-INF/MANIFEST.MF does not exist

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-M2
    • 3.0.0-M3
    • build system, examples
    • None
    • Unknown
    • Regression

    Description

      Tried building the 3.0.0-M2 opentracing example, and got:

      INFO]
      [INFO] --- maven-bundle-plugin:4.1.0:manifest (bundle-manifest) @ camel-example-opentracing-loggingtracer ---
      [WARNING] Manifest org.apache.camel.example:camel-example-opentracing-loggingtracer:jar:3.0.0-M2 : Unused Import-Package instructions: [org.apache.camel.*]
      [INFO]
      [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ camel-example-opentracing-loggingtracer ---
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary for Camel :: Example :: OpenTracing 3.0.0-M2:
      [INFO]
      [INFO] Camel :: Example :: OpenTracing .................... SUCCESS [  1.046 s]
      [INFO] Camel :: Example :: OpenTracing :: LoggingTracer ... FAILURE [  1.596 s]
      [INFO] Camel :: Example :: OpenTracing :: Client .......... SKIPPED
      [INFO] Camel :: Example :: OpenTracing :: Service 1 ....... SKIPPED
      [INFO] Camel :: Example :: OpenTracing :: Service 2 ....... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  3.245 s
      [INFO] Finished at: 2019-04-01T12:24:50+01:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:3.1.1:jar (default-jar) on project camel-example-opentracing-loggingtracer: Error assembling JAR: Manifest file: /home/camel/camel/target/checkout/parent/target/classes/META-INF/MANIFEST.MF does not exist. -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [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/MojoExecutionException
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <goals> -rf :camel-example-opentracing-loggingtracer

      Also got the same error when building in the examples folder, with the camel-example-aggregate example.

      The manifest file path mentioned in the error is included in a file ".flattened-pom.xml" present in many of the examples folder. This file is not present in 3.0.0-M1 which builds fine.

       

       

      Attachments

        Issue Links

          Activity

            People

              zregvart Zoran Regvart
              objectiser Gary Brown
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m