Skip to content

Commit b008340

Browse files
committed
Added 'release' profile that also build a javadoc jar
1 parent 3a0ac39 commit b008340

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

pom.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,27 @@
114114
</plugin>
115115
</plugins>
116116
</reporting>
117+
118+
<profiles>
119+
<profile>
120+
<id>release</id>
121+
<build>
122+
<plugins>
123+
<plugin>
124+
<artifactId>maven-javadoc-plugin</artifactId>
125+
<version>2.8.1</version>
126+
<executions>
127+
<execution>
128+
<id>attach-javadocs</id>
129+
<goals>
130+
<goal>jar</goal>
131+
</goals>
132+
</execution>
133+
</executions>
134+
</plugin>
135+
</plugins>
136+
137+
</build>
138+
</profile>
139+
</profiles>
117140
</project>

0 commit comments

Comments
 (0)