Created
July 18, 2013 16:13
-
-
Save kc7zzv/6030659 to your computer and use it in GitHub Desktop.
Proguard example pom.xml
This file contains 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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>edu.emory.mathcs</groupId> | |
<artifactId>JTransforms</artifactId> | |
<version>2.5-SNAPSHOT</version> | |
<packaging>jar</packaging> | |
<name>JTransforms</name> | |
<description>JTransforms is the first, open source, multithreaded FFT library written in pure Java.</description> | |
<url>http://sites.google.com/site/piotrwendykier/software/jtransforms</url> | |
<licenses> | |
<license> | |
<name>GNU General Public License version 2.0 (GPLv2)</name> | |
<url>http://www.gnu.org/licenses/gpl-2.0.html</url> | |
<distribution>repo</distribution> | |
<comments>The first copyleft license for general use</comments> | |
</license> | |
<license> | |
<name>GNU Library or Lesser General Public License version 2.0 (LGPLv2)</name> | |
<url>http://www.gnu.org/licenses/lgpl-2.0.html</url> | |
<distribution>repo</distribution> | |
<comments>This license is intended to permit developers of non-free programs to use free libraries, while preserving your freedom as a user of such programs to change the free libraries that are incorporated in them</comments> | |
</license> | |
<license> | |
<name>Mozilla Public License 1.1 (MPL 1.1)</name> | |
<url>http://www.mozilla.org/MPL/1.1/</url> | |
<distribution>repo</distribution> | |
<comments>The MPL's "file-level" copyleft is designed to encourage contributors to share modifications they make to your code, while still allowing them to combine your code with code under other licenses (open or proprietary) with minimal restrictions.</comments> | |
</license> | |
</licenses> | |
<properties> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
</properties> | |
<build> | |
<sourceDirectory>target/checkout/src</sourceDirectory> | |
<testSourceDirectory>target/checkout/test</testSourceDirectory> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>2.3.2</version> | |
<configuration> | |
<showDeprecation>true</showDeprecation> | |
<showWarnings>true</showWarnings> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>2.10</version> | |
<configuration> | |
<!--<parallel>classes</parallel>--> | |
<argLine>-Xmx4g -Xms1g</argLine> | |
<testFailureIgnore>true</testFailureIgnore> | |
<skipTests>true</skipTests> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-source-plugin</artifactId> | |
<version>2.1.2</version> | |
<executions> | |
<execution> | |
<id>attach-sources</id> | |
<goals> | |
<goal>jar</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-javadoc-plugin</artifactId> | |
<version>2.8</version> | |
<configuration> | |
<quiet>true</quiet> | |
</configuration> | |
<executions> | |
<execution> | |
<id>attach-javadocs</id> | |
<goals> | |
<goal>jar</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<!-- Do not filter resources --> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-resources-plugin</artifactId> | |
<version>2.5</version> | |
<configuration> | |
<useBuildFilters>false</useBuildFilters> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-scm-plugin</artifactId> | |
<version>1.1</version> | |
<executions> | |
<execution> | |
<phase>initialize</phase> | |
<goals> | |
<goal>checkout</goal> | |
</goals> | |
</execution> | |
</executions> | |
<configuration> | |
<excludes>/lib</excludes> | |
</configuration> | |
</plugin> | |
<plugin> | |
<version>2.0.6</version> | |
<groupId>com.github.wvengen</groupId> | |
<artifactId>proguard-maven-plugin</artifactId> | |
<!-- <version>2.0.4</version> | |
<groupId>com.pyx4me</groupId> | |
<artifactId>proguard-maven-plugin</artifactId>--> | |
<executions> | |
<execution> | |
<phase>package</phase> | |
<goals><goal>proguard</goal></goals> | |
</execution> | |
</executions> | |
<configuration> | |
<obfuscate>false</obfuscate> | |
<injar>${project.build.finalName}.jar</injar> | |
<outjar>${project.build.finalName}.jar</outjar> | |
<outputDirectory>${project.build.directory}</outputDirectory> | |
<proguardInclude>${basedir}/proguard.conf</proguardInclude> | |
<libs> | |
<lib>${java.home}/lib/rt.jar</lib> | |
</libs> | |
<proguardVersion>4.8</proguardVersion> | |
</configuration> | |
<dependencies> | |
<dependency> | |
<groupId>net.sf.proguard</groupId> | |
<artifactId>proguard-base</artifactId> | |
<version>4.8</version> | |
<scope>runtime</scope> | |
</dependency> | |
</dependencies> | |
</plugin> | |
</plugins> | |
<testResources> | |
<testResource> | |
<directory>target/checkout/resources</directory> | |
</testResource> | |
</testResources> | |
</build> | |
<dependencies> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>4.8.2</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
<scm> | |
<connection>scm:svn:https://jtransforms.svn.sourceforge.net/svnroot/jtransforms/trunk</connection> | |
<developerConnection>scm:svn:https://jtransforms.svn.sourceforge.net/svnroot/jtransforms/trunk</developerConnection> | |
<tag>trunk</tag> | |
<url>http://jtransforms.svn.sourceforge.net/viewvc/jtransforms/trunk/</url> | |
</scm> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment