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

[jira] Created: (MNG-4531) Add option to use a profile of a dependency

Add option to use a profile of a dependency
-------------------------------------------

                 Key: MNG-4531
                 URL: http://jira.codehaus.org/browse/MNG-4531
             Project: Maven 2 & 3
          Issue Type: New Feature
          Components: Dependencies
            Reporter: Paul Gier


Some projects require two or more sets of dependencies with each set contained in a profile.  Unfortunately, it can be difficult to consume the correct dependency set.  It would be useful to have an option to select a profile for a certain dependency.

{code:xml}
<dependency>
  <groupId>org.mycompany</groupId>
  <artifactId>projectA</artifactId>
  <version>1.0</version>
  <profile>jdk1.4</profile>
</dependency>
{code}

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