• en

Maven Mutli-Project Thoughts and Guidelines

Maven multi-project stucture can get quite difficult to manage once you have a relatively deep hierarchy and more than a few projects. Looking at one such complex structure I found that much of this complexity can be avoided by carefully looking at the relation between...


Creating and using a maven archetype

The best way to create a maven archetype is to start with an existing project. In the maven project (simple or multiple-module) directory execute: mvn archetype:create-from-project The archetype is created under target/generated-sources/archetypes with the following directory structure: +---src +---main +---resources +---archetype-resources ¦ +---src ¦ +---main...