groovy-project-parent

Parent POM for Groovy projects.

License

License

Categories

Categories

Groovy Languages
GroupId

GroupId

org.venutolo
ArtifactId

ArtifactId

groovy-project-parent
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

pom
Description

Description

groovy-project-parent
Parent POM for Groovy projects.
Project URL

Project URL

https://github.com/rvenutolo/groovy-project-parent
Source Code Management

Source Code Management

https://github.com/rvenutolo/groovy-project-parent

Download groovy-project-parent

How to add to project

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

Dependencies

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

Project Modules

  • groovy-project-resources
  • groovy-project-parent-with-config

groovy-project-parent

Build Status Quality Gate License GitHub release

A project containing a few POMs intended as parent POMs for my Groovy projects, plus a resources bundle.

groovy-project-parent

Maven Central Dependency Status

  • Top-level parent POM.
  • Provides a number of properties that define plugin versions, Groovy and Spock versions, and some other configuration values.
  • Provides dependency and plugin versions in dependencyManagement and pluginManagement elements. All versions can be overridden in child POMs by overwriting a property value.
  • Provides a snapshot repository in distributionManagement.
  • Has one configured build plugin, sortpom-maven-plugin, to sort this POM and all inheriting POMs.
<parent>
    <groupId>org.venutolo</groupId>
    <artifactId>groovy-project-parent</artifactId>
    <version>1.1.0</version>
</parent>

groovy-project-parent-with-config

Maven Central Dependency Status

  • Child of groovy-project-parent.
  • Provides default configurations for the plugins defined in the parent POM's pluginManagement section.
  • Does not define any further build plugins.
<parent>
    <groupId>org.venutolo</groupId>
    <artifactId>groovy-project-parent-with-config</artifactId>
    <version>1.1.0</version>
</parent>

groovy-project-parent-with-build

Maven Central Dependency Status

  • Child of groovy-project-parent-with-config.
  • Provides a default build configuration with plugin configurations inherited from groovy-project-parent-with-config.
  • Provides a default site build configuration.
  • Provides a default release profile that adds GPG artifact signing and deploying to OSSRH to the build.
<parent>
    <groupId>org.venutolo</groupId>
    <artifactId>groovy-project-parent-with-build</artifactId>
    <version>1.1.0</version>
</parent>

groovy-project-resources

Maven Central Dependency Status

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-remote-resources-plugin</artifactId>
    <executions>
        <execution>
            <id>get-project-resources</id>
            <goals>
                <goal>process</goal>
            </goals>
            <phase>generate-resources</phase>
            <configuration>
                <resourceBundles>
                    <resourceBundle>org.venutolo:groovy-project-resources:${groovy.project.resources.version}</resourceBundle>
                </resourceBundles>
            </configuration>
        </execution>
        <execution>
            <id>get-site-resources</id>
            <goals>
                <goal>process</goal>
            </goals>
            <phase>pre-site</phase>
            <configuration>
                <resourceBundles>
                    <resourceBundle>org.venutolo:groovy-project-resources:${groovy.project.resources.version}</resourceBundle>
                </resourceBundles>
            </configuration>
        </execution>
    </executions>
</plugin>

Make Release

./mvnw "-Darguments=-Dassembly.skipAssembly -Dmaven.source.skip" -B release:clean release:prepare release:perform

Update Maven Wrapper

Use Maven Wrapper plugin

mvn -N io.takari:maven:wrapper -Dmaven=3.5.0

Download latest scripts

wget https://raw.githubusercontent.com/takari/maven-wrapper/master/mvnw
wget https://raw.githubusercontent.com/takari/maven-wrapper/master/mvnw.cmd

Versions

Version
1.1.0
1.0.5
1.0.3
1.0.2
1.0.1
1.0.0