Disable doclint on Javadoc generation
[lgpl/argeo-commons.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index a4ed4009a3b4a44aad086cdcc3fb013d7172e359..b0b78e93a3622322294a2c5662f2c25cb2dc1fba 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -5,13 +5,14 @@
        <modelVersion>4.0.0</modelVersion>
        <groupId>org.argeo.commons</groupId>
        <artifactId>argeo-commons</artifactId>
-       <version>2.1.74-SNAPSHOT</version>
+       <version>2.1.75-SNAPSHOT</version>
        <name>Argeo Commons</name>
        <packaging>pom</packaging>
+       <!-- <url>http://repo.argeo.org/data/docs/argeo-2.1/site/argeo-commons/</url> -->
        <properties>
-               <version.argeo-commons>2.1.74-SNAPSHOT</version.argeo-commons>
-               <developmentCycle.argeo-commons>2.1</developmentCycle.argeo-commons>
-               <developmentCycle.argeo-commons.startDate>2012-12-19</developmentCycle.argeo-commons.startDate>
+               <version.argeo-commons>2.1.75-SNAPSHOT</version.argeo-commons>
+               <!-- <developmentCycle.argeo-commons>2.1</developmentCycle.argeo-commons> -->
+               <!-- <developmentCycle.argeo-commons.startDate>2012-12-19</developmentCycle.argeo-commons.startDate> -->
                <version.argeo-tp>2.1.20</version.argeo-tp>
                <!-- RPM -->
                <argeo.rpm.release>7</argeo.rpm.release>
@@ -222,6 +223,16 @@ limitations under the License.
                                        <artifactId>maven-site-plugin</artifactId>
                                        <version>3.7</version>
                                </plugin>
+                               <plugin>
+                                       <artifactId>maven-javadoc-plugin</artifactId>
+                                       <version>3.0.0</version>
+                                       <configuration>
+                                               <failOnError>false</failOnError>
+                                               <additionalJOption>-Xdoclint:none</additionalJOption>
+                                               <excludePackageNames>*.internal.*,org.eclipse.*</excludePackageNames>
+                                               <encoding>UTF-8</encoding>
+                                       </configuration>
+                               </plugin>
                                <plugin>
                                        <artifactId>maven-release-plugin</artifactId>
                                        <version>2.5.1</version>
@@ -373,17 +384,6 @@ limitations under the License.
                        </releases>
                </pluginRepository>
        </pluginRepositories>
-       <distributionManagement>
-               <repository>
-                       <id>staging</id>
-                       <url>dav:https://forge.argeo.org/data/java/argeo-${developmentCycle.argeo-commons}</url>
-                       <uniqueVersion>false</uniqueVersion>
-               </repository>
-               <site>
-                       <id>staging</id>
-                       <url>dav:https://forge.argeo.org/data/docs/argeo-${developmentCycle.argeo-commons}</url>
-               </site>
-       </distributionManagement>
        <reporting>
                <plugins>
                        <plugin>
@@ -428,7 +428,7 @@ limitations under the License.
                                        </reportSet>
                                        <reportSet>
                                                <id>javadoc</id>
-                                               <reports></reports>
+                                               <reports />
                                        </reportSet>
                                </reportSets>
                        </plugin>
@@ -445,12 +445,23 @@ limitations under the License.
                                        </reportSet>
                                        <reportSet>
                                                <id>jxr</id>
-                                               <reports></reports>
+                                               <reports />
                                        </reportSet>
                                </reportSets>
                        </plugin>
                </plugins>
        </reporting>
+       <distributionManagement>
+               <repository>
+                       <id>staging</id>
+                       <url>dav:https://forge.argeo.org/data/java/argeo-2.1/</url>
+                       <uniqueVersion>false</uniqueVersion>
+               </repository>
+               <site>
+                       <id>staging</id>
+                       <url>dav:https://forge.argeo.org/data/docs/argeo-2.1/site/argeo-commons/</url>
+               </site>
+       </distributionManagement>
        <profiles>
                <profile>
                        <id>rpmbuild</id>
@@ -524,13 +535,12 @@ limitations under the License.
                        <distributionManagement>
                                <repository>
                                        <id>staging</id>
-                                       <url>dav:http://localhost:7080/data/java/argeo-${developmentCycle.argeo-commons}</url>
+                                       <url>dav:http://localhost:7080/data/java/argeo-2.1/</url>
                                        <uniqueVersion>false</uniqueVersion>
                                </repository>
                                <site>
                                        <id>staging</id>
-<!--                                   <url>dav:http://localhost:7080/data/docs/argeo-${developmentCycle.argeo-commons}</url> -->
-                                       <url>file:///home/mbaudier/tmp/site</url>
+                                       <url>dav:http://localhost:7080/data/docs/argeo-2.1/site/argeo-commons/</url>
                                </site>
                        </distributionManagement>
                </profile>