• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3  <modelVersion>4.0.0</modelVersion>
4
5  <parent>
6    <groupId>org.brotli</groupId>
7    <artifactId>parent</artifactId>
8    <version>0.2.0-SNAPSHOT</version>
9  </parent>
10  <artifactId>dec</artifactId>
11  <version>0.2.0-SNAPSHOT</version>
12  <packaging>jar</packaging>
13
14  <name>${project.groupId}:${project.artifactId}</name>
15
16  <build>
17    <sourceDirectory>../../..</sourceDirectory>
18    <testSourceDirectory>../../..</testSourceDirectory>
19    <plugins>
20      <plugin>
21        <groupId>org.apache.maven.plugins</groupId>
22        <artifactId>maven-compiler-plugin</artifactId>
23        <configuration>
24          <includes>
25            <include>**/dec/*.java</include>
26          </includes>
27          <excludes>
28            <exclude>**/*Test*.java</exclude>
29          </excludes>
30          <testIncludes>
31            <include>**/dec/*Test*.java</include>
32          </testIncludes>
33        </configuration>
34      </plugin>
35      <plugin>
36        <groupId>org.apache.maven.plugins</groupId>
37        <artifactId>maven-source-plugin</artifactId>
38        <version>2.4</version>
39        <executions>
40          <execution>
41            <id>attach-sources</id>
42            <phase>verify</phase>
43            <goals>
44              <goal>jar-no-fork</goal>
45            </goals>
46            <configuration>
47              <includes>
48                <include>**/dec/*.java</include>
49              </includes>
50              <excludes>
51                <exclude>**/*Test*.java</exclude>
52              </excludes>
53            </configuration>
54          </execution>
55        </executions>
56      </plugin>
57      <plugin>
58        <groupId>org.apache.maven.plugins</groupId>
59        <artifactId>maven-javadoc-plugin</artifactId>
60        <version>2.10.4</version>
61        <executions>
62          <execution>
63            <id>attach-javadocs</id>
64            <phase>verify</phase>
65            <goals>
66              <goal>jar</goal>
67            </goals>
68            <configuration>
69              <sourcepath>.</sourcepath>
70              <sourceFileExcludes>
71                <exclude>**/*Test*.java</exclude>
72              </sourceFileExcludes>
73            </configuration>
74          </execution>
75        </executions>
76      </plugin>
77    </plugins>
78  </build>
79
80  <dependencies>
81    <dependency>
82      <groupId>junit</groupId>
83      <artifactId>junit</artifactId>
84      <version>4.12</version>
85      <scope>test</scope>
86    </dependency>
87  </dependencies>
88</project>
89