maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jochen Wiedmann (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MNG-2301) Maven Archiver deleteing already existing pom.properties file.
Date Sat, 03 Mar 2007 21:39:00 GMT

    [ http://jira.codehaus.org/browse/MNG-2301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_89094
] 

Jochen Wiedmann commented on MNG-2301:
--------------------------------------

Please note MNG-2854 (I have created a new bug report, because my issue is the failing uptodate
check, which isn't necessarily the same problem than here. Additionally, the suggested solutions
are quite different. Nevertheless, it should be possible to close either MNG-2854 (this issue)
or MNG-2301 as a duplicate of the other.

> Maven Archiver deleteing already existing pom.properties file.
> --------------------------------------------------------------
>
>                 Key: MNG-2301
>                 URL: http://jira.codehaus.org/browse/MNG-2301
>             Project: Maven 2
>          Issue Type: Bug
>          Components: maven-archiver
>    Affects Versions: 2.0.4
>            Reporter: Sharmarke Aden
>             Fix For: 2.0.x
>
>         Attachments: maven-archiver_pomDelete.patch
>
>
> My project has it's own pom.properties file and it seems that maven archiver is deleting
it right after packaging the application. Any particular reason why it's doing this? It seems
to me the archiver shouldn't be deleting the file if it already exists. It should delete the
file if it doesn't exists otherwise it should add the necessary information (version, groupId,
etc) to the file and leave it be. I have attached a patch that fixes the issue. 
> Also note that this patch adds the "builtOn" property to the pom.properties which is
satisfy the following enhancement request: http://jira.codehaus.org/browse/MNG-1830 

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

        

Mime
View raw message