You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andre Schulz (JIRA)" <ji...@apache.org> on 2018/11/29 14:24:00 UTC

[jira] [Created] (MENFORCER-322) requireProfileIdsExist triggers if profile is defined at parent

Andre Schulz created MENFORCER-322:
--------------------------------------

             Summary: 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


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)