I have a pom with packaging jar that contains a number of modules
(possibly nested). I have some resources that I want to be available to
all underlying poms . In my case it is a reference to a checkstyle
configuration file, but it could be anything (such as the stylesheet
used for javadoc generati
Hi,
For checkstyle, you can follow this [1]
[1] http://maven.apache.org/plugins/maven-checkstyle-plugin/customize.html
(cf. Use a custom developd Checkstyle Check modules)
or
org.apache.maven.plugins
maven-checkstyle-plugin
2.1
${project.parent.based
resources defined in a superpom available to underlying
poms.
Hi,
For checkstyle, you can follow this [1]
[1] http://maven.apache.org/plugins/maven-checkstyle-plugin/customize.html
(cf. Use a custom developd Checkstyle Check modules)
or
org.apache.maven.plugins
maven
No, you just have to declare it in our parent pom.
Just try to see if it works...
Parent
| --- module1
| --- module2
| --- ...
| --- src
| | --- main
| || --- config
| ||| --- checkstyle.xml
| --- pom.xml
Rémy