项目作者: nidi3

项目描述 :
高级语言: Java
项目地址: git://github.com/nidi3/build-tools.git
创建时间: 2013-07-07T15:52:19Z
项目社区:https://github.com/nidi3/build-tools

开源协议:Apache License 2.0

下载


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

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

    to the maven tasks.

  3. Usage:

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

As an example, there the dependencies of the project: