[ http://jira.codehaus.org/browse/MNG-2646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_98201 ]
Christian Schulte commented on MNG-2646: ---------------------------------------- Can you please provide an example for having profiles supported for dependent POMs makes problems. Using profiles currently is the only option to influence POMs and that is exactly what I was trying to do (introduce some simple if-then logic to a POM also when used pre-built from a repository). I understand that influencing dependent POMs is not desired at all but don't get the exact reason why. Also I would need to know if I am using profiles in a way they are not meant to be used. > [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