Related: Trouble Shooting

Check installed maven version

mvn -version

If your installed maven version is older than 3.5.3 then it might not support maven tiles. If that is the case upgrade maven or use the maven plugin directly rather than the tile.


Add maven tile

Add the maven tile into the build / plugins section of the pom.xml.

This performs enhancement of the entity beans, @Transactional methods and query beans at build time.

      <!-- other tiles ... -->
Maven enhancement tile

The maven tile above will enhance the code at build time for both src/main and src/test. This is simpler than defining the plugin in the traditional (non-tile) fashion and is the preferred approach.

If you want to specify the maven enhancement plugin in 'normal' non-tile fashion see maven plugin.

Edit Page