]> 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 1a537cb8935628b56581925c5718372b20e366ec..e3dbc0bd64b3f5afa4de001795c11cf7750c5f60 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,13 +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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+<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.72</version>
+       <version>2.1.74-SNAPSHOT</version>
        <name>Argeo Commons</name>
        <packaging>pom</packaging>
        <properties>
-               <version.argeo-commons>2.1.72</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.node.api</module>
                <module>org.argeo.maintenance</module>
                <module>org.argeo.cms</module>
+               <module>org.argeo.cms.ui.theme</module>
                <module>org.argeo.cms.ui</module>
+               <!-- CMS E4 -->
+               <module>org.argeo.cms.e4</module>
+               <module>org.argeo.cms.e4.rap</module>
                <!-- CMS Workbench -->
                <module>org.argeo.cms.ui.workbench</module>
                <module>org.argeo.cms.ui.workbench.rap</module>
                <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>
                <url>http://git.argeo.org/?p=apache2/argeo-commons.git;a=summary</url>
                <developerConnection>scm:git:https://code.argeo.org/git/apache2/argeo-commons.git</developerConnection>
-               <tag>argeo-commons-2.1.72</tag>
+               <tag>HEAD</tag>
        </scm>
        <inceptionYear>2007</inceptionYear>
        <licenses>
@@ -216,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>
@@ -263,6 +267,7 @@ limitations under the License.
                                                <!-- <copyTo>${argeo.rpm.stagingRepository}</copyTo> -->
                                                <defaultDirMode>755</defaultDirMode>
                                                <defaultFileMode>644</defaultFileMode>
+                                               <autoRequires>false</autoRequires>
                                        </configuration>
                                </plugin>
                                <plugin>
@@ -280,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>
@@ -383,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>
@@ -444,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>
@@ -475,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>
@@ -515,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> -->
@@ -607,8 +547,10 @@ limitations under the License.
                                                                </goals>
                                                                <configuration>
                                                                        <target>
-                                                                               <copy todir="${argeo.rpm.stagingRepository}" quiet="true" failonerror="false">
-                                                                                       <fileset dir="${project.build.directory}/rpm" includes="*/RPMS/**/*.rpm" />
+                                                                               <copy todir="${argeo.rpm.stagingRepository}" quiet="true"
+                                                                                       failonerror="false">
+                                                                                       <fileset dir="${project.build.directory}/rpm"
+                                                                                               includes="*/RPMS/**/*.rpm" />
                                                                                        <flattenmapper />
                                                                                </copy>
                                                                        </target>
@@ -633,8 +575,10 @@ limitations under the License.
                                                                </goals>
                                                                <configuration>
                                                                        <target>
-                                                                               <copy todir="${argeo.rpm.stagingRepository}" quiet="true" failonerror="false">
-                                                                                       <fileset dir="${project.build.directory}/rpm" includes="*/RPMS/**/*.rpm" />
+                                                                               <copy todir="${argeo.rpm.stagingRepository}" quiet="true"
+                                                                                       failonerror="false">
+                                                                                       <fileset dir="${project.build.directory}/rpm"
+                                                                                               includes="*/RPMS/**/*.rpm" />
                                                                                        <flattenmapper />
                                                                                </copy>
                                                                        </target>