On Wed, Jan 7, 2009 at 11:39 PM, Benjamin Bentmann
<[email protected]> wrote:
> 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.

sure, that's possible. you loose the inheritance then though. Then you
need the add the xml file to every project and keep all in sync.

>
> 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.

there is no netbeans maven plugin.

> 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.

might be possible for future versions, however the currently released
IDE does a simple delegation to the project's model only

Milos

>
>
> Benjamin
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>
>

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

    http://xircles.codehaus.org/manage_email


Reply via email to