Milos Kleint wrote:

[...] The default placement for the rules is an xml
file added to the project, but since version 6.5 inetbeans is also
capable of pulling the formatting settings  form the pom file. [...]  you can 
check the properties and the
compexity added to the pom here:
http://svn.codehaus.org/mojo/trunk/mojo/nbm-maven-plugin/pom.xml

Adding a bunch of IDE specific stuff into the POM doesn't look right to me. If the intention is to keep the formatting rules inside the project's SVN location, one could as well just check in the equivalent XML file.

To share this XML file via a common parent, the NetBeans Maven Plugin could also attach the file as ArtifactMetadata to the main artifact just like the Site Plugin attaches the site.xml for later resolution in sub projects. Though still not sure how nice it is to have the parent deploy IDE-specific stuff.

Another approach could be to add a single property to a POM that gives the URL for the XML file with the formatting.


Benjamin

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to