hi,
I have a project that is using several profiles. Each profile uses following plugins:
- maven-compiler-plugin
- maven-resources-plugin
- maven-antrun-plugin
- maven-surefire-plugin
- maven-war-plugin
The one markes in bold is however the only plugin where there is a difference between the profiles (different configuration files will be copied using the antrun plugin). The 4 other plugins are configured exactly the same for all profiles.
The question is now: is there some way to include these common plugins only once but still use them for all the profiles by default?
Something like:
<shared><plugin1><plugin2>...</shared>
<profile><plugin3></profile>
<profile><plugin3></profile>
...
thanks,
Stijn