Skip to content

Commit 5687e5d

Browse files
committed
added sources and javadocs.
1 parent b219eb8 commit 5687e5d

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

pom.xml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,41 @@
2626
<target>1.8</target>
2727
</configuration>
2828
</plugin>
29+
<plugin>
30+
<groupId>org.apache.maven.plugins</groupId>
31+
<artifactId>maven-javadoc-plugin</artifactId>
32+
<version>2.10.4</version>
33+
<configuration>
34+
<aggregate>true</aggregate>
35+
<source>1.8</source>
36+
<encoding>UTF-8</encoding>
37+
<maxmemory>1g</maxmemory>
38+
<excludePackageNames>${javadoc.package.exclude}</excludePackageNames>
39+
</configuration>
40+
<executions>
41+
<execution>
42+
<id>attach-javadocs</id>
43+
<phase>verify</phase>
44+
<goals>
45+
<goal>jar</goal>
46+
</goals>
47+
</execution>
48+
</executions>
49+
</plugin>
50+
<plugin>
51+
<groupId>org.apache.maven.plugins</groupId>
52+
<artifactId>maven-source-plugin</artifactId>
53+
<version>3.0.1</version>
54+
<executions>
55+
<execution>
56+
<id>attach-sources</id>
57+
<phase>verify</phase>
58+
<goals>
59+
<goal>jar-no-fork</goal>
60+
</goals>
61+
</execution>
62+
</executions>
63+
</plugin>
2964
</plugins>
3065
</build>
3166

0 commit comments

Comments
 (0)