Maven

I have a Maven repository where I have made a few resources publicly available. It is resources that I have found useful when I work for other projects also outside of my own workstation or with projects that I would like to share with others.

To access resources from that repository should it be added to the repositories list in the Maven POM like this:

Alternatively could it be included in an active profile in the Maven user settings file settings.xml like this in which case the repository will be available for any Maven project at that workstation.

 Maven parent POM files

Except these two is my own parent POM se.jonand.maven:mvn-jonand-common-java:<version> which inherits se.jonand.maven:mvn-common-java:<version> with almost no overrides also available.

Archetypes

These archetypes may be used from the command line to create a new Java Maven application with a command like this.

A more comfortable alternative is to install my Maven archetype catalogue as described on the page How to create a new eclipse Maven project and use the archetypes from eclipse.

Maven quickstart application archetype

se.jonand.maven.archetypes:maven-archetype-quickstart:<version>

This is an archetype that creates a single module Maven application project with a POM that inherits from se.jonand.maven:mvn-common-java:<version> which provides a high quality build setup for it.

History

0.01 – 2014-09-02
The initial version of this archetype for se.jonand.maven:mvn-common-java:0.01 and which contained everything not mentioned in any of the next releases below.

0.02 – 2016-02-29
Changed parent POM version to se.jonand.maven:mvn-common-java:0.03.

Maven quickstart project application archetype

se.jonand.maven.archetypes:maven-project-archetype-quickstart:<version>

This is an archetype that creates a single module Maven application project with a POM that inherits from se.jonand.maven:mvn-common-java:<version> which provides a high quality build setup for it. But unlike the archetype above does it configure the distribution list in its POM and its list of repositories with three local Maven repositories for artifacts aimed for project work. This is a way to keep that artifacts apart from other non project related development.

History

0.01 – 2014-09-02
The initial version of this archetype for se.jonand.maven:mvn-common-java:0.01 and which contained everything not mentioned in any of the next releases below.

0.02 – 2016-02-29
Changed parent POM version to se.jonand.maven:mvn-common-java:0.03.