Making resources defined in a superpom available to underlying poms.

2007-02-28 Thread Jan-Olav Eide
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

Re: Making resources defined in a superpom available to underlying poms.

2007-02-28 Thread Rémy Sanlaville
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 plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId

RE: Making resources defined in a superpom available to underlying poms.

2007-02-28 Thread Jan-Olav Eide
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 plugin groupIdorg.apache.maven.plugins

Re: Making resources defined in a superpom available to underlying poms.

2007-02-28 Thread Rémy Sanlaville
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