Attach aggragate javadocs to aggregator 51/79051/4
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 26 Dec 2018 00:12:34 +0000 (01:12 +0100)
committerRobert Varga <nite@hq.sk>
Wed, 9 Jan 2019 09:47:20 +0000 (09:47 +0000)
This allows us to point users to our aggregated javadocs, hence
they do not fish for them. This means, though, that we have to
install the aggregator.

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

diff --git a/pom.xml b/pom.xml
index 19e0b3389fc181bcbb0528ff9e90fd947a96d81b..038bba174b2133aed698ff25f592d684c3bbbb81 100644 (file)
--- a/pom.xml
+++ b/pom.xml
         <module>trace</module>
     </modules>
 
-    <properties>
-        <maven.deploy.skip>true</maven.deploy.skip>
-        <maven.install.skip>true</maven.install.skip>
-    </properties>
-
     <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>sonar-jacoco-aggregate</id>
             <activation>