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

ASF GitHub Bot commented on MENFORCER-322:
------------------------------------------

khmarbaise commented on issue #46: [MENFORCER-322] - requireProfileIdsExist 
triggers if profile is defined at parent
URL: https://github.com/apache/maven-enforcer/pull/46#issuecomment-445535788
 
 
   Lets see what our CI says 
https://builds.apache.org/view/M-R/view/Maven/job/maven-box/job/maven-enforcer/job/MENFORCER-322/

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> 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
>            Priority: Major
>
> 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