How to create an maven archetype from an existing project


mvn archetype:create-from-project

to create an artefact from an existing project. Have a look in the target folder, where you’ll find the new artefact.

Now a beer! Did you like this post? It often takes me several hours of my free time to write one. If I was your neighbour would you offer me a beer for the hard work I did for you? The beauty is: beers can be teletransported with a painless donation using Paypal. A beer in a Swiss bar costs about USD $4.80. Or use this affiliate link if you order something on Banggood and I'll get a small kickback. Thank you!