maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Heinz Marbaise (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MJAR-163) maven jar plugin fails if bundle plugin defined in type 'pom'
Date Fri, 22 Dec 2017 18:59:00 GMT

    [ https://issues.apache.org/jira/browse/MJAR-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16301813#comment-16301813
] 

Karl Heinz Marbaise commented on MJAR-163:
------------------------------------------

The solution to define configuration in the parent is to use pluginManagement...

> maven jar plugin fails if bundle plugin defined in type 'pom'
> -------------------------------------------------------------
>
>                 Key: MJAR-163
>                 URL: https://issues.apache.org/jira/browse/MJAR-163
>             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:
> http://markmail.org/message/mjsn2xozkcesethl
> 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
(v6.4.14#64029)

Mime
View raw message