EasyPack Maven Plugin

Maven plugin for building Java applications in tar, zip and tar.gz format.

License

License

Categories

Categories

Maven Build Tools
GroupId

GroupId

com.github.easypack
ArtifactId

ArtifactId

easypack-maven-plugin
Last Version

Last Version

1.0.BETA
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

EasyPack Maven Plugin
Maven plugin for building Java applications in tar, zip and tar.gz format.
Project URL

Project URL

https://github.com/easypack/easypack-maven-plugin
Source Code Management

Source Code Management

https://github.com/easypack/easypack-maven-plugin.git/

Download easypack-maven-plugin

How to add to project

<plugin>
    <groupId>com.github.easypack</groupId>
    <artifactId>easypack-maven-plugin</artifactId>
    <version>1.0.BETA</version>
</plugin>

Dependencies

compile (10)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 3.1.1
org.codehaus.plexus : plexus-utils jar 3.0.8
org.apache.maven : maven-core jar 3.1.1
org.twdata.maven : mojo-executor jar 2.2.0
org.apache.velocity : velocity jar 1.7
org.apache.commons : commons-compress jar 1.9
commons-io : commons-io jar 2.4
commons-lang : commons-lang jar 2.6
org.powermock : powermock-module-junit4 jar 1.6.2
org.powermock : powermock-api-mockito jar 1.6.2

provided (1)

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

test (2)

Group / Artifact Type Version
junit : junit jar 4.12
org.mockito : mockito-all jar 1.10.19

Project Modules

There are no modules declared in this project.

EasyPack Maven Plugin

EasyPack Maven Plugin facilitates the distribution of Java applications in tar, zip and tar.gz formats.

The plugin introduces three new packaging types for using instead of the standard jar and war options. The final artifact is a tar, zip or tar.gz archive that includes the java application.

The pom will look like:

              <groupId>com.my-company</groupId>
              <artifactId>my-app</artifactId>
              <version>1.0-SNAPSHOT<version>
              <packaging> jtar </packaging>
              <groupId>com.my-company</groupId>
              <artifactId>my-app</artifactId>
              <version>1.0-SNAPSHOT<version>
              <packaging> jzip </packaging>
              <groupId>com.my-company</groupId>
              <artifactId>my-app</artifactId>
              <version>1.0-SNAPSHOT<version>
              <packaging> jtargz </packaging>

Features

  • Java applications in tar, zip or tar.gz: the final artifact is in tar, zip or tar.gz format.

  • Start and stop script creation: start and stops scripts for linux and/or windows are automatically created.

  • Dependency management: the project dependencies are automatically included in the final artifact.

  • No deploy of useless artifacts: the jar or war file generated by the standard packagings, is not deployed in the Maven repository as only one artifact, in the required format, is created.

In the Usage page there is a full explanation of how to use the plugin.

Not yet released but

We are testing the plugin in order to release a stable version. But if you want to try it, and help us testing meanwhile, there is a beta version that can be used. The plugin is available at Mave Central Repository so no extra repository configuration is required.

     <groupId>com.github.easypack</groupId>
     <artifactId>easypack-maven-plugin</artifactId>
     <version>1.0.BETA</version>
     <extensions>true</extensions>

Check the Usage page for more information.

com.github.easypack

EasyPack Maven Tools

A series of tools for enhancing Maven features.

Versions

Version
1.0.BETA