You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sylwester Lachiewicz (JIRA)" <ji...@apache.org> on 2017/11/05 22:41:00 UTC

[jira] [Commented] (MENFORCER-248) Upgrading maven-enforcer-plugin to 1.4.1 breaks maven-assembly-plugin

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

Sylwester Lachiewicz commented on MENFORCER-248:
------------------------------------------------

I have tried with Maven 3.5.2 and with plugins updated to latest versions and problem not exists.

[INFO] The following plugin updates are available:
[INFO]   maven-assembly-plugin .................................. 2.4 -> 3.0.0
[INFO]   maven-clean-plugin ................................... 2.4.1 -> 3.0.0
[INFO]   maven-deploy-plugin .................................... 2.7 -> 2.8.2
[INFO]   maven-install-plugin ................................. 2.3.1 -> 2.5.2
[INFO]   maven-site-plugin ........................................ 3.0 -> 3.6

> 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
>            Assignee: Karl Heinz Marbaise
>             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.4.14#64029)