]> source.dussan.org Git - vaadin-framework.git/commitdiff
Reduce javadoc errors by adding missing dependencies
authorPekka Hyvönen <pekka@vaadin.com>
Mon, 12 Dec 2016 13:44:01 +0000 (15:44 +0200)
committerPekka Hyvönen <pekka@vaadin.com>
Mon, 12 Dec 2016 14:16:44 +0000 (16:16 +0200)
vaadin-all currently has +100 errors/warning when creating javadocs,
this reduces most of them related to missing resources to link to.

all/pom.xml

index 737c11a98052dc38e2a458f9c86d52a7b83601ba..b3db0fd7d295378d0114b3960f05cccc7968baed 100644 (file)
             <artifactId>vaadin-widgets</artifactId>
             <version>${project.version}</version>
         </dependency>
+
+        <!-- Needed because referenced from javadocs -->
+        <dependency>
+            <groupId>javax.portlet</groupId>
+            <artifactId>portlet-api</artifactId>
+            <version>2.0</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>com.liferay.portal</groupId>
+            <artifactId>portal-service</artifactId>
+            <version>${liferay.portal-service.version}</version>
+            <scope>provided</scope>
+        </dependency>
     </dependencies>
 
     <build>
                                     <excludePackageNames>com.vaadin.buildhelpers</excludePackageNames>
                                     <skip>false</skip>
                                     <links>
-                                        <link>http://docs.oracle.com/javase/6/docs/api/</link>
-                                        <link>http://docs.oracle.com/j2ee/1.4/docs/api/</link>
+                                        <link>https://docs.oracle.com/javase/8/docs/api/</link>
+                                        <link>https://docs.oracle.com/javaee/6/api/</link>
+                                        <link>https://portals.apache.org/pluto/portlet-2.0-apidocs/</link>
+                                        <link>https://docs.liferay.com/portal/6.2/javadocs/</link>
                                     </links>
                                 </configuration>
                             </execution>