You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Steven Coco (JIRA)" <ji...@codehaus.org> on 2006/10/10 22:09:53 UTC

[jira] Created: (MNG-2597) Profile in POM does not modify dependencies

Profile in POM does not modify dependencies
-------------------------------------------

                 Key: MNG-2597
                 URL: http://jira.codehaus.org/browse/MNG-2597
             Project: Maven 2
          Issue Type: Bug
          Components: Profiles
    Affects Versions: 2.0.4
            Reporter: Steven Coco
         Attachments: artifact.zip

When some plugin is declared in the main build with a given set of

dependencies, some profile which also declares that plugin in its build

section is not able to augment the dependencies: only the dependencies

specified in the main build declaration are used.

A test case is enclosed.

To see the bug: copy the contents of one of "broken-pom-1", "broken-pom-2",
or "working-pom" to the pom.xml file, and then Execute Maven on the POM's
default goal.


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

        

[jira] Closed: (MNG-2597) Profile in POM does not modify dependencies

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2597?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed MNG-2597.
-----------------------------

         Assignee: Brett Porter
       Resolution: Cannot Reproduce
    Fix Version/s:     (was: Reviewed Pending Version Assignment)

works for me in 2.1.0-M1

> Profile in POM does not modify dependencies
> -------------------------------------------
>
>                 Key: MNG-2597
>                 URL: http://jira.codehaus.org/browse/MNG-2597
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Profiles
>    Affects Versions: 2.0.4
>            Reporter: Steven Coco
>            Assignee: Brett Porter
>         Attachments: artifact.zip
>
>
> When some plugin is declared in the main build with a given set of
> dependencies, some profile which also declares that plugin in its build
> section is not able to augment the dependencies: only the dependencies
> specified in the main build declaration are used.
> A test case is enclosed.
> To see the bug: copy the contents of one of "broken-pom-1", "broken-pom-2",
> or "working-pom" to the pom.xml file, and then Execute Maven on the POM's
> default goal.

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