THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- mandatory: packaging is
maven-plugin
- recommended: lock down the
maven-plugin-
toolsplugin
version (as Maven you use will probably provide you old version, also, without this, your build would depend on Maven version, as it relies on lifecycle mapping provided by Maven tiself)otherwise you depend on version that Maven brings, your build is not reproducible). - recommended: the "required" (minimal) Maven version to run within (this is usually same as Maven version you build against) in POM as
project/prerequisites/maven
field. - recommended: the Maven provided bits should be put in
provided
scope. Recentmaven-plugin-plugin
versions will warn you about this. - mandatory: Maven declare needed dependencies (, minimally required are org.apache.maven:
maven-plugin-api
andorg.apache.maven.plugin-tools:maven-plugin-annotations
(to be able to annotate your Mojos, all the older ways like Javadoc taglets are being deprecated).
We can already see, that we have at least two repeating versions, so they are "potential" properties to lessen duplication:
...