Hi,

quick question about MNG-2605: Is the current behavior a feature or a bug?

The problematic code is in ProfilesConversionUtils.java

        if ( profileActivation != null )
        {
            [convert it]
        }
        else
        {
            profile.setActivation( new AlwaysOnActivation() );
        }

which dates back to r189510 [1]. FWIW, a distro with the last line commented still passes our ITs (which admittedly doesn't say too much).

This issue appears to be either a "Won't fix" or a simple one to fix, ready for 2.0.11 and 2.1.0-M2. The docs about profiles [2, 3, 4] I know of seem not to cover this detail so before I take actions, I appreciate comments on the intended behavior here.


Benjamin


This issue
[0] http://jira.codehaus.org/browse/MNG-2605
[1] http://svn.eu.apache.org/viewvc/maven/components/trunk/maven-core/src/main/java/org/apache/maven/model/ModelNormalizationUtils.java?r1=189510&r2=188792&pathrev=189510
[2] http://docs.codehaus.org/display/MAVEN/Build+Profiles
[3] http://maven.apache.org/guides/introduction/introduction-to-profiles.html
[4] http://docs.codehaus.org/display/MAVENUSER/Profiles

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to