Maven parent pom with slf4j and logback java log libs

Pulls, slf4j, logback, forces version for commons-logging and log4j.

License

License

Categories

Categories

Java Languages
GroupId

GroupId

com.github.akiraly.reusable-poms
ArtifactId

ArtifactId

pom-parent-with-java-log-libs
Last Version

Last Version

4
Release Date

Release Date

Type

Type

pom
Description

Description

Maven parent pom with slf4j and logback java log libs
Pulls, slf4j, logback, forces version for commons-logging and log4j.

Download pom-parent-with-java-log-libs

How to add to project

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

Dependencies

compile (1)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.5

runtime (1)

Group / Artifact Type Version
ch.qos.logback : logback-classic jar 1.0.13

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