You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2010/01/02 16:45:55 UTC

[jira] Closed: (MNG-4441) Profile Activation Regression in Maven3

     [ http://jira.codehaus.org/browse/MNG-4441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MNG-4441.
----------------------------------

    Resolution: Cannot Reproduce
      Assignee: Benjamin Bentmann

Please re-open with a reproducible test case if the issue persists.

> Profile Activation Regression in Maven3
> ---------------------------------------
>
>                 Key: MNG-4441
>                 URL: http://jira.codehaus.org/browse/MNG-4441
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Profiles
>    Affects Versions: 3.0-alpha-3
>            Reporter: Markus Heberling
>            Assignee: Benjamin Bentmann
>         Attachments: pom.xml
>
>
> As written here http://www.sonatype.com/people/2009/11/maven-30-alpha-3-released/#IDComment43056417 I have a problem with profile activation in Maven3.
> I have a profile that activates if target/generated-sources/castor is missing and includes castor in the build process that will create that directory and generate the sources into it.
> If the directory exists and I do mvn clean install, the build fails with maven 3. Maven does not activate the profile since the directory exists at the beginning. But the clean step will delete it of course and so the sources are missing and the build fails. With maven 2 this works.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira