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

Jason van Zyl closed MNG-2646.
------------------------------

    Resolution: Won't Fix

Upon looking at this it's not something we want to do. Profiles affect your 
builds and change the behavior of what you are building. Influencing dependent 
POMs as they are being read with your profiles makes the outcome fairly random.

> [PATCH] MavenProjectBuilder.buildFromRepository(...) does not support profiles
> ------------------------------------------------------------------------------
>
>                 Key: MNG-2646
>                 URL: http://jira.codehaus.org/browse/MNG-2646
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Profiles
>    Affects Versions: 2.0.4
>            Reporter: Christian Schulte
>             Fix For: 2.1.x
>
>         Attachments: profile.patch
>
>
> Currently profiles are not injected into models retrieved from a repository. 
> The attached patch was written against /tags/maven-2.0.4 and should apply 
> cleanly. It adds a ProfileManager parameter to the corresponding 
> MavenProjectBuilder.buildFromRepository(...) methods so that profiles are 
> also injected into models build from a repository.

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

        

Reply via email to