tools-maven-plugin

Several small utilities to help build with maven.

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

guru.nidi.maven.plugins
ArtifactId

ArtifactId

tools-maven-plugin
Last Version

Last Version

1.1.1
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

tools-maven-plugin
Several small utilities to help build with maven.

Download tools-maven-plugin

How to add to project

<plugin>
    <groupId>guru.nidi.maven.plugins</groupId>
    <artifactId>tools-maven-plugin</artifactId>
    <version>1.1.1</version>
</plugin>

Dependencies

compile (1)

Group / Artifact Type Version
guru.nidi : build-tools jar 1.1.1

provided (1)

Group / Artifact Type Version
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.3

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

There are no modules declared in this project.

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
1.0.23
1.0.22
1.0.21
1.0.20
1.0.19
1.0.18
1.0.17
1.0.16
1.0.15
1.0.14
1.0.13
1.0.12
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7