maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Peters (JIRA)" <>
Subject [jira] [Commented] (MJAR-163) maven jar plugin fails if bundle plugin defined in type 'pom'
Date Wed, 19 Oct 2016 10:51:58 GMT


Marco Peters commented on MJAR-163:

I have a similar problem. Till now I've used 2.5 but wanted to switch to 3.0.2.
In the previous version I've used useDefaultManifestFile in the configuration. I was able
to add this into the plugin configuration of the parent pom and all child modules used this
Now I have to use manifestFile but this fails in the parent pom. So I would have to declare
this configuration in each module. Which is pretty redundant. So I have to stick to 2.5.

> maven jar plugin fails if bundle plugin defined in type 'pom'
> -------------------------------------------------------------
>                 Key: MJAR-163
>                 URL:
>             Project: Maven JAR Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: Eric Charles
>         Attachments: pom.xml
> I have the same issue as the one posted here:
> Running 'mvn install' on the attached pom give:
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.4:jar (jar)
on project test: Error assembling JAR: Manifest file: /Users/eric/wrk/spc/aos/test/target/osgi/MANIFEST.MF
does not exist. -> [Help 1]
> Yes, no class to process in a pom, but I would expect maven-jar-plugin to play nice (ignore
the abscence of osgi/... file) in such a case.

This message was sent by Atlassian JIRA

View raw message