• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    <parent>
8        <groupId>net.sf.proguard</groupId>
9        <artifactId>proguard-parent</artifactId>
10        <version>5.1</version>
11        <relativePath>../pom.xml</relativePath>
12    </parent>
13    <artifactId>proguard-base</artifactId>
14    <name>[${project.groupId}] ${project.artifactId}</name>
15
16    <build>
17        <sourceDirectory>../../../src</sourceDirectory>
18        <plugins>
19            <plugin>
20                <artifactId>maven-source-plugin</artifactId>
21                <configuration>
22                    <excludes>
23                        <exclude>proguard/gui/**</exclude>
24                        <exclude>proguard/ant/**</exclude>
25                        <exclude>proguard/gradle/**</exclude>
26                        <exclude>proguard/wtk/**</exclude>
27                        <exclude>proguard/retrace/**</exclude>
28                    </excludes>
29                </configuration>
30            </plugin>
31            <plugin>
32                <artifactId>maven-compiler-plugin</artifactId>
33                <configuration>
34                    <excludes>
35                        <exclude>proguard/gui/**</exclude>
36                        <exclude>proguard/ant/**</exclude>
37                        <exclude>proguard/gradle/**</exclude>
38                        <exclude>proguard/wtk/**</exclude>
39                        <exclude>proguard/retrace/**</exclude>
40                    </excludes>
41                </configuration>
42            </plugin>
43            <plugin>
44                <artifactId>maven-javadoc-plugin</artifactId>
45                <configuration>
46                    <excludePackageNames>proguard.gui:proguard.ant:proguard.gradle:proguard.wtk:proguard.retrace</excludePackageNames>
47                    <!-- sourceFileExcludes doesn't seem to work, so we're using excludePackageNames -->
48                    <sourceFileExcludes>
49                        <sourceFileExclude>proguard/gui/**</sourceFileExclude>
50                        <sourceFileExclude>proguard/ant/**</sourceFileExclude>
51                        <sourceFileExclude>proguard/gradle/**</sourceFileExclude>
52                        <sourceFileExclude>proguard/wtk/**</sourceFileExclude>
53                        <sourceFileExclude>proguard/retrace/**</sourceFileExclude>
54                    </sourceFileExcludes>
55                </configuration>
56            </plugin>
57            <plugin>
58                <artifactId>maven-jar-plugin</artifactId>
59                <configuration>
60                    <archive>
61                        <manifest>
62                            <mainClass>proguard.ProGuard</mainClass>
63                        </manifest>
64                    </archive>
65                </configuration>
66            </plugin>
67        </plugins>
68    </build>
69</project>
70