You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (JIRA)" <ji...@apache.org> on 2018/12/11 18:27:00 UTC
[jira] [Closed] (MENFORCER-322) requireProfileIdsExist triggers if
profile is defined at parent
[ https://issues.apache.org/jira/browse/MENFORCER-322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Heinz Marbaise closed MENFORCER-322.
-----------------------------------------
Resolution: Done
> 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)