to share a common checkstyle config across modules?
I jar my checkstyle configuration and then store it in an intranet Maven
repository. Projects can then declare a dependency on this jar using the
extensions tag in the build section of pom.xml. For example:
build
extensions
/dependencies
/plugin
Regards,
Chris
-Original Message-
From: Tim Foster [mailto:[EMAIL PROTECTED]
Sent: Friday, May 18, 2007 11:51 AM
To: Maven Users List
Subject: RE: How to share a common checkstyle config across modules?
Thanks, Gerald. This is exactly what I wanted
Newbie here. We have a checkstyle config file that we would like for
all modules within the project hierarchy to use. Our plan was to store
the config file in a 'buildtools' subdirectory at the top of the project
hierarchy and reference it from the top-level pom.xml file as such:
plugin
I jar my checkstyle configuration and then store it in an intranet Maven
repository. Projects can then declare a dependency on this jar using the
extensions tag in the build section of pom.xml. For example:
build
extensions
extension
A few comments:
1. There are numerous software packages available (many free) that
allow you to access a file in SCM with a web url. So you could install
ViewVC or another and still access the file in SCM from a HTTP URL.
2. You can package your Checkstyle configuration in a Jar which you
then