You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Zoran Regvart (JIRA)" <ji...@apache.org> on 2019/04/16 10:29:00 UTC
[jira] [Resolved] (CAMEL-13386) Error assembling JAR: Manifest
file:
/home/camel/camel/target/checkout/parent/target/classes/META-INF/MANIFEST.MF
does not exist
[ https://issues.apache.org/jira/browse/CAMEL-13386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zoran Regvart resolved CAMEL-13386.
-----------------------------------
Resolution: Fixed
[~objectiser] we baked in some build system specific properties into the POM files so this caused the OSGI support to look for MANIFEST.MF files in {{/home/camel}}. I just merged additional refinements to flattened POMs that I think should fix the issue.
> 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
> Assignee: Zoran Regvart
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)