> -----Original Message----- > From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] > Sent: jeudi 6 octobre 2005 14:00 > To: Maven Developers List > Subject: Re: [Design] Sharing common build files between modules > > It isn't necessary to put them in repository, but they need only to be > accessible by an url.
Sure but the question is where would you store them... If you imply storing them on the web then I don't think that's good enough for several reasons: 1/ The build files are too "far" from the build sources. I don't think it's a good idea to separate them. 2/ They can only be accessed in online mode which is not good. You must be able to build your project in offline mode. [snip] Thanks -Vincent > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
