| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- | |
| ~ Copyright 2012 AndroidPlot.com | |
| ~ | |
| ~ Licensed under the Apache License, Version 2.0 (the "License"); | |
| ~ you may not use this file except in compliance with the License. | |
| ~ You may obtain a copy of the License at | |
| ~ | |
| ~ http://www.apache.org/licenses/LICENSE-2.0 | |
| ~ | |
| ~ Unless required by applicable law or agreed to in writing, software | |
| ~ distributed under the License is distributed on an "AS IS" BASIS, | |
| ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| ~ See the License for the specific language governing permissions and | |
| ~ limitations under the License. | |
| --> | |
| <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> | |
| <parent> | |
| <groupId>com.androidplot</groupId> | |
| <artifactId>androidplot</artifactId> | |
| <version>0.6.0</version> | |
| </parent> | |
| <artifactId>androidplot-core</artifactId> | |
| <!--<version>${applicationVersion}</version>--> | |
| <name>AndroidPlot-Core</name> | |
| <description>AndroidPlot core library</description> | |
| <profiles> | |
| <profile> | |
| <id>default</id> | |
| <activation> | |
| <activeByDefault>true</activeByDefault> | |
| </activation> | |
| <properties> | |
| <path.to.rt.jar>${java.home}/lib/rt.jar</path.to.rt.jar> | |
| </properties> | |
| </profile> | |
| <profile> | |
| <id>osx</id> | |
| <activation> | |
| <os> | |
| <family>mac</family> | |
| </os> | |
| </activation> | |
| <properties> | |
| <path.to.rt.jar>${java.home}/../Classes/classes.jar</path.to.rt.jar> | |
| </properties> | |
| </profile> | |
| </profiles> | |
| <!--<repositories> | |
| <repository> | |
| <id>central</id> | |
| <name>Maven Central</name> | |
| <url>http://repo1.maven.org/maven2/</url> | |
| </repository></repositories> | |
| --> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-gpg-plugin</artifactId> | |
| <version>1.4</version> | |
| <executions> | |
| <execution> | |
| <id>sign-artifacts</id> | |
| <phase>verify</phase> | |
| <goals> | |
| <goal>sign</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-javadoc-plugin</artifactId> | |
| <version>2.7</version> | |
| <configuration> | |
| <show>public</show> | |
| </configuration> | |
| <executions> | |
| <execution> | |
| <phase>package</phase> | |
| <goals> | |
| <goal>jar</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-source-plugin</artifactId> | |
| <version>2.2</version> | |
| <executions> | |
| <execution> | |
| <phase>package</phase> | |
| <goals> | |
| <goal>jar</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.apache.maven.plugins</groupId> | |
| <artifactId>maven-compiler-plugin</artifactId> | |
| <version>2.0.2</version> | |
| <configuration> | |
| <source>1.6</source> | |
| <target>1.6</target> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <groupId>com.pyx4me</groupId> | |
| <artifactId>proguard-maven-plugin</artifactId> | |
| <version>2.0.4</version> | |
| <executions> | |
| <execution> | |
| <phase>package</phase> | |
| <goals> | |
| <goal>proguard</goal> | |
| </goals> | |
| </execution> | |
| </executions> | |
| <configuration> | |
| <obfuscate>true</obfuscate> | |
| <options> | |
| <option>-allowaccessmodification</option> | |
| <option>-keep public class * {public *;}</option> | |
| <option>-keepclassmembers enum * {public static **[] values();public static ** valueOf(java.lang.String);}</option> | |
| <option>-keepattributes Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,*Annotation*,EnclosingMethod</option> | |
| </options> | |
| <!--<injar>${project.build.finalName}.jar</injar> | |
| <outjar>obfuscated/${project.build.finalName}-release.jar</outjar>--> | |
| <outputDirectory>${project.build.directory}</outputDirectory> | |
| <libs> | |
| <!--<lib>${java.home}/lib/rt.jar</lib>--> | |
| <lib>${path.to.rt.jar}</lib> | |
| </libs> | |
| <addMavenDescriptor>false</addMavenDescriptor> | |
| </configuration> | |
| </plugin> | |
| <plugin> | |
| <artifactId>maven-deploy-plugin</artifactId> | |
| <version>2.7</version> | |
| <inherited>false</inherited> | |
| <configuration> | |
| <skip>false</skip> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| <dependencies> | |
| <dependency> | |
| <groupId>mockit</groupId> | |
| <artifactId>jmockit</artifactId> | |
| <version>0.999.3</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>junit</groupId> | |
| <artifactId>junit</artifactId> | |
| <version>4.8.1</version> | |
| <scope>test</scope> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.google.android</groupId> | |
| <artifactId>android</artifactId> | |
| </dependency> | |
| <!--<dependency> | |
| <groupId>com.google.android</groupId> | |
| <artifactId>android</artifactId> | |
| <version>4.1.1.4</version> | |
| <scope>provided</scope> | |
| </dependency>--> | |
| </dependencies> | |
| </project> |