On Wed, Feb 24, 2010 at 8:00 PM, Nick Stolwijk <[email protected]> wrote: > Hi all, > > We have a multitude of components and projects all build with maven > and we want to enforce some standard layout for the pom files, like > the ordering of the elements(like the ordering in the schema) and > forbidding some elements (like company and url, there are already set > in the company pom). > > So 2 questions: > - Is there a maven/eclipse/netbeans plugin which can sort pom (xml) > files based on their schema? > - Is there an enforcer plugin who can enforce the ordering of the > elements and forbidding some elements.
You can also attempt to use http://maven.apache.org/enforcer/enforcer-rules/index.html But that might not be quite what you are after. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
