<?xml version="1.0" encoding="UTF-8"?> | |
<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/maven-v4_0_0.xsd"> | |
<parent> | |
<artifactId>oss-parent</artifactId> | |
<groupId>org.sonatype.oss</groupId> | |
<version>7</version> | |
<relativePath>../pom.xml/pom.xml</relativePath> | |
</parent> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.squareup.haha</groupId> | |
<artifactId>haha</artifactId> | |
<name>Headless Android Heap Analyzer</name> | |
<version>2.0.3</version> | |
<description>Java library to automate the analysis of Android heap dumps.</description> | |
<url>https://github.com/square/haha</url> | |
<issueManagement> | |
<system>GitHub Issues</system> | |
<url>http://github.com/square/haha/issues</url> | |
</issueManagement> | |
<inceptionYear>2015</inceptionYear> | |
<developers> | |
<developer> | |
<name>Pierre-Yves Ricau</name> | |
<email>py@squareup.com</email> | |
<organization>Square, Inc.</organization> | |
<organizationUrl>https://squareup.com</organizationUrl> | |
</developer> | |
</developers> | |
<licenses> | |
<license> | |
<name>Apache 2</name> | |
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | |
<distribution>repo</distribution> | |
</license> | |
</licenses> | |
<scm> | |
<connection>scm:git:https://github.com/square/haha.git</connection> | |
<developerConnection>scm:git:git@github.com:square/haha.git</developerConnection> | |
<tag>haha-2.0.3</tag> | |
<url>https://github.com/square/haha</url> | |
</scm> | |
<organization> | |
<name>Square, Inc.</name> | |
<url>http://squareup.com</url> | |
</organization> | |
<build> | |
<plugins> | |
<plugin> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<version>3.1</version> | |
<configuration> | |
<source>${java.version}</source> | |
<target>${java.version}</target> | |
</configuration> | |
</plugin> | |
<plugin> | |
<artifactId>maven-release-plugin</artifactId> | |
<version>2.5</version> | |
<configuration> | |
<autoVersionSubmodules>true</autoVersionSubmodules> | |
<useReleaseProfile>false</useReleaseProfile> | |
<releaseProfiles>release</releaseProfiles> | |
<goals>deploy</goals> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.sonatype.plugins</groupId> | |
<artifactId>nexus-staging-maven-plugin</artifactId> | |
<version>1.6.3</version> | |
<extensions>true</extensions> | |
<configuration> | |
<serverId>ossrh</serverId> | |
<nexusUrl>https://oss.sonatype.org/</nexusUrl> | |
<autoReleaseAfterClose>true</autoReleaseAfterClose> | |
</configuration> | |
</plugin> | |
<plugin> | |
<artifactId>maven-source-plugin</artifactId> | |
<version>2.1.2</version> | |
<executions> | |
<execution> | |
<id>attach-sources</id> | |
<phase>package</phase> | |
<goals> | |
<goal>jar-no-fork</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<artifactId>maven-shade-plugin</artifactId> | |
<version>2.4.1</version> | |
<executions> | |
<execution> | |
<phase>package</phase> | |
<goals> | |
<goal>shade</goal> | |
</goals> | |
</execution> | |
</executions> | |
<configuration> | |
<minimizeJar>true</minimizeJar> | |
<createSourcesJar>true</createSourcesJar> | |
<shadeSourcesContent>true</shadeSourcesContent> | |
<relocations> | |
<relocation> | |
<pattern>com.google.common</pattern> | |
<shadedPattern>com.squareup.haha.guava</shadedPattern> | |
</relocation> | |
<relocation> | |
<pattern>gnu.trove</pattern> | |
<shadedPattern>com.squareup.haha.trove</shadedPattern> | |
</relocation> | |
<relocation> | |
<pattern>com.android.annotations</pattern> | |
<shadedPattern>com.squareup.haha.annotations</shadedPattern> | |
</relocation> | |
<relocation> | |
<pattern>com.android.tools.perflib.heap</pattern> | |
<shadedPattern>com.squareup.haha.perflib</shadedPattern> | |
</relocation> | |
</relocations> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>com.github.wvengen</groupId> | |
<artifactId>proguard-maven-plugin</artifactId> | |
<version>2.0.10</version> | |
<executions> | |
<execution> | |
<phase>package</phase> | |
<goals> | |
<goal>proguard</goal> | |
</goals> | |
</execution> | |
</executions> | |
<dependencies> | |
<dependency> | |
<groupId>net.sf.proguard</groupId> | |
<artifactId>proguard-base</artifactId> | |
<version>5.2.1</version> | |
<scope>runtime</scope> | |
</dependency> | |
</dependencies> | |
<configuration> | |
<proguardVersion>5.2.1</proguardVersion> | |
<obfuscate>false</obfuscate> | |
<options> | |
<option>-allowaccessmodification</option> | |
<option>-keep,includedescriptorclasses class com.squareup.haha.perflib.** { *; }</option> | |
<option>-keep,includedescriptorclasses class com.squareup.haha.trove.THashMap { *; }</option> | |
<option>-dontwarn javax.annotation.**</option> | |
<option>-optimizations !code/allocation/variable</option> | |
<option>-keepnames class com.squareup.haha.guava.collect.Iterables</option> | |
</options> | |
<libs> | |
<lib>${java.home}/lib/rt.jar</lib> | |
</libs> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
<profiles> | |
<profile> | |
<id>release</id> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>exec-maven-plugin</artifactId> | |
<version>1.5.0</version> | |
<executions> | |
<execution> | |
<id>git submodule update</id> | |
<phase>initialize</phase> | |
<goals> | |
<goal>exec</goal> | |
</goals> | |
<configuration> | |
<executable>git</executable> | |
<arguments> | |
<argument>submodule</argument> | |
<argument>update</argument> | |
<argument>--init</argument> | |
<argument>--recursive</argument> | |
</arguments> | |
</configuration> | |
</execution> | |
</executions> | |
<inherited>false</inherited> | |
</plugin> | |
<plugin> | |
<artifactId>maven-javadoc-plugin</artifactId> | |
<version>2.10.1</version> | |
<executions> | |
<execution> | |
<id>attach-javadocs</id> | |
<goals> | |
<goal>jar</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<artifactId>maven-source-plugin</artifactId> | |
<version>2.2.1</version> | |
<executions> | |
<execution> | |
<id>attach-sources</id> | |
<goals> | |
<goal>jar-no-fork</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<artifactId>maven-gpg-plugin</artifactId> | |
<version>1.5</version> | |
<executions> | |
<execution> | |
<id>sign-artifacts</id> | |
<phase>verify</phase> | |
<goals> | |
<goal>sign</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</profile> | |
</profiles> | |
<distributionManagement> | |
<snapshotRepository> | |
<id>ossrh</id> | |
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | |
</snapshotRepository> | |
</distributionManagement> | |
<properties> | |
<java.version>1.6</java.version> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
</properties> | |
</project> | |