1<?xml version="1.0" encoding="UTF-8"?>
2<project
3    xmlns="http://maven.apache.org/POM/4.0.0"
4    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
6    <modelVersion>4.0.0</modelVersion>
7
8    <groupId>net.sf.proguard</groupId>
9    <artifactId>proguard-parent</artifactId>
10    <version>5.1</version>
11    <packaging>pom</packaging>
12    <name>[${project.groupId}] ${project.artifactId}</name>
13    <description>ProGuard is a free Java class file shrinker, optimizer, obfuscator, and preverifier.</description>
14    <url>http://proguard.sourceforge.net/</url>
15
16    <prerequisites>
17        <maven>3</maven>
18    </prerequisites>
19
20    <developers>
21        <developer>
22            <id>lafortune</id>
23            <name>Eric Lafortune</name>
24            <url>http://www.lafortune.eu/</url>
25            <organization>Saikoa</organization>
26            <organizationUrl>http://www.saikoa.com/</organizationUrl>
27            <roles>
28                <role>Project Administrator</role>
29                <role>Developer</role>
30            </roles>
31        </developer>
32    </developers>
33
34    <licenses>
35        <license>
36            <name>GNU General Public License, Version 2</name>
37            <url>http://www.gnu.org/licenses/gpl-2.0.txt</url>
38            <distribution>repo</distribution>
39        </license>
40    </licenses>
41
42    <issueManagement>
43        <system>SourceForge.net Tracker</system>
44        <url>http://sourceforge.net/p/proguard/bugs/</url>
45    </issueManagement>
46
47    <scm>
48        <url>http://hg.code.sf.net/p/proguard/code</url>
49        <connection>scm:hg:http://hg.code.sf.net/p/proguard/code</connection>
50    </scm>
51
52    <properties>
53        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
54    </properties>
55
56    <build>
57        <pluginManagement>
58            <plugins>
59                <plugin>
60                    <groupId>org.apache.maven.plugins</groupId>
61                    <artifactId>maven-jar-plugin</artifactId>
62                    <version>2.4</version>
63                </plugin>
64            </plugins>
65        </pluginManagement>
66
67        <plugins>
68            <plugin>
69                <groupId>org.apache.maven.plugins</groupId>
70                <artifactId>maven-compiler-plugin</artifactId>
71                <version>2.3.2</version>
72                <configuration>
73                    <source>1.5</source>
74                    <target>1.5</target>
75                </configuration>
76            </plugin>
77            <plugin>
78                <groupId>org.apache.maven.plugins</groupId>
79                <artifactId>maven-javadoc-plugin</artifactId>
80                <version>2.8.1</version>
81                <configuration>
82                    <links>
83                        <link>http://download.oracle.com/javase/1.5.0/docs/api/</link>
84                    </links>
85                    <quiet>true</quiet>
86                </configuration>
87                <executions>
88                    <execution>
89                        <id>attach-javadoc</id>
90                        <phase>package</phase>
91                        <goals>
92                            <goal>jar</goal>
93                        </goals>
94                    </execution>
95                </executions>
96            </plugin>
97            <plugin>
98                <groupId>org.apache.maven.plugins</groupId>
99                <artifactId>maven-source-plugin</artifactId>
100                <version>2.1.2</version>
101                <executions>
102                    <execution>
103                        <id>attach-sources</id>
104                        <phase>package</phase>
105                        <goals>
106                            <goal>jar</goal>
107                        </goals>
108                    </execution>
109                </executions>
110            </plugin>
111
112            <plugin>
113                <groupId>org.apache.maven.plugins</groupId>
114                <artifactId>maven-gpg-plugin</artifactId>
115                <version>1.1</version>
116                <executions>
117                    <execution>
118                        <id>sign-artifacts</id>
119                        <phase>verify</phase>
120                        <goals>
121                            <goal>sign</goal>
122                        </goals>
123                    </execution>
124                </executions>
125            </plugin>
126        </plugins>
127    </build>
128
129    <distributionManagement>
130        <repository>
131            <id>sonatype-nexus-staging</id>
132            <name>Nexus Release Repository</name>
133            <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
134        </repository>
135    </distributionManagement>
136
137    <!-- To keep our project layout simple, we're not following the
138         'one Maven way'. Now Maven is inflicting even more redundant
139         redundancy on us. We're stubborn though. -->
140
141    <modules>
142        <module>base</module>
143        <module>gui</module>
144        <module>ant</module>
145        <module>gradle</module>
146        <module>retrace</module>
147    </modules>
148
149    <profiles>
150        <profile>
151            <id>__wtk_plugin_build__</id>
152            <activation>
153                <file>
154                    <exists>${wtk.home}/wtklib/kenv.zip</exists>
155                </file>
156            </activation>
157            <modules>
158                <module>wtk</module>
159            </modules>
160        </profile>
161    </profiles>
162</project>
163