It isn't necessary to put them in repository, but they need only to be 
accessible by an url.

In checkstyle plugin, user can use propertiesURL parameter instead of 
propertiesFile.

Emmanuel

Vincent Massol a écrit :
Hi,

I know this is not slated for Maven 2.0 but I'd like to start a discussion
about how to share common build files between modules.

Example of use cases:
- sharing a checkstyle.xml file
- sharing a LICENSE file
- sharing PMD, findbugs, etc config files
- etc

We don't want to use relative paths as each module should be able to be
built independently of the rest with only a connection to the local
repository.

The only solution I could think of would be to share those common build
files through the local repository.

So we would need to find an elegant (i.e. easy for the user) way to:
- package them in the local repository
- extract them out where they need to be used (in the modules)

This would probably need projects to add a new special "build" module to
their project structure which would contain common build stuff.
BTW if we think more globally, this "build" module could also be the place
where you project would put custom plugins used to build the project.
WDYT?

Thanks
-Vincent


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to