2011-04-12 23:53:40 +02:00
|
|
|
<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">
|
2008-09-01 05:13:32 +02:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2016-02-11 18:47:25 +01:00
|
|
|
|
2011-01-10 23:47:36 +01:00
|
|
|
<parent>
|
2016-02-11 18:47:25 +01:00
|
|
|
<groupId>com.google.code.gson</groupId>
|
|
|
|
<artifactId>gson-parent</artifactId>
|
2021-05-25 01:22:45 +02:00
|
|
|
<version>2.8.8-SNAPSHOT</version>
|
2011-01-10 23:47:36 +01:00
|
|
|
</parent>
|
2016-02-11 18:47:25 +01:00
|
|
|
|
|
|
|
<artifactId>gson</artifactId>
|
|
|
|
<name>Gson</name>
|
|
|
|
|
2008-09-01 05:13:32 +02:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2019-03-25 03:37:09 +01:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.wvengen</groupId>
|
|
|
|
<artifactId>proguard-maven-plugin</artifactId>
|
|
|
|
<version>2.0.14</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2008-09-01 05:13:32 +02:00
|
|
|
</dependencies>
|
2018-05-17 18:41:21 +02:00
|
|
|
|
2008-09-01 05:13:32 +02:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2016-02-11 18:47:25 +01:00
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
2008-09-01 05:13:32 +02:00
|
|
|
<configuration>
|
2016-02-11 18:47:25 +01:00
|
|
|
<includePackageNames>com.google.gson</includePackageNames>
|
|
|
|
<excludePackageNames>com.google.gson.internal:com.google.gson.internal.bind</excludePackageNames>
|
|
|
|
<links>
|
2020-02-17 23:42:27 +01:00
|
|
|
<link>https://docs.oracle.com/javase/6/docs/api/</link>
|
2016-02-11 18:47:25 +01:00
|
|
|
</links>
|
2008-09-01 05:13:32 +02:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2016-02-23 17:25:21 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>biz.aQute.bnd</groupId>
|
|
|
|
<artifactId>bnd-maven-plugin</artifactId>
|
2021-05-14 01:31:27 +02:00
|
|
|
<version>5.3.0</version>
|
2016-02-23 17:25:21 +01:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<goals>
|
|
|
|
<goal>bnd-process</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2017-01-11 19:38:33 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2018-05-17 18:41:21 +02:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>templating-maven-plugin</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>filtering-java-templates</id>
|
|
|
|
<goals>
|
|
|
|
<goal>filter-sources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<sourceDirectory>${basedir}/src/main/java-templates</sourceDirectory>
|
|
|
|
<outputDirectory>${project.build.directory}/generated-sources/java-templates</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-03-25 03:37:09 +01:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.coderplus.maven.plugins</groupId>
|
|
|
|
<artifactId>copy-rename-maven-plugin</artifactId>
|
|
|
|
<version>1.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>pre-obfuscate-class</id>
|
|
|
|
<phase>process-test-classes</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>rename</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<fileSets>
|
|
|
|
<fileSet>
|
|
|
|
<sourceFile>${project.build.directory}/test-classes/com/google/gson/functional/EnumWithObfuscatedTest.class</sourceFile>
|
|
|
|
<destinationFile>${project.build.directory}/test-classes-obfuscated-injar/com/google/gson/functional/EnumWithObfuscatedTest.class</destinationFile>
|
|
|
|
</fileSet>
|
|
|
|
<fileSet>
|
|
|
|
<sourceFile>${project.build.directory}/test-classes/com/google/gson/functional/EnumWithObfuscatedTest$Gender.class</sourceFile>
|
|
|
|
<destinationFile>${project.build.directory}/test-classes-obfuscated-injar/com/google/gson/functional/EnumWithObfuscatedTest$Gender.class</destinationFile>
|
|
|
|
</fileSet>
|
|
|
|
</fileSets>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.wvengen</groupId>
|
|
|
|
<artifactId>proguard-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>process-test-classes</phase>
|
|
|
|
<goals><goal>proguard</goal></goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<proguardVersion>6.0.2</proguardVersion>
|
|
|
|
<obfuscate>true</obfuscate>
|
|
|
|
<injar>test-classes-obfuscated-injar</injar>
|
|
|
|
<outjar>test-classes-obfuscated-outjar</outjar>
|
|
|
|
<inFilter>**/*.class</inFilter>
|
|
|
|
<proguardInclude>${basedir}/testcases-proguard.conf</proguardInclude>
|
|
|
|
<libs>
|
|
|
|
<lib>${project.build.directory}/classes</lib>
|
|
|
|
<lib>${java.home}/jmods/java.base.jmod</lib>
|
|
|
|
</libs>
|
|
|
|
</configuration>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sf.proguard</groupId>
|
|
|
|
<artifactId>proguard-base</artifactId>
|
|
|
|
<version>6.0.2</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<version>2.7</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>post-obfuscate-class</id>
|
|
|
|
<phase>process-test-classes</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${project.build.directory}/test-classes/com/google/gson/functional</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>${project.build.directory}/test-classes-obfuscated-outjar/classes/classes/com/google/gson/functional</directory>
|
|
|
|
<includes>
|
|
|
|
<include>EnumWithObfuscatedTest.class</include>
|
|
|
|
<include>EnumWithObfuscatedTest$Gender.class</include>
|
|
|
|
</includes>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2008-09-01 05:13:32 +02:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</project>
|