Created
January 14, 2015 15:58
-
-
Save jvanzyl/5ef31df4a51e0c488b4d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- Generated by maven-plugin-tools 3.2 on 2015-01-14 --> | |
<plugin> | |
<name>Apache Maven JAR Plugin</name> | |
<description>Builds a Java Archive (JAR) file from the compiled project classes and resources.</description> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-jar-plugin</artifactId> | |
<version>2.6-SNAPSHOT</version> | |
<goalPrefix>jar</goalPrefix> | |
<isolatedRealm>false</isolatedRealm> | |
<inheritedByDefault>true</inheritedByDefault> | |
<mojos> | |
<mojo> | |
<goal>jar</goal> | |
<description>Build a JAR from the current project.</description> | |
<requiresDependencyResolution>runtime</requiresDependencyResolution> | |
<requiresDirectInvocation>false</requiresDirectInvocation> | |
<requiresProject>true</requiresProject> | |
<requiresReports>false</requiresReports> | |
<aggregator>false</aggregator> | |
<requiresOnline>false</requiresOnline> | |
<inheritedByDefault>true</inheritedByDefault> | |
<phase>package</phase> | |
<implementation>org.apache.maven.plugin.jar.JarMojo</implementation> | |
<language>java</language> | |
<instantiationStrategy>per-lookup</instantiationStrategy> | |
<executionStrategy>once-per-session</executionStrategy> | |
<threadSafe>true</threadSafe> | |
<parameters> | |
<parameter> | |
<name>archive</name> | |
<type>org.apache.maven.archiver.MavenArchiveConfiguration</type> | |
<required>false</required> | |
<editable>true</editable> | |
<description>The archive configuration to use. | |
See <a href="http://maven.apache.org/shared/maven-archiver/index.html">Maven Archiver Reference</a>.</description> | |
</parameter> | |
<parameter> | |
<name>classesDirectory</name> | |
<type>java.io.File</type> | |
<required>true</required> | |
<editable>true</editable> | |
<description>Directory containing the classes and resource files that should be packaged into the JAR.</description> | |
</parameter> | |
<parameter> | |
<name>classifier</name> | |
<type>java.lang.String</type> | |
<required>false</required> | |
<editable>true</editable> | |
<description>Classifier to add to the artifact generated. If given, the artifact will be attached. | |
If this is not given,it will merely be written to the output directory | |
according to the finalName.</description> | |
</parameter> | |
<parameter> | |
<name>defaultManifestFile</name> | |
<type>java.io.File</type> | |
<since>2.2</since> | |
<required>true</required> | |
<editable>false</editable> | |
<description>Path to the default MANIFEST file to use. It will be used if | |
<code>useDefaultManifestFile</code> is set to <code>true</code>.</description> | |
</parameter> | |
<parameter> | |
<name>excludes</name> | |
<type>java.lang.String[]</type> | |
<required>false</required> | |
<editable>true</editable> | |
<description>List of files to exclude. Specified as fileset patterns which are relative to the input directory whose contents | |
is being packaged into the JAR.</description> | |
</parameter> | |
<parameter> | |
<name>finalName</name> | |
<alias>jarName</alias> | |
<type>java.lang.String</type> | |
<required>false</required> | |
<editable>true</editable> | |
<description>Name of the generated JAR.</description> | |
</parameter> | |
<parameter> | |
<name>forceCreation</name> | |
<type>boolean</type> | |
<required>false</required> | |
<editable>true</editable> | |
<description>Require the jar plugin to build a new JAR even if none of the contents appear to have changed. | |
By default, this plugin looks to see if the output jar exists and inputs have not changed. | |
If these conditions are true, the plugin skips creation of the jar. This does not work when | |
other plugins, like the maven-shade-plugin, are configured to post-process the jar. | |
This plugin can not detect the post-processing, and so leaves the post-processed jar in place. | |
This can lead to failures when those plugins do not expect to find their own output | |
as an input. Set this parameter to <tt>true</tt> to avoid these problems by forcing | |
this plugin to recreate the jar every time.</description> | |
</parameter> | |
<parameter> | |
<name>includes</name> | |
<type>java.lang.String[]</type> | |
<required>false</required> | |
<editable>true</editable> | |
<description>List of files to include. Specified as fileset patterns which are relative to the input directory whose contents | |
is being packaged into the JAR.</description> | |
</parameter> | |
<parameter> | |
<name>outputDirectory</name> | |
<type>java.io.File</type> | |
<required>true</required> | |
<editable>true</editable> | |
<description>Directory containing the generated JAR.</description> | |
</parameter> | |
<parameter> | |
<name>skipIfEmpty</name> | |
<type>boolean</type> | |
<required>false</required> | |
<editable>true</editable> | |
<description>Skip creating empty archives</description> | |
</parameter> | |
<parameter> | |
<name>useDefaultManifestFile</name> | |
<type>boolean</type> | |
<since>2.2</since> | |
<required>false</required> | |
<editable>true</editable> | |
<description>Set this to <code>true</code> to enable the use of the <code>defaultManifestFile</code>.</description> | |
</parameter> | |
<parameter> | |
<name>project</name> | |
<type>org.apache.maven.project.MavenProject</type> | |
<required>true</required> | |
<editable>false</editable> | |
<description></description> | |
</parameter> | |
<parameter> | |
<name>session</name> | |
<type>org.apache.maven.execution.MavenSession</type> | |
<required>true</required> | |
<editable>false</editable> | |
<description></description> | |
</parameter> | |
</parameters> | |
<configuration> | |
<classesDirectory implementation="java.io.File" default-value="${project.build.outputDirectory}"/> | |
<classifier implementation="java.lang.String" default-value="">${maven.jar.classifier}</classifier> | |
<defaultManifestFile implementation="java.io.File" default-value="${project.build.outputDirectory}/META-INF/MANIFEST.MF"/> | |
<finalName implementation="java.lang.String" default-value="${project.build.finalName}">${jar.finalName}</finalName> | |
<forceCreation implementation="boolean" default-value="false">${jar.forceCreation}</forceCreation> | |
<outputDirectory implementation="java.io.File" default-value="${project.build.directory}"/> | |
<skipIfEmpty implementation="boolean" default-value="false">${jar.skipIfEmpty}</skipIfEmpty> | |
<useDefaultManifestFile implementation="boolean" default-value="false">${jar.useDefaultManifestFile}</useDefaultManifestFile> | |
<project implementation="org.apache.maven.project.MavenProject" default-value="${project}"/> | |
<session implementation="org.apache.maven.execution.MavenSession" default-value="${session}"/> | |
</configuration> | |
<requirements> | |
<requirement> | |
<role>org.codehaus.plexus.archiver.Archiver</role> | |
<role-hint>jar</role-hint> | |
<field-name>jarArchiver</field-name> | |
</requirement> | |
<requirement> | |
<role>org.apache.maven.project.MavenProjectHelper</role> | |
<field-name>projectHelper</field-name> | |
</requirement> | |
</requirements> | |
</mojo> | |
<mojo> | |
<goal>help</goal> | |
<description>Display help information on maven-jar-plugin.<br/> | |
Call <code>mvn jar:help -Ddetail=true -Dgoal=&lt;goal-name&gt;</code> to display parameter details.</description> | |
<requiresDirectInvocation>false</requiresDirectInvocation> | |
<requiresProject>false</requiresProject> | |
<requiresReports>false</requiresReports> | |
<aggregator>false</aggregator> | |
<requiresOnline>false</requiresOnline> | |
<inheritedByDefault>true</inheritedByDefault> | |
<implementation>org.apache.maven.plugin.jar.HelpMojo</implementation> | |
<language>java</language> | |
<instantiationStrategy>per-lookup</instantiationStrategy> | |
<executionStrategy>once-per-session</executionStrategy> | |
<threadSafe>true</threadSafe> | |
<parameters> | |
<parameter> | |
<name>detail</name> | |
<type>boolean</type> | |
<required>false</required> | |
<editable>true</editable> | |
<description>If <code>true</code>, display all settable properties for each goal.</description> | |
</parameter> | |
<parameter> | |
<name>goal</name> | |
<type>java.lang.String</type> | |
<required>false</required> | |
<editable>true</editable> | |
<description>The name of the goal for which to show help. If unspecified, all goals will be displayed.</description> | |
</parameter> | |
<parameter> | |
<name>indentSize</name> | |
<type>int</type> | |
<required>false</required> | |
<editable>true</editable> | |
<description>The number of spaces per indentation level, should be positive.</description> | |
</parameter> | |
<parameter> | |
<name>lineLength</name> | |
<type>int</type> | |
<required>false</required> | |
<editable>true</editable> | |
<description>The maximum length of a display line, should be positive.</description> | |
</parameter> | |
</parameters> | |
<configuration> | |
<detail implementation="boolean" default-value="false">${detail}</detail> | |
<goal implementation="java.lang.String">${goal}</goal> | |
<indentSize implementation="int" default-value="2">${indentSize}</indentSize> | |
<lineLength implementation="int" default-value="80">${lineLength}</lineLength> | |
</configuration> | |
</mojo> | |
<mojo> | |
<goal>test-jar</goal> | |
<description>Build a JAR of the test classes for the current project.</description> | |
<requiresDependencyResolution>test</requiresDependencyResolution> | |
<requiresDirectInvocation>false</requiresDirectInvocation> | |
<requiresProject>true</requiresProject> | |
<requiresReports>false</requiresReports> | |
<aggregator>false</aggregator> | |
<requiresOnline>false</requiresOnline> | |
<inheritedByDefault>true</inheritedByDefault> | |
<phase>package</phase> | |
<implementation>org.apache.maven.plugin.jar.TestJarMojo</implementation> | |
<language>java</language> | |
<instantiationStrategy>per-lookup</instantiationStrategy> | |
<executionStrategy>once-per-session</executionStrategy> | |
<threadSafe>true</threadSafe> | |
<parameters> | |
<parameter> | |
<name>archive</name> | |
<type>org.apache.maven.archiver.MavenArchiveConfiguration</type> | |
<required>false</required> | |
<editable>true</editable> | |
<description>The archive configuration to use. | |
See <a href="http://maven.apache.org/shared/maven-archiver/index.html">Maven Archiver Reference</a>.</description> | |
</parameter> | |
<parameter> | |
<name>defaultManifestFile</name> | |
<type>java.io.File</type> | |
<since>2.2</since> | |
<required>true</required> | |
<editable>false</editable> | |
<description>Path to the default MANIFEST file to use. It will be used if | |
<code>useDefaultManifestFile</code> is set to <code>true</code>.</description> | |
</parameter> | |
<parameter> | |
<name>excludes</name> | |
<type>java.lang.String[]</type> | |
<required>false</required> | |
<editable>true</editable> | |
<description>List of files to exclude. Specified as fileset patterns which are relative to the input directory whose contents | |
is being packaged into the JAR.</description> | |
</parameter> | |
<parameter> | |
<name>finalName</name> | |
<alias>jarName</alias> | |
<type>java.lang.String</type> | |
<required>false</required> | |
<editable>true</editable> | |
<description>Name of the generated JAR.</description> | |
</parameter> | |
<parameter> | |
<name>forceCreation</name> | |
<type>boolean</type> | |
<required>false</required> | |
<editable>true</editable> | |
<description>Require the jar plugin to build a new JAR even if none of the contents appear to have changed. | |
By default, this plugin looks to see if the output jar exists and inputs have not changed. | |
If these conditions are true, the plugin skips creation of the jar. This does not work when | |
other plugins, like the maven-shade-plugin, are configured to post-process the jar. | |
This plugin can not detect the post-processing, and so leaves the post-processed jar in place. | |
This can lead to failures when those plugins do not expect to find their own output | |
as an input. Set this parameter to <tt>true</tt> to avoid these problems by forcing | |
this plugin to recreate the jar every time.</description> | |
</parameter> | |
<parameter> | |
<name>includes</name> | |
<type>java.lang.String[]</type> | |
<required>false</required> | |
<editable>true</editable> | |
<description>List of files to include. Specified as fileset patterns which are relative to the input directory whose contents | |
is being packaged into the JAR.</description> | |
</parameter> | |
<parameter> | |
<name>outputDirectory</name> | |
<type>java.io.File</type> | |
<required>true</required> | |
<editable>true</editable> | |
<description>Directory containing the generated JAR.</description> | |
</parameter> | |
<parameter> | |
<name>skip</name> | |
<type>boolean</type> | |
<required>false</required> | |
<editable>true</editable> | |
<description>Set this to <code>true</code> to bypass unit tests entirely. | |
Its use is <b>NOT RECOMMENDED</b>, but quite convenient on occasion.</description> | |
</parameter> | |
<parameter> | |
<name>skipIfEmpty</name> | |
<type>boolean</type> | |
<required>false</required> | |
<editable>true</editable> | |
<description>Skip creating empty archives</description> | |
</parameter> | |
<parameter> | |
<name>testClassesDirectory</name> | |
<type>java.io.File</type> | |
<required>true</required> | |
<editable>true</editable> | |
<description>Directory containing the test classes and resource files that should be packaged into the JAR.</description> | |
</parameter> | |
<parameter> | |
<name>useDefaultManifestFile</name> | |
<type>boolean</type> | |
<since>2.2</since> | |
<required>false</required> | |
<editable>true</editable> | |
<description>Set this to <code>true</code> to enable the use of the <code>defaultManifestFile</code>.</description> | |
</parameter> | |
<parameter> | |
<name>project</name> | |
<type>org.apache.maven.project.MavenProject</type> | |
<required>true</required> | |
<editable>false</editable> | |
<description></description> | |
</parameter> | |
<parameter> | |
<name>session</name> | |
<type>org.apache.maven.execution.MavenSession</type> | |
<required>true</required> | |
<editable>false</editable> | |
<description></description> | |
</parameter> | |
</parameters> | |
<configuration> | |
<defaultManifestFile implementation="java.io.File" default-value="${project.build.outputDirectory}/META-INF/MANIFEST.MF"/> | |
<finalName implementation="java.lang.String" default-value="${project.build.finalName}">${jar.finalName}</finalName> | |
<forceCreation implementation="boolean" default-value="false">${jar.forceCreation}</forceCreation> | |
<outputDirectory implementation="java.io.File" default-value="${project.build.directory}"/> | |
<skip implementation="boolean">${maven.test.skip}</skip> | |
<skipIfEmpty implementation="boolean" default-value="false">${jar.skipIfEmpty}</skipIfEmpty> | |
<testClassesDirectory implementation="java.io.File" default-value="${project.build.testOutputDirectory}"/> | |
<useDefaultManifestFile implementation="boolean" default-value="false">${jar.useDefaultManifestFile}</useDefaultManifestFile> | |
<project implementation="org.apache.maven.project.MavenProject" default-value="${project}"/> | |
<session implementation="org.apache.maven.execution.MavenSession" default-value="${session}"/> | |
</configuration> | |
<requirements> | |
<requirement> | |
<role>org.codehaus.plexus.archiver.Archiver</role> | |
<role-hint>jar</role-hint> | |
<field-name>jarArchiver</field-name> | |
</requirement> | |
<requirement> | |
<role>org.apache.maven.project.MavenProjectHelper</role> | |
<field-name>projectHelper</field-name> | |
</requirement> | |
</requirements> | |
</mojo> | |
</mojos> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.maven</groupId> | |
<artifactId>maven-plugin-api</artifactId> | |
<type>jar</type> | |
<version>2.0.6</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven</groupId> | |
<artifactId>maven-core</artifactId> | |
<type>jar</type> | |
<version>2.0.6</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven</groupId> | |
<artifactId>maven-settings</artifactId> | |
<type>jar</type> | |
<version>2.0.6</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven.wagon</groupId> | |
<artifactId>wagon-file</artifactId> | |
<type>jar</type> | |
<version>1.0-beta-2</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven</groupId> | |
<artifactId>maven-plugin-parameter-documenter</artifactId> | |
<type>jar</type> | |
<version>2.0.6</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven.wagon</groupId> | |
<artifactId>wagon-http-lightweight</artifactId> | |
<type>jar</type> | |
<version>1.0-beta-2</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven.wagon</groupId> | |
<artifactId>wagon-http-shared</artifactId> | |
<type>jar</type> | |
<version>1.0-beta-2</version> | |
</dependency> | |
<dependency> | |
<groupId>jtidy</groupId> | |
<artifactId>jtidy</artifactId> | |
<type>jar</type> | |
<version>4aug2000r7-dev</version> | |
</dependency> | |
<dependency> | |
<groupId>xml-apis</groupId> | |
<artifactId>xml-apis</artifactId> | |
<type>jar</type> | |
<version>1.0.b2</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven.reporting</groupId> | |
<artifactId>maven-reporting-api</artifactId> | |
<type>jar</type> | |
<version>2.0.6</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven.doxia</groupId> | |
<artifactId>doxia-sink-api</artifactId> | |
<type>jar</type> | |
<version>1.0-alpha-7</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven</groupId> | |
<artifactId>maven-profile</artifactId> | |
<type>jar</type> | |
<version>2.0.6</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven</groupId> | |
<artifactId>maven-model</artifactId> | |
<type>jar</type> | |
<version>2.0.6</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven.wagon</groupId> | |
<artifactId>wagon-provider-api</artifactId> | |
<type>jar</type> | |
<version>1.0-beta-2</version> | |
</dependency> | |
<dependency> | |
<groupId>org.codehaus.plexus</groupId> | |
<artifactId>plexus-container-default</artifactId> | |
<type>jar</type> | |
<version>1.0-alpha-9-stable-1</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven</groupId> | |
<artifactId>maven-repository-metadata</artifactId> | |
<type>jar</type> | |
<version>2.0.6</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven</groupId> | |
<artifactId>maven-error-diagnostics</artifactId> | |
<type>jar</type> | |
<version>2.0.6</version> | |
</dependency> | |
<dependency> | |
<groupId>commons-cli</groupId> | |
<artifactId>commons-cli</artifactId> | |
<type>jar</type> | |
<version>1.0</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven.wagon</groupId> | |
<artifactId>wagon-ssh-external</artifactId> | |
<type>jar</type> | |
<version>1.0-beta-2</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven.wagon</groupId> | |
<artifactId>wagon-ssh-common</artifactId> | |
<type>jar</type> | |
<version>1.0-beta-2</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven</groupId> | |
<artifactId>maven-plugin-descriptor</artifactId> | |
<type>jar</type> | |
<version>2.0.6</version> | |
</dependency> | |
<dependency> | |
<groupId>org.codehaus.plexus</groupId> | |
<artifactId>plexus-interactivity-api</artifactId> | |
<type>jar</type> | |
<version>1.0-alpha-4</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven</groupId> | |
<artifactId>maven-artifact-manager</artifactId> | |
<type>jar</type> | |
<version>2.0.6</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven</groupId> | |
<artifactId>maven-monitor</artifactId> | |
<type>jar</type> | |
<version>2.0.6</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven.wagon</groupId> | |
<artifactId>wagon-ssh</artifactId> | |
<type>jar</type> | |
<version>1.0-beta-2</version> | |
</dependency> | |
<dependency> | |
<groupId>com.jcraft</groupId> | |
<artifactId>jsch</artifactId> | |
<type>jar</type> | |
<version>0.1.27</version> | |
</dependency> | |
<dependency> | |
<groupId>classworlds</groupId> | |
<artifactId>classworlds</artifactId> | |
<type>jar</type> | |
<version>1.1</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven</groupId> | |
<artifactId>maven-project</artifactId> | |
<type>jar</type> | |
<version>2.0.6</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven</groupId> | |
<artifactId>maven-plugin-registry</artifactId> | |
<type>jar</type> | |
<version>2.0.6</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven</groupId> | |
<artifactId>maven-artifact</artifactId> | |
<type>jar</type> | |
<version>2.0.6</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven</groupId> | |
<artifactId>maven-archiver</artifactId> | |
<type>jar</type> | |
<version>2.5</version> | |
</dependency> | |
<dependency> | |
<groupId>org.codehaus.plexus</groupId> | |
<artifactId>plexus-interpolation</artifactId> | |
<type>jar</type> | |
<version>1.15</version> | |
</dependency> | |
<dependency> | |
<groupId>org.codehaus.plexus</groupId> | |
<artifactId>plexus-utils</artifactId> | |
<type>jar</type> | |
<version>3.0.15</version> | |
</dependency> | |
<dependency> | |
<groupId>org.codehaus.plexus</groupId> | |
<artifactId>plexus-archiver</artifactId> | |
<type>jar</type> | |
<version>2.4.4</version> | |
</dependency> | |
<dependency> | |
<groupId>org.codehaus.plexus</groupId> | |
<artifactId>plexus-io</artifactId> | |
<type>jar</type> | |
<version>2.0.10</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.commons</groupId> | |
<artifactId>commons-compress</artifactId> | |
<type>jar</type> | |
<version>1.5</version> | |
</dependency> | |
<dependency> | |
<groupId>org.tukaani</groupId> | |
<artifactId>xz</artifactId> | |
<type>jar</type> | |
<version>1.2</version> | |
</dependency> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<type>jar</type> | |
<version>3.8.2</version> | |
</dependency> | |
</dependencies> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment