build-tools-parent

Several small utilities to help the build process.

License

License

Categories

Categories

Build Tools
GroupId

GroupId

guru.nidi
ArtifactId

ArtifactId

build-tools-parent
Last Version

Last Version

1.1.1
Release Date

Release Date

Type

Type

pom
Description

Description

build-tools-parent
Several small utilities to help the build process.
Project URL

Project URL

https://github.com/nidi3/build-tools
Source Code Management

Source Code Management

https://github.com/nidi3/build-tools

Download build-tools-parent

How to add to project

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

Dependencies

test (3)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-engine jar 5.1.0
org.junit.jupiter : junit-jupiter-api jar 5.1.0
org.apiguardian : apiguardian-api jar 1.0.0

Project Modules

  • build-tools
  • tools-maven-plugin

maven-tools

Build Status codecov License

Contains some goals to support maven builds.

  • confirmation: A simple confirmation dialog (yes/no).
  • consoleInput: Set a property to a value given interactively.
  • setProperty: Set java runtime properties.
  • runSpring: Startup / shutdown a spring container.
  • runMain: Run any main method.
  • dependency: Create a graphical view of the dependencies of a project.
  • backport7to6: Make a project compiled with Java 7 runnable on Java 6.
  • startMySql: Start a docker container with MySQL, execute any SQL scripts on it.
  • stopMySql: Stop a docker container running MySQL
  • An ssh tunnel ant task to be used together with the antrun plugin:
  1. Add this plugin to the dependencies of the antrun plugin.

  2. Add

     <taskdef name="sshtunnel" classname="SSHTunnel"
         classpathref="maven.plugin.classpath" />
    

to the maven tasks.

  1. Usage:

     <sshtunnel host="${tunnel.host}" username="..." password="..." lport="2222"
         rport="22" rhost="${target.host}">
         <!-- tasks to use the tunnel -->
     </sshtunnel>
    

As an example, there the dependencies of the project:

Versions

Version
1.1.1
1.1.0