Skip to content

Commit 9020028

Browse files
committed
added maven javadoc creation
1 parent 07b80eb commit 9020028

File tree

1 file changed

+25
-6
lines changed

1 file changed

+25
-6
lines changed

pom.xml

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>de.ntcomputer</groupId>
55
<artifactId>controllable-mobs-api</artifactId>
6-
<version>0.0.1-SNAPSHOT</version>
6+
<version>1.6.4.6-SNAPSHOT</version>
77
<name>Controllable Mobs API</name>
88
<url>http://dev.bukkit.org/bukkit-plugins/controllable-mobs-api/</url>
99

1010
<properties>
11+
<maven.compiler.source>1.6</maven.compiler.source>
12+
<maven.compiler.target>1.6</maven.compiler.target>
1113
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1214
<minecraft.version>1.6.4</minecraft.version>
1315
<minecraft_version>1_6_R3</minecraft_version>
@@ -32,7 +34,7 @@
3234

3335
<build>
3436
<plugins>
35-
37+
3638
<plugin>
3739
<groupId>org.apache.maven.plugins</groupId>
3840
<artifactId>maven-jar-plugin</artifactId>
@@ -48,7 +50,7 @@
4850
</archive>
4951
</configuration>
5052
</plugin>
51-
53+
5254
<plugin>
5355
<groupId>com.github.github</groupId>
5456
<artifactId>site-maven-plugin</artifactId>
@@ -73,15 +75,15 @@
7375
</execution>
7476
</executions>
7577
</plugin>
76-
78+
7779
<plugin>
7880
<artifactId>maven-deploy-plugin</artifactId>
7981
<version>2.7</version>
8082
<configuration>
8183
<altDeploymentRepository>internal.repo::default::file://${project.build.directory}/mvn-repo</altDeploymentRepository>
8284
</configuration>
8385
</plugin>
84-
86+
8587
<plugin>
8688
<artifactId>maven-compiler-plugin</artifactId>
8789
<version>3.0</version>
@@ -90,7 +92,24 @@
9092
<target>1.6</target>
9193
</configuration>
9294
</plugin>
93-
95+
96+
<plugin>
97+
<groupId>org.apache.maven.plugins</groupId>
98+
<artifactId>maven-javadoc-plugin</artifactId>
99+
<version>2.9.1</version>
100+
<configuration>
101+
<excludePackageNames>de.ntcomputer.minecraft.controllablemobs.implementation;de.ntcomputer.minecraft.controllablemobs.plugin</excludePackageNames>
102+
</configuration>
103+
<executions>
104+
<execution>
105+
<id>attach-javadocs</id>
106+
<goals>
107+
<goal>jar</goal>
108+
</goals>
109+
</execution>
110+
</executions>
111+
</plugin>
112+
94113
</plugins>
95114
</build>
96115

0 commit comments

Comments
 (0)