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 Benedict (JIRA)" <ji...@codehaus.org> on 2014/07/02 15:45:16 UTC

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

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

Paul Benedict updated MNG-4531:
-------------------------------

    Fix Version/s:     (was: Issues to be reviewed for 3.x)

> Add option to use a profile of a dependency
> -------------------------------------------
>
>                 Key: MNG-4531
>                 URL: https://jira.codehaus.org/browse/MNG-4531
>             Project: Maven
>          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 was sent by Atlassian JIRA
(v6.1.6#6162)