Java Mailing List Archive

http://www.java2.5341.com/

Home » issues.maven »

[jira] Issue Comment Edited: (MRESOURCES-24) Force overwrite
resources defined in profiles

Jan Bartel (JIRA)

2008-10-03


Author LoginPost Reply

  [ http://jira.codehaus.org/browse/MRESOURCES-24?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=149833#action_149833 ]

olamy edited comment on MRESOURCES-24 at 10/3/08 3:31 PM:
-----------------------------------------------------------------

As I'd like to do a resources plugin release soon, can you provide a test case or test with the currrent ?

Thanks !

   was (Author: olamy):
  As I'd like to do a resources plugin soon, can you provide a test case or test with the currrent ?

Thanks !

> Force overwrite resources defined in profiles
> ---------------------------------------------
>
>           Key: MRESOURCES-24
>           URL: http://jira.codehaus.org/browse/MRESOURCES-24
>         Project: Maven 2.x Resources Plugin
>       Issue Type: Improvement
>   Affects Versions: 2.2
>        Reporter: Kees de Kooter
>        Assignee: Olivier Lamy
>         Fix For: 2.3
>
>
> I am using profiles to package for different environments. The profile typically defines a couple of properties files with db and log settings.
> The resource plugin only overwrites files that are changed, so the profile specific resources with the same name are ignored and the wrong resources are packaged.
> I could do a clean first, but that seems a bit of a crude approach.
> I would prefer to have a property like "overwrite=true" on a resource.

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

   
©2008 java2.5341.com - Jax Systems, LLC, U.S.A.