Maven parent pom with maven default plugins preconfigured

This is a parent pom that contains version and configs for the most widely used maven plugins.

License

License

GroupId

GroupId

com.github.akiraly.reusable-poms
ArtifactId

ArtifactId

pom-parent-with-defaults
Last Version

Last Version

4
Release Date

Release Date

Type

Type

pom
Description

Description

Maven parent pom with maven default plugins preconfigured
This is a parent pom that contains version and configs for the most widely used maven plugins.

Download pom-parent-with-defaults

Filename Size
pom-parent-with-defaults-4.pom 686 bytes
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.akiraly.reusable-poms/pom-parent-with-defaults/ -->
<dependency>
    <groupId>com.github.akiraly.reusable-poms</groupId>
    <artifactId>pom-parent-with-defaults</artifactId>
    <version>4</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.github.akiraly.reusable-poms/pom-parent-with-defaults/
implementation 'com.github.akiraly.reusable-poms:pom-parent-with-defaults:4'
// https://jarcasting.com/artifacts/com.github.akiraly.reusable-poms/pom-parent-with-defaults/
implementation ("com.github.akiraly.reusable-poms:pom-parent-with-defaults:4")
'com.github.akiraly.reusable-poms:pom-parent-with-defaults:pom:4'
<dependency org="com.github.akiraly.reusable-poms" name="pom-parent-with-defaults" rev="4">
  <artifact name="pom-parent-with-defaults" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.github.akiraly.reusable-poms', module='pom-parent-with-defaults', version='4')
)
libraryDependencies += "com.github.akiraly.reusable-poms" % "pom-parent-with-defaults" % "4"
[com.github.akiraly.reusable-poms/pom-parent-with-defaults "4"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

reusable-poms

This project contains reusable maven parent poms and maven project archetypes with sensible defaults, for example pre-configured with the latest maven plugin versions or already defining some common libraries as dependencies (commons-lang, guava, etc).

Howto use the archetypes to generate new projects:

Please replace groupId, artifactId and version values with yours.

Simple java project with basic dependencies (commons-lang, guava,...):

mvn archetype:generate -DarchetypeGroupId=com.github.akiraly.reusable-poms -DarchetypeArtifactId=simple-java-project-with-util-libs-archetype -DarchetypeVersion=4 -DinteractiveMode=false -DgroupId=foo.bar.baz -DartifactId=bar-utils -Dversion=1.0-SNAPSHOT

Simple java project with basic spring deps (+ deps from the previous):

mvn archetype:generate -DarchetypeGroupId=com.github.akiraly.reusable-poms -DarchetypeArtifactId=simple-java-project-with-spring-context-archetype -DarchetypeVersion=4 -DinteractiveMode=false -DgroupId=foo.bar.baz -DartifactId=bar-spring -Dversion=1.0-SNAPSHOT

Simple java project for db related stuff: spring-jdbc, dbcp, h2 (+ deps from the previous ones):

mvn archetype:generate -DarchetypeGroupId=com.github.akiraly.reusable-poms -DarchetypeArtifactId=simple-java-project-with-spring-dbcp-archetype -DarchetypeVersion=4 -DinteractiveMode=false -DgroupId=foo.bar.baz -DartifactId=bar-spring-dbcp -Dversion=1.0-SNAPSHOT

Versions

Version
4
3
2
1