Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] Maven Project Builder always copies all resources

Hi everyone,

I have a maven project with 2.500 resources. Nearly all of the resources are not filtered or processed in any other way. they just need to be copied from the resources folder to target/classes.

m2e configures Eclipse to exclude all the resources from being copied to the target folder, because this task is performed by the Maven Project Builder. Unfortunately the Maven Project Builder copies all the resources each time on every incremental build regardless which file has changed. This leads to performance issues as copying that many files takes up to 3 seconds.

If you would Eclipse do the job, it would be much faster as only the "dirty resources" are copied to target/classes.

Is there any way how to improve the performance?

Kind regards
Oliver


Back to the top