How to stop maven-remote-resources-plugin from overwritting resources

45 views Asked by At

in my application i have many modules with resources.

project
|
└───moduleA
|   |
│   └───resources
│       │
│       └───fileA
|
└───moduleB
|   |
│   └───resources
│   
└───moduleC
|   |
|   └───resources
|       │
|       |───fileA
|       └───fileB
|
...

In moduleA and moduleB i use maven-remote-resources plugin to include resources (fileA and fileB) from moduleC. If the file with a given name exists in a moduleA or B, it should not be overwritten with the one from moduleC. Files get overwritten by default. How to configure the plugin to avoid that?

0

There are 0 answers