maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andre Schulz (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MENFORCER-322) requireProfileIdsExist triggers if profile is defined at parent
Date Thu, 29 Nov 2018 14:24:00 GMT
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)

Mime
View raw message