Groovy+Lombok Parent

Parent POM for OSS projects that uses Groovy (mainly for tests) and Lombok.

License

License

MIT
Categories

Categories

Groovy Languages Maven Build Tools Lombok Application Layer Libs Code Generators
GroupId

GroupId

cz.jirutka.maven
ArtifactId

ArtifactId

groovy-lombok-parent
Last Version

Last Version

1.3.2
Release Date

Release Date

Type

Type

pom
Description

Description

Groovy+Lombok Parent
Parent POM for OSS projects that uses Groovy (mainly for tests) and Lombok.
Project URL

Project URL

http://github.com/jirutka/maven-support

Download groovy-lombok-parent

How to add to project

<!-- https://jarcasting.com/artifacts/cz.jirutka.maven/groovy-lombok-parent/ -->
<dependency>
    <groupId>cz.jirutka.maven</groupId>
    <artifactId>groovy-lombok-parent</artifactId>
    <version>1.3.2</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/cz.jirutka.maven/groovy-lombok-parent/
implementation 'cz.jirutka.maven:groovy-lombok-parent:1.3.2'
// https://jarcasting.com/artifacts/cz.jirutka.maven/groovy-lombok-parent/
implementation ("cz.jirutka.maven:groovy-lombok-parent:1.3.2")
'cz.jirutka.maven:groovy-lombok-parent:pom:1.3.2'
<dependency org="cz.jirutka.maven" name="groovy-lombok-parent" rev="1.3.2">
  <artifact name="groovy-lombok-parent" type="pom" />
</dependency>
@Grapes(
@Grab(group='cz.jirutka.maven', module='groovy-lombok-parent', version='1.3.2')
)
libraryDependencies += "cz.jirutka.maven" % "groovy-lombok-parent" % "1.3.2"
[cz.jirutka.maven/groovy-lombok-parent "1.3.2"]

Dependencies

compile (1)

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

provided (1)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.16.6

test (1)

Group / Artifact Type Version
org.codehaus.groovy : groovy jar 2.4.5

Project Modules

There are no modules declared in this project.

Maven Parents

root-parent

Maven Central Dependency Status

This is the root parent with basic plugins and profiles. It automatically checks classpath for duplicate classes with duplicate-finder, checks Java code with checkstyle (rules are defined in checkstyle.xml), runs integration tests, collects metrics for code coverage analysis (when ci profile enabled), deploys sources and JavaDocs in deploy phase etc.

It’s preconfigured to deploy released artifacts to Bintray / jCenter (a pain-free gateway to Maven Central) and snapshots to oss.jfrog.org.

Properties

java.version

Version of JDK to compile sources for (default is 1.7).

slf4j.version

Version of slf4j-api to use.

bintray.repo

A target repository in Bintray for releases, in the format of {username}/{repository} (default is jirutka/maven).

bintray.package

A target package name under the Bintray repository (default is ${project.artifactId}).

Profiles

ci

General profile for CI to analyze code coverage (uses JaCoCo). It is automatically on CI environments (incl. Travis).

travis-ci

Profile for Travis CI to submit code coverage to Coveralls. It’s activated automatically on Travis.

Usage

Add this to the top of your POM:

<parent>
    <groupId>cz.jirutka.maven</groupId>
    <artifactId>root-parent</artifactId>
    <version>1.3.2</version>
</parent>

If you want to use Travis with Coveralls, put .travis.yml to the root of your repository:

language: java
sudo: false
jdk:
  - openjdk7
  - oraclejdk8
script:
  - 'mvn verify -B'
after_success:
  - 'mvn jacoco:report coveralls:jacoco'

groovy-parent

Maven Central Dependency Status

inherits from root-parent

Parent for projects that uses Groovy.

Properties

groovy.version

Version of groovy to use.

groovy-compiler.version

Version of groovy-eclipse-compiler to use.

groovy-batch.version

Version of groovy-eclipse-batch to use.

Usage

Add this to the top of your POM:

<parent>
    <groupId>cz.jirutka.maven</groupId>
    <artifactId>groovy-parent</artifactId>
    <version>1.3.2</version>
</parent>

If you want to use Groovy just in tests, not a production code, then redefine the groovy’s dependency scope:

<dependencies>
    <dependency>
        <groupId>org.codehaus.groovy</groupId>
        <artifactId>groovy</artifactId>
        <scope>test</scope>
    </dependency>
</dependencies>

groovy-lombok-parent

Maven Central Dependency Status

inherits from groovy-parent

Parent for projects that uses Groovy (mainly for tests) and [Lombok] annotation processor.

Properties

lombok.version

Version of lombok to use.

Usage

Add this to the top of your POM:

<parent>
    <groupId>cz.jirutka.maven</groupId>
    <artifactId>groovy-lombok-parent</artifactId>
    <version>1.3.2</version>
</parent>

License

This project is licensed under MIT license.

Versions

Version
1.3.2
1.3.1
1.3.0
1.2.0
1.1.10
1.1.9
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1
1.0