I have maven-jaxb2-plugin. I generate jaxb objects and refer it in other classes of project.I\'ve put jaxb plugin and compiler plugin under pluginManagement tag. Maven is ex
Yes,
Effectively, 'declaring' your plugins in the right module benefits from a much more compact syntax:
org.apache.maven.plugins
maven-compiler-plugin
org.jvnet.jaxb2.maven2
maven-jaxb2-plugin