Gary Brown created CAMEL-13386:
----------------------------------
Summary: Error assembling JAR: Manifest file:
/home/camel/camel/target/checkout/parent/target/classes/META-INF/MANIFEST.MF
does not exist
Key: CAMEL-13386
URL: https://issues.apache.org/jira/browse/CAMEL-13386
Project: Camel
Issue Type: Bug
Components: examples
Reporter: Gary Brown
Tried building the 3.0.0-M2 opentracing example, and got:
{noformat}
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{noformat}
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)