maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael K (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, 01 Mar 2016 17:25:18 GMT

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

Michael K commented on MENFORCER-156:
-------------------------------------

Sorry for the delay.

The bug in our project has been found. It was a problem with inheritance issues. Nothing to
open a ticket for here.

Conclusion:
Set the maven-enforcer-plugin version to 1.4.1 and the maven-assembly-plugin version to 2.6;
check all other plugin version and update them; don't forget to check the effective pom. Should
work.

> 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