]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - pom.xml
Use repo.argeo.org. Improve build and javadoc generation.
[lgpl/argeo-commons.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 9ce7476aaa03284512eaab1f94d3318408f00365..e3dbc0bd64b3f5afa4de001795c11cf7750c5f60 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,14 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <groupId>org.argeo.commons</groupId>
        <artifactId>argeo-commons</artifactId>
-       <version>2.1.73-SNAPSHOT</version>
+       <version>2.1.74-SNAPSHOT</version>
        <name>Argeo Commons</name>
        <packaging>pom</packaging>
        <properties>
-               <version.argeo-commons>2.1.73</version.argeo-commons>
+               <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-tp>2.1.20</version.argeo-tp>
                <module>org.argeo.ext.jackrabbit</module>
                <module>org.argeo.ext.rap.ui.workbench</module>
                <!-- Distribution -->
+               <module>maven</module>
                <module>dep</module>
                <module>demo</module>
                <module>doc</module>
                <module>dist</module>
+               <module>rcp</module>
        </modules>
        <scm>
                <connection>scm:git:http://git.argeo.org/apache2/argeo-commons.git</connection>
@@ -222,11 +225,6 @@ limitations under the License.
                                                <autoVersionSubmodules>true</autoVersionSubmodules>
                                        </configuration>
                                </plugin>
-                               <!-- <plugin> -->
-                               <!-- <artifactId>maven-javadoc-plugin</artifactId> -->
-                               <!-- <version>2.10.4</version> -->
-                               <!-- </plugin> -->
-                               <!-- Apache -->
                                <plugin>
                                        <groupId>org.apache.felix</groupId>
                                        <artifactId>maven-bundle-plugin</artifactId>
@@ -269,6 +267,7 @@ limitations under the License.
                                                <!-- <copyTo>${argeo.rpm.stagingRepository}</copyTo> -->
                                                <defaultDirMode>755</defaultDirMode>
                                                <defaultFileMode>644</defaultFileMode>
+                                               <autoRequires>false</autoRequires>
                                        </configuration>
                                </plugin>
                                <plugin>
@@ -286,92 +285,31 @@ limitations under the License.
                                <plugin>
                                        <artifactId>maven-javadoc-plugin</artifactId>
                                        <version>3.0.0</version>
-                                       <configuration>
-                                               <encoding>UTF-8</encoding>
-                                               <detectLinks>true</detectLinks>
-                                               <!-- <sourcepath>src</sourcepath> -->
-                                               <links>
-                                                       <!-- Java -->
-                                                       <link>http://docs.oracle.com/javase/8/docs/api</link>
-                                                       <!-- OSGi -->
-                                                       <link>http://www.osgi.org/javadoc/r5/core</link>
-                                                       <link>http://www.osgi.org/javadoc/r5/enterprise</link>
-                                                       <!-- Spring -->
-                                                       <link>http://docs.spring.io/spring/docs/3.2.x/javadoc-api</link>
-                                                       <!-- JCR -->
-                                                       <link>http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0</link>
-                                                       <!-- Eclipse -->
-                                                       <link>http://help.eclipse.org/neon/topic/org.eclipse.platform.doc.isv/reference/api</link>
-                                               </links>
-                                       </configuration>
+<!--                                   <configuration> -->
+<!--                                           <failOnError>false</failOnError> -->
+<!--                                           <additionalJOption>-Xdoclint:none</additionalJOption> -->
+<!--                                           <excludePackageNames>*.internal.*,org.eclipse.*</excludePackageNames> -->
+<!--                                           <encoding>UTF-8</encoding> -->
+<!--                                           <detectLinks>true</detectLinks> -->
+<!--                                           <sourcepath>src</sourcepath> -->
+<!--                                           <links> -->
+<!--                                                   Java -->
+<!--                                                   <link>http://docs.oracle.com/javase/8/docs/api</link> -->
+<!--                                                   OSGi -->
+<!--                                                   <link>http://www.osgi.org/javadoc/r5/core</link> -->
+<!--                                                   <link>http://www.osgi.org/javadoc/r5/enterprise</link> -->
+<!--                                                   Spring -->
+<!--                                                   <link>http://docs.spring.io/spring/docs/3.2.x/javadoc-api</link> -->
+<!--                                                   JCR -->
+<!--                                                   <link>http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0</link> -->
+<!--                                                   Eclipse -->
+<!--                                                   <link>http://help.eclipse.org/neon/topic/org.eclipse.platform.doc.isv/reference/api</link> -->
+<!--                                           </links> -->
+<!--                                   </configuration> -->
                                </plugin>
                                <plugin>
                                        <artifactId>maven-site-plugin</artifactId>
                                        <version>3.7</version>
-                                       <!-- <configuration> -->
-                                       <!-- <siteDirectory>doc/site</siteDirectory> -->
-                                       <!-- <generateSitemap>true</generateSitemap> -->
-                                       <!-- <skip>false</skip> -->
-                                       <!-- <reportPlugins> -->
-                                       <!-- <plugin> -->
-                                       <!-- <groupId>org.apache.maven.plugins</groupId> -->
-                                       <!-- <artifactId>maven-project-info-reports-plugin</artifactId> -->
-                                       <!-- <version>2.8.1</version> -->
-                                       <!-- <reportSets> -->
-                                       <!-- <reportSet> -->
-                                       <!-- <reports> -->
-                                       <!-- <report>index</report> -->
-                                       <!-- <report>summary</report> -->
-                                       <!-- <report>license</report> -->
-                                       <!-- <report>scm</report> -->
-                                       <!-- </reports> -->
-                                       <!-- </reportSet> -->
-                                       <!-- </reportSets> -->
-                                       <!-- </plugin> -->
-                                       <!-- <plugin> -->
-                                       <!-- <artifactId>maven-javadoc-plugin</artifactId> -->
-                                       <!-- <version>3.0.0</version> -->
-                                       <!-- <configuration> -->
-                                       <!-- <encoding>UTF-8</encoding> -->
-                                       <!-- <detectLinks>true</detectLinks> -->
-                                       <!-- <sourcepath>src</sourcepath> -->
-                                       <!-- <links> -->
-                                       <!-- Java -->
-                                       <!-- <link>http://docs.oracle.com/javase/8/docs/api</link> -->
-                                       <!-- OSGi -->
-                                       <!-- <link>http://www.osgi.org/javadoc/r5/core</link> -->
-                                       <!-- <link>http://www.osgi.org/javadoc/r5/enterprise</link> -->
-                                       <!-- Spring -->
-                                       <!-- <link>http://docs.spring.io/spring/docs/3.2.x/javadoc-api</link> -->
-                                       <!-- JCR -->
-                                       <!-- <link>http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0</link> -->
-                                       <!-- Eclipse -->
-                                       <!-- <link>http://help.eclipse.org/neon/topic/org.eclipse.platform.doc.isv/reference/api</link> -->
-                                       <!-- </links> -->
-                                       <!-- </configuration> -->
-                                       <!-- <reportSets> -->
-                                       <!-- <reportSet> -->
-                                       <!-- <id>aggregate</id> -->
-                                       <!-- <reports> -->
-                                       <!-- <report>aggregate</report> -->
-                                       <!-- </reports> -->
-                                       <!-- </reportSet> -->
-                                       <!-- </reportSets> -->
-                                       <!-- </plugin> -->
-                                       <!-- <plugin> -->
-                                       <!-- <artifactId>maven-jxr-plugin</artifactId> -->
-                                       <!-- <version>2.5</version> -->
-                                       <!-- <reportSets> -->
-                                       <!-- <reportSet> -->
-                                       <!-- <id>aggregate</id> -->
-                                       <!-- <reports> -->
-                                       <!-- <report>aggregate</report> -->
-                                       <!-- </reports> -->
-                                       <!-- </reportSet> -->
-                                       <!-- </reportSets> -->
-                                       <!-- </plugin> -->
-                                       <!-- </reportPlugins> -->
-                                       <!-- </configuration> -->
                                </plugin>
                        </plugins>
                </pluginManagement>
@@ -389,12 +327,6 @@ limitations under the License.
                                        </filesets>
                                </configuration>
                        </plugin>
-                       <!-- <plugin> -->
-                       <!-- <artifactId>maven-javadoc-plugin</artifactId> -->
-                       <!-- <configuration> -->
-                       <!-- <skip>true</skip> -->
-                       <!-- </configuration> -->
-                       <!-- </plugin> -->
                        <plugin>
                                <artifactId>maven-resources-plugin</artifactId>
                                <configuration>
@@ -450,24 +382,23 @@ limitations under the License.
        <repositories>
                <repository>
                        <id>argeo</id>
-                       <url>http://forge.argeo.org/data/java/argeo-2.1/</url>
+                       <url>http://repo.argeo.org/data/java/argeo-2.1/</url>
                        <releases>
                                <enabled>true</enabled>
                                <updatePolicy>daily</updatePolicy>
                                <checksumPolicy>warn</checksumPolicy>
                        </releases>
                </repository>
-               <!-- Disable Maven default repository -->
-               <repository>
-                       <id>central</id>
-                       <url>http://repo1.maven.org/maven2</url>
-                       <releases>
-                               <enabled>false</enabled>
-                       </releases>
-                       <snapshots>
-                               <enabled>false</enabled>
-                       </snapshots>
-               </repository>
+               <!-- Maven default repository -->
+<!--           <repository> -->
+<!--                   <id>central</id> -->
+<!--                   <url>http://repo1.maven.org/maven2</url> -->
+<!--                   <releases> -->
+<!--                           <enabled>true</enabled> -->
+<!--                           <updatePolicy>daily</updatePolicy> -->
+<!--                           <checksumPolicy>warn</checksumPolicy> -->
+<!--                   </releases> -->
+<!--           </repository> -->
        </repositories>
        <pluginRepositories>
                <pluginRepository>
@@ -481,7 +412,7 @@ limitations under the License.
                </pluginRepository>
                <pluginRepository>
                        <id>argeo-maven-plugins</id>
-                       <url>http://repo.argeo.org/data/public/java/argeo-maven-1.1</url>
+                       <url>http://repo.argeo.org/data/java/argeo-2.1</url>
                        <releases>
                                <enabled>true</enabled>
                                <updatePolicy>daily</updatePolicy>
@@ -521,6 +452,9 @@ limitations under the License.
                                <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>
                                        <detectLinks>true</detectLinks>
                                        <!-- <sourcepath>src</sourcepath> -->