Skip to content

Commit a3d0dc1

Browse files
committed
Added the javadoc plugin. Changed the final name of the jar file.
1 parent c4f3b8c commit a3d0dc1

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

pom.xml

+20-2
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@
118118
</dependencies>
119119

120120
<build>
121-
<finalName>Palmetto</finalName>
122121
<plugins>
123122
<plugin>
124123
<groupId>org.apache.maven.plugins</groupId>
@@ -143,13 +142,32 @@
143142
</archive>
144143
</configuration>
145144
</plugin>
145+
<!-- Javadoc plugin for generating documentation -->
146+
<plugin>
147+
<groupId>org.apache.maven.plugins</groupId>
148+
<artifactId>maven-javadoc-plugin</artifactId>
149+
<version>2.10.1</version>
150+
<configuration>
151+
<show>private</show>
152+
<nohelp>true</nohelp>
153+
</configuration>
154+
<executions>
155+
<execution>
156+
<phase>package</phase>
157+
<goals>
158+
<goal>jar</goal>
159+
</goals>
160+
</execution>
161+
</executions>
162+
</plugin>
163+
<!-- Source plugin for creating source file jar -->
146164
<plugin>
147165
<groupId>org.apache.maven.plugins</groupId>
148166
<artifactId>maven-source-plugin</artifactId>
149167
<version>2.2.1</version>
150168
<executions>
151169
<execution>
152-
<id>attach-sources</id>
170+
<phase>package</phase>
153171
<goals>
154172
<goal>jar</goal>
155173
</goals>

0 commit comments

Comments
 (0)