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

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

Done in 
[91066895050b9fbc41e7f79370b24d744eed10fa|https://gitbox.apache.org/repos/asf?p=maven-enforcer.git;a=commitdiff;h=91066895050b9fbc41e7f79370b24d744eed10fa]

> requireProfileIdsExist triggers if profile is defined at parent
> ---------------------------------------------------------------
>
>                 Key: MENFORCER-322
>                 URL: https://issues.apache.org/jira/browse/MENFORCER-322
>             Project: Maven Enforcer Plugin
>          Issue Type: Bug
>          Components: Standard Rules
>    Affects Versions: 3.0.0-M2
>            Reporter: Andre Schulz
>            Assignee: Karl Heinz Marbaise
>            Priority: Major
>             Fix For: 3.0.0
>
>
> If a profile is defined at a parent POM the maven-enforcer-plugin fails the 
> build if requireProfileIdsExist is used.
> Transitive profiles should be also respected, since they are used during 
> build.
> Example:
> profile from parent: RUN
> profile from self: DEV
> build parameters: -P RUN,DEV
> {code:java}
> [WARNING] Rule 0: org.apache.maven.plugins.enforcer.RequireProfileIdsExist 
> faile
> d with message:
> The requested profile doesn't exist: RUN
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to