maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MNG-1879) Allow dependencies to be defined in external profiles.xml for inclusion at build time when a profile is activated (and allow reuse of profies.xml)
Date Fri, 15 Jun 2007 14:32:58 GMT

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

Brett Porter updated MNG-1879:
------------------------------

    Component/s: Profiles
                 Dependencies

> Allow dependencies to be defined in external profiles.xml for inclusion at build time
when a profile is activated (and allow reuse of profies.xml)
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-1879
>                 URL: http://jira.codehaus.org/browse/MNG-1879
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Dependencies, Profiles
>            Reporter: Rahul Thakur
>             Fix For: 2.1.x
>
>
> Here's a use-case where I believe it would make sense to allow <dependencies> to
be defined for profiles in profiles.xml. 
> Lets says I have a web-project that sets up profiles.xml for target build environments
that it can be deployed on. Target environments can each have
> different J2EE containers. Now this is what happens when I setup my project for builds/deploys.
> 1) Set up a build control project, a minimal pom.xml that has contains SCM connection
to my web-project above.
> 2) checks out profiles.xml first so now the build control project has a minimal pom +
profiles.xml.
> 3) checks out the web-project under ${basedir}/target
> 4) I can activate a particular profile, based on which some operations can be done by
a custom Plugin before an embedded instance of maven is spawned
> and some goals (specific to that profile) are delegated down to the checked out project.

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

        

Mime
View raw message