Attach aggragate javadocs to aggregator
[mdsal.git] / 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>