You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/09/16 03:13:03 UTC

[jira] Commented: (MNG-895) Profile resources not merged with main POM

    [ http://jira.codehaus.org/browse/MNG-895?page=comments#action_46471 ] 

Brett Porter commented on MNG-895:
----------------------------------

this is by design so that it matches inheritence. Probably needs to be discussed on the developer list if it is proposed that we change inheritence to merge resource lists.

> Profile resources not merged with main POM
> ------------------------------------------
>
>          Key: MNG-895
>          URL: http://jira.codehaus.org/browse/MNG-895
>      Project: Maven 2
>         Type: Bug
>     Versions: 2.0-beta-1
>     Reporter: Mark Hobson

>
>
> Profile resources are not merged with resources specified in the main POM, e.g.:
> <project>
>  ...
>  <build>
>    <resources>
>      <resource>a</resource>
>    </resources>
>  </build>
>  <profiles>
>    <profile>
>      ...
>      <build>
>        <resources>
>          <resource>b</resource>
>        </resources>
>      </build>
>      ...
>    </profile>
>  </profiles>
>  ...
> </project>
> The effective resources block should consist of both 'a' and 'b' when the profile is activated, but currently 'b' overrides 'a'.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org