maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tarik Osman (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (MENFORCER-248) Upgrading maven-enforcer-plugin to 1.4.1 breaks maven-assembly-plugin
Date Fri, 26 Feb 2016 11:10:18 GMT

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

Tarik Osman edited comment on MENFORCER-248 at 2/26/16 11:09 AM:
-----------------------------------------------------------------

This issue seems to be limited to pom projects. A workaround which worked for me was, to include
the enforcer plugin in the bundled jar, war etc. projects, but not to the pom assembly project.
Additionally I have jar projects which are released as assembly and don’t cause any problems.


was (Author: tosman):
This issue only seems to be limited to pom projects. A workaround which worked for me was,
to include the enforcer plugin in the bundled jar, war etc. projects, but not to the pom assembly
project. Additionally I have jar projects which are released as assembly and don’t cause
any problems.

> Upgrading maven-enforcer-plugin to 1.4.1 breaks maven-assembly-plugin
> ---------------------------------------------------------------------
>
>                 Key: MENFORCER-248
>                 URL: https://issues.apache.org/jira/browse/MENFORCER-248
>             Project: Maven Enforcer Plugin
>          Issue Type: Bug
>          Components: Plugin
>            Reporter: Blazej Checinski
>             Fix For: 1.4.1
>
>         Attachments: extjars.xml, pom.xml
>
>
> After upgrading m-e-p from 1.4 to 1.4.1 the maven-assembly-plugin generates the following
error:
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single
(assemble) on project extjars: Execution assemble of goal org.apache.maven.plugins:maven-assembly-plugin:2.4:single
failed. NullPointerException -> [Help 1]
> Downgrading to m-e-p 1.4 makes the assembly work again.
> Sample pom & assembly that expose the error attached.
> When called via:
> mvn -Dplugins.maven-enforcer-plugin.version=1.4
> a zip file is generated as expected, when called via
> mvn -Dplugins.maven-enforcer-plugin.version=1.4.1
> (or without argument) you will get the NPE.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message