Build Status

Maven Tools

Maven Tools is a collection of vanilla Java tools to work with Maven Projects and Repositories.

Why: To provide a lightweight way to work with Maven projects and repositories.

Usage

Maven Projects

To perform various operations on Maven Projects (folders which contain a pom.xml file), explore the MavenProject class:

MavenProject JavaDoc

MavenProject.java Source

Maven Local Repository

To perform operations on the local Maven repository, use the methods provided in the MavenLocalRepository class:

MavenLocalRepository JavaDoc

MavenLocalRepository.java Source

Maven Remote Repositories

To work with remote Maven repositories, use methods provided in the MavenRemoteRepository class:

MavenRemoteRepository JavaDoc

MavenRemoteRepository.java Source

Upload Artifacts to Repository using RSync

For uploading artifacts to a remote repository using RSync, use the class MavenRsync.class:

MavenRsync JavaDoc

MavenRsync.java Source

You can define the required parameters for a deployment using the DeploymentParamtersBuilder (JavaDoc, Source).

Maven Dependency

<dependency>
    <groupId>de.mxro.maven.tools</groupId>
    <artifactId>maven-tools</artifactId>
    <version>[latest version]</version>
</dependency>

Find latest version here.

Add repository if required:

<repositories>
    <repository>
        <id>Appjangle Releases</id>
        <url>http://maven.appjangle.com/appjangle/releases</url>
    </repository>
</repositories>

Compatibility

This project is compatible with the following environments:

  • Java 1.6+
  • OSGi (any)

License

Apache 2.0

Further Resources

Documentation Status