diecui1202 closed pull request #2602: fix #2600, add javadoc plugin to
dubbo-all module
URL: https://github.com/apache/incubator-dubbo/pull/2602
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/all/pom.xml b/all/pom.xml
index edda11c3eb..3988449387 100644
--- a/all/pom.xml
+++ b/all/pom.xml
@@ -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>
\ No newline at end of file
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services