Attach aggragate javadocs to aggragator 36/79036/3
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 24 Dec 2018 21:23:13 +0000 (22:23 +0100)
committerRobert Varga <nite@hq.sk>
Sun, 30 Dec 2018 11:43:06 +0000 (11:43 +0000)
This allows us to point users to our aggregated javadocs, hence
they do not fish for them.

Change-Id: If191cdfd45c2732a96d4a62deb183f6add155a65
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
pom.xml

diff --git a/pom.xml b/pom.xml
index f02ffacf4b6a71e0e13d6cbf853496948c88cdeb..1d71118e2e059947b25f20e23bdc2a84a113ff77 100644 (file)
--- a/pom.xml
+++ b/pom.xml
     </modules>
 
     <profiles>
+        <profile>
+            <id>aggregate-javadoc</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <artifactId>maven-javadoc-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>aggregate</id>
+                                <phase>package</phase>
+                                <goals>
+                                    <goal>aggregate-jar</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
         <profile>
             <id>karaf</id>
             <activation>