Executable java project archetype Simple maven archetype for executable java program. Install maven archetype Run ./mvnw install. This will modify your ~/.m2/repository/archetype-catalog.xml to use this archetype. Use this archetype Run mvn archetype:generate -DarchetypeCatalog=local and select this archetype.