diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2016-04-12 14:10:23 +0300 |
---|---|---|
committer | Teemu Suo-Anttila <teemusa@vaadin.com> | 2016-04-13 10:13:43 +0300 |
commit | 2beb030674199b9568a7d3bdb4ab3b31ec10752d (patch) | |
tree | a574d1fa8b198676e99d3bd993653039ef51e77f /all | |
parent | 8144504e11502fbbe21ccd0140ed239092408f3b (diff) | |
download | vaadin-framework-2beb030674199b9568a7d3bdb4ab3b31ec10752d.tar.gz vaadin-framework-2beb030674199b9568a7d3bdb4ab3b31ec10752d.zip |
Generate combined JavaDoc in vaadin-all pom.xml
Change-Id: I8e3ef8cd027def174e6f697597c77ba6c5870f2a
Diffstat (limited to 'all')
-rw-r--r-- | all/pom.xml | 159 | ||||
-rw-r--r-- | all/src/main/javadoc/javadoc.css (renamed from all/javadoc.css) | 0 |
2 files changed, 120 insertions, 39 deletions
diff --git a/all/pom.xml b/all/pom.xml index 97fb714f0e..0e6f5ab9d5 100644 --- a/all/pom.xml +++ b/all/pom.xml @@ -9,7 +9,7 @@ </parent> <artifactId>vaadin-all</artifactId> <name>vaadin-all</name> - <packaging>pom</packaging> + <packaging>jar</packaging> <properties> <relnotes.tickets.file>${project.build.directory}/generated-resources/releasenotes/release-notes-tickets.html</relnotes.tickets.file> @@ -160,50 +160,52 @@ </descriptors> </configuration> </plugin> + </plugins> + <pluginManagement> + <plugins> + <!-- Skip install, deploy and javadoc --> - <!-- Skip install and deploy --> + <plugin> + <artifactId>maven-deploy-plugin</artifactId> + <configuration> + <skip>true</skip> + </configuration> + </plugin> - <plugin> - <artifactId>maven-deploy-plugin</artifactId> - <configuration> - <skip>true</skip> - </configuration> - </plugin> + <plugin> + <artifactId>maven-install-plugin</artifactId> + <configuration> + <skip>true</skip> + </configuration> + </plugin> - <plugin> - <artifactId>maven-install-plugin</artifactId> - <configuration> - <skip>true</skip> - </configuration> - </plugin> + <plugin> + <artifactId>maven-jar-plugin</artifactId> + <executions> + <execution> + <id>default-jar</id> + <phase>never</phase> + </execution> + </executions> + </plugin> - <!-- Release notes helpers and resources --> + <plugin> + <artifactId>maven-source-plugin</artifactId> + <configuration> + <skipSource>true</skipSource> + </configuration> + </plugin> - <plugin> - <artifactId>maven-compiler-plugin</artifactId> - <executions> - <execution> - <id>compile</id> - <goals> - <goal>compile</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <artifactId>maven-resources-plugin</artifactId> - <executions> - <execution> - <id>resources</id> - <goals> - <goal>resources</goal> - </goals> - </execution> - </executions> - </plugin> - <!-- TODO: Combination javadocs --> - </plugins> + <plugin> + <artifactId>maven-javadoc-plugin</artifactId> + <configuration> + <skip>true</skip> + </configuration> + </plugin> + + </plugins> + </pluginManagement> </build> <profiles> @@ -260,6 +262,85 @@ </execution> </executions> </plugin> + + <!-- Extract sources for JavaDoc --> + <plugin> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>extract-sources</id> + <phase>prepare-package</phase> + <goals> + <goal>unpack</goal> + </goals> + <configuration> + <artifactItems> + <artifactItem> + <groupId>${project.groupId}</groupId> + <artifactId>vaadin-shared</artifactId> + <classifier>sources</classifier> + </artifactItem> + + <artifactItem> + <groupId>${project.groupId}</groupId> + <artifactId>vaadin-server</artifactId> + <classifier>sources</classifier> + </artifactItem> + + <artifactItem> + <groupId>${project.groupId}</groupId> + <artifactId>vaadin-client</artifactId> + <classifier>sources</classifier> + </artifactItem> + </artifactItems> + </configuration> + </execution> + </executions> + </plugin> + + <!-- Add extracted sources --> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <executions> + <execution> + <id>add-source-path</id> + <phase>prepare-package</phase> + <goals> + <goal>add-source</goal> + </goals> + <configuration> + <sources> + <source>${dependency.unpack.directory}</source> + </sources> + </configuration> + </execution> + </executions> + </plugin> + + <!-- Make Combined JavaDoc --> + <plugin> + <artifactId>maven-javadoc-plugin</artifactId> + <executions> + <execution> + <id>generate-combined-javadoc</id> + <phase>package</phase> + <goals> + <goal>jar</goal> + </goals> + <configuration> + <failOnError>false</failOnError> + <excludePackageNames>com.vaadin.builhelpers</excludePackageNames> + <skip>false</skip> + <stylesheetfile>javadoc.css</stylesheetfile> + <links> + <link>http://docs.oracle.com/javase/6/docs/api/</link> + <link>http://docs.oracle.com/j2ee/1.4/docs/api/</link> + </links> + </configuration> + </execution> + </executions> + </plugin> </plugins> </build> </profile> diff --git a/all/javadoc.css b/all/src/main/javadoc/javadoc.css index ffa7288ad4..ffa7288ad4 100644 --- a/all/javadoc.css +++ b/all/src/main/javadoc/javadoc.css |