mojohaus / tidy-maven-plugin

The Tidy plugin provides goals for tidying up your source code.
https://www.mojohaus.org/tidy-maven-plugin/
Apache License 2.0
21 stars 15 forks source link

Modules placement does not work with archetype #32

Open sdempsay opened 5 years ago

sdempsay commented 5 years ago

We have a number of custom archetypes that we use for development, and we were rolling tidy pom into them, but have run into this issue.

In an archetype there is no modules section in the parent pom, it is added during the process, but it is added between and in my case, but tidy pom wants it at the end of the file.

This issue causes our integration test of the archetype to fail.

sdempsay commented 5 years ago

Actually I have my diff inverted, archetype wants at the end, and tidy wants at the beginning.