Reusable maven pom parents and archetypes with sensible defaults

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).

License

License

GroupId

GroupId

com.github.akiraly.reusable-poms
ArtifactId

ArtifactId

reusable-poms-parent
Last Version

Last Version

4
Release Date

Release Date

Type

Type

pom
Description

Description

Reusable maven pom parents and archetypes with sensible defaults
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).
Project URL

Project URL

https://github.com/akiraly/reusable-poms
Source Code Management

Source Code Management

https://github.com/akiraly/reusable-poms

Download reusable-poms-parent

Filename Size
reusable-poms-parent-4.pom 10 KB
Browse

How to add to project

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

Dependencies

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

Project Modules

  • db4j
  • pom-parent-with-defaults
  • pom-parent-with-java-log-libs
  • pom-parent-with-java-util-libs
  • pom-parent-with-spring-context
  • pom-parent-with-spring-hibernate-querydsl-core
  • pom-parent-with-spring-hibernate-querydsl
  • simple-java-project-with-util-libs-archetype
  • simple-java-project-with-spring-context-archetype
  • simple-java-project-with-spring-hibernate-querydsl-archetype
  • tomcat-juli-over-slf4j
  • ver4j

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