Groovy Parent

Parent POM for FIT CTU's projects that uses Groovy.

License

License

MIT
Categories

Categories

Groovy Languages Maven Build Tools
GroupId

GroupId

cz.cvut.fit.maven
ArtifactId

ArtifactId

groovy-parent
Last Version

Last Version

2.3.1
Release Date

Release Date

Type

Type

pom
Description

Description

Groovy Parent
Parent POM for FIT CTU's projects that uses Groovy.
Project URL

Project URL

https://github.com/cvut/maven-support
Project Organization

Project Organization

FIT CTU in Prague

Download groovy-parent

Filename Size
groovy-parent-2.3.1.pom 4 KB
Browse

How to add to project

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

Dependencies

compile (2)

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

Project Modules

There are no modules declared in this project.

Maven Parents

This repository contains parent POMs for FIT CTU’s projects. All faculty projects should use one of these 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 artifacts to the faculty repository (more info), but it also provides profile bintray-deploy for deploying artifacts to Bintray / jCenter (a pain-free gateway to Maven Central) and sonatype-deploy for deploying artifacts to Sonatype OSS (a painful gateway to Maven Central).

Properties

java.version

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

slf4j.version

Version of slf4j-api to use.

Profiles

ci

General profile for CI to analyze code coverage (uses JaCoCo). It should be activated automatically on CI environments.

travis-ci

Profile for Travis CI to submit code coverage to Coveralls. This profile is for public projects only. It’s activated automatically on Travis.

bintray-deploy

Profile for deploying artifacts to Bintray.

sonatype-deploy

Profile for deploying artifacts to Sonatype OSS.

Usage

Add this to the top of your POM:

<parent>
    <groupId>cz.cvut.fit.maven</groupId>
    <artifactId>root-parent</artifactId>
    <version>2.3.1</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.cvut.fit.maven</groupId>
    <artifactId>groovy-parent</artifactId>
    <version>2.3.1</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.cvut.fit.maven</groupId>
    <artifactId>groovy-lombok-parent</artifactId>
    <version>2.3.1</version>
</parent>

License

This project is licensed under MIT license.

cz.cvut.fit.maven

Czech Technical University

This GitHub organization is currently managed by FIT and FEL, but any other faculty is welcome to join it and propose their admin(s).

Versions

Version
2.3.1
2.2.0
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.0