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 generati

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 org.apache.maven.plugins maven-checkstyle-plugin 2.1 ${project.parent.based

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 org.apache.maven.plugins maven

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