You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Seth Wilcox (Jira)" <ji...@apache.org> on 2022/07/01 18:26:00 UTC
[jira] [Updated] (MWAR-455) Exploded war task fails on second run when file that was previously read only is updated
[ https://issues.apache.org/jira/browse/MWAR-455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Seth Wilcox updated MWAR-455:
-----------------------------
Attachment: stackTrace.txt
> Exploded war task fails on second run when file that was previously read only is updated
> ----------------------------------------------------------------------------------------
>
> Key: MWAR-455
> URL: https://issues.apache.org/jira/browse/MWAR-455
> Project: Maven WAR Plugin
> Issue Type: Bug
> Reporter: Seth Wilcox
> Priority: Major
> Attachments: stackTrace.txt
>
>
> For background, we are using perforce, which marks files as readonly until local modification. As such, when using the exploded target for faster incremental builds, when a file is updated, when the war task attempts to copy the updated resource file, it fails with a accessDenied exception. If the read only flag is cleared on the target, or the target file that is in the way is removed, the issue is fixed. I would propose adding a force/override field akin to ant file copy tasks to allow those of us with this specific issue a path around it, while protecting others who may want the read only flag respected
--
This message was sent by Atlassian Jira
(v8.20.10#820010)