Skip to content

Commit

Permalink
fix apache#2600, add javadoc plugin to dubbo-all module
Browse files Browse the repository at this point in the history
  • Loading branch information
diecui1202 committed Oct 8, 2018
1 parent f77c9fc commit 0a14970
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -549,4 +549,43 @@
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven_javadoc_version}</version>
<executions>
<execution>
<id>attach-javadoc</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<doclint>none</doclint>
</configuration>
</execution>
</executions>
<configuration>
<includeDependencySources>true</includeDependencySources>
<dependencySourceIncludes>
<dependencySourceInclude>com.alibaba:dubbo-*</dependencySourceInclude>
<dependencySourceExclude>com.alibaba:hessian-*</dependencySourceExclude>
</dependencySourceIncludes>
<show>public</show>
<charset>UTF-8</charset>
<encoding>UTF-8</encoding>
<docencoding>UTF-8</docencoding>
<links>
<link>http://docs.oracle.com/javase/7/docs/api</link>
</links>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 0a14970

Please sign in to comment.