Skip to content

Commit 9c154f6

Browse files
committed
We need javadoc for deploying to maven
1 parent e9667a5 commit 9c154f6

1 file changed

Lines changed: 42 additions & 2 deletions

File tree

pom.xml

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,19 @@
6363
</repository>
6464
</distributionManagement>
6565

66+
<reporting>
67+
<plugins>
68+
<plugin>
69+
<groupId>org.apache.maven.plugins</groupId>
70+
<artifactId>maven-javadoc-plugin</artifactId>
71+
<version>2.10.3</version>
72+
<configuration>
73+
<skip>true</skip>
74+
</configuration>
75+
</plugin>
76+
</plugins>
77+
</reporting>
78+
6679
<build>
6780
<plugins>
6881
<plugin>
@@ -90,6 +103,20 @@
90103
</execution>
91104
</executions>
92105
</plugin>
106+
107+
<plugin>
108+
<groupId>org.apache.maven.plugins</groupId>
109+
<artifactId>maven-javadoc-plugin</artifactId>
110+
<version>2.9.1</version>
111+
<executions>
112+
<execution>
113+
<id>attach-javadocs</id>
114+
<goals>
115+
<goal>jar</goal>
116+
</goals>
117+
</execution>
118+
</executions>
119+
</plugin>
93120
<plugin>
94121
<groupId>org.apache.maven.plugins</groupId>
95122
<artifactId>maven-gpg-plugin</artifactId>
@@ -123,7 +150,7 @@
123150
<descriptorRefs>
124151
<descriptorRef>jar-with-dependencies</descriptorRef>
125152
</descriptorRefs>
126-
</configuration>
153+
</configuration>
127154
</plugin>
128155
<plugin>
129156
<groupId>org.apache.maven.plugins</groupId>
@@ -140,7 +167,20 @@
140167
<profile>
141168
<id>release</id>
142169
<build>
143-
<plugins>
170+
<plugins>
171+
<plugin>
172+
<groupId>org.apache.maven.plugins</groupId>
173+
<artifactId>maven-javadoc-plugin</artifactId>
174+
<version>2.9.1</version>
175+
<executions>
176+
<execution>
177+
<id>attach-javadocs</id>
178+
<goals>
179+
<goal>jar</goal>
180+
</goals>
181+
</execution>
182+
</executions>
183+
</plugin>
144184
<plugin>
145185
<groupId>org.apache.maven.plugins</groupId>
146186
<artifactId>maven-source-plugin</artifactId>

0 commit comments

Comments
 (0)