apache / apache/maven-resources-plugin

[MRESOURCES-278] Regression - Changed copy behaviour if file already exists

Open
#354 2 comments 0 reactions 0 assignees View on GitHub
bug priority:critical
Dominant language
Java
Stars
61
Forks
36
Avg merge
1d 1h
Merged PRs (30d)
3

Description

**[Georg Tsakumagos](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=JIRAUSER282043)** opened **[MRESOURCES-278](https://issues.apache.org/jira/browse/MRESOURCES-278?redirect=false)** and commented

With MSHARED-966 the behavior for the maven-resources-plugin changed dramatically.

Now an exception is thown if a file already exists.
Before it was only overwritten if newer and no exception was thrown.

The new behavior breaks many builds. If this new behavior is a feature the plugin site should be updated with a big (!) warning to everyone.

---

**Affects:** 3.3.0

**Issue Links:**
- [MSKINS-235](https://issues.apache.org/jira/browse/MSKINS-235) wrong META-INF/LICENSE and META-INF/NOTICE in release jar
(_**"causes"**_)
- [MSHARED-966](https://issues.apache.org/jira/browse/MSHARED-966) Resources are not copied to ${project.build.outputDirectory}
(_**"is caused by"**_)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.