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] (MENFORCER-156) Upgrading maven-enforcer-plugin from 1.2 to 1.3 breaks maven-assembly-plugin
Date Tue, 16 Feb 2016 21:31:18 GMT

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

Karl Heinz Marbaise commented on MENFORCER-156:
-----------------------------------------------

Can you please create a separate issue with a reference to this issue instead of using this
issue.

> Upgrading maven-enforcer-plugin from 1.2 to 1.3 breaks maven-assembly-plugin
> ----------------------------------------------------------------------------
>
>                 Key: MENFORCER-156
>                 URL: https://issues.apache.org/jira/browse/MENFORCER-156
>             Project: Maven Enforcer Plugin
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Ubuntu 12.04 fully patched / Maven 3.0.5 / Oracle Java 1.7.0_25
>            Reporter: Wolf Geldmacher
>            Assignee: Robert Scholte
>            Priority: Blocker
>             Fix For: 1.3.1
>
>         Attachments: extjars.xml, pom.xml
>
>
> After upgrading m-e-p from 1.2 to 1.3 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.2 makes the assembly work again.
> Sample pom & assembly that expose the error attached.
> When called via:
>     mvn -Dplugins.maven-enforcer-plugin.version=1.2
> a zip file is generated as expected, when called via
>     mvn -Dplugins.maven-enforcer-plugin.version=1.3
> (or without argument) you will get the NPE.



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

Mime
View raw message