]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - pom.xml
Adapt Security to RCP
[lgpl/argeo-commons.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index cac53d44c3a07e6fd7edf6b05d1447abeb7d5f17..7344fc97a2dd305ef1cf5df76bd1953145f2689f 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,31 +1,34 @@
 <?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>
        <parent>
                <groupId>org.argeo</groupId>
                <artifactId>parent</artifactId>
-               <version>1.0.0</version>
+               <version>1.2.0</version>
        </parent>
        <groupId>org.argeo.commons</groupId>
        <artifactId>argeo-commons</artifactId>
-       <version>0.1.3-SNAPSHOT</version>
+       <version>0.2.2-SNAPSHOT</version>
        <name>Argeo Commons</name>
        <packaging>pom</packaging>
        <properties>
-               <developmentCycle>0.1</developmentCycle>
-               <version.argeo-distribution>1.0.4-SNAPSHOT</version.argeo-distribution>
-               <version.argeo-ria>0.12.4-SNAPSHOT</version.argeo-ria>
-               <version.maven-argeo-osgi>0.1.28-SNAPSHOT</version.maven-argeo-osgi>
+               <developmentCycle>0.2</developmentCycle>
+               <version.argeo-distribution>1.1.1-SNAPSHOT</version.argeo-distribution>
+               <version.argeo-commons>0.2.2-SNAPSHOT</version.argeo-commons>
+               <version.argeo-ria>0.12.5</version.argeo-ria>
+               <version.equinox>3.6.1</version.equinox>
+               <version.maven-argeo-osgi>0.1.30-SNAPSHOT</version.maven-argeo-osgi>
                <version.maven-bundle-plugin>2.0.1</version.maven-bundle-plugin>
-               <version.maven-argeo-qooxdoo>0.8.3.0</version.maven-argeo-qooxdoo>
-               <site.repoBase>file:///var/argeo/projects/commons/www/site</site.repoBase>
-               <site.urlBase>http://www.argeo.org/projects/commons/site</site.urlBase>
+               <version.maven-argeo-qooxdoo>1.1.0</version.maven-argeo-qooxdoo>
+               <site.repoBase>file:///srv/projects/www/commons/site</site.repoBase>
+               <site.urlBase>http://projects.argeo.org/commons/site</site.urlBase>
        </properties>
        <url>${site.urlBase}/${developmentCycle}</url>
        <scm>
-               <connection>scm:svn:https://www.argeo.org/svn/commons/trunk</connection>
-               <developerConnection>scm:svn:https://www.argeo.org/svn/commons/trunk</developerConnection>
-               <url>https://www.argeo.org/svn/commons/trunk</url>
+               <connection>scm:svn:https://svn.argeo.org/commons/trunk</connection>
+               <developerConnection>scm:svn:https://svn.argeo.org/commons/trunk</developerConnection>
+               <url>https://svn.argeo.org/commons/trunk</url>
        </scm>
        <licenses>
                <license>
@@ -35,7 +38,7 @@
                        <comments><![CDATA[
 SLC - Software LifeCycle framework
                           
-Copyright 2008 Mathieu Baudier - Argeo e.U.
+Copyright 2010 Mathieu Baudier
 
 Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
 you may not use this file except in compliance with the License.
@@ -71,6 +74,7 @@ limitations under the License.
                <module>osgi</module>
                <module>server</module>
                <module>security</module>
+               <module>eclipse</module>
                <module>sandbox</module>
        </modules>
        <build>
@@ -79,6 +83,7 @@ limitations under the License.
                                <plugin>
                                        <groupId>org.apache.maven.plugins</groupId>
                                        <artifactId>maven-compiler-plugin</artifactId>
+                                       <version>2.3.2</version>
                                        <configuration>
                                                <source>1.5</source>
                                                <target>1.5</target>
@@ -87,6 +92,7 @@ limitations under the License.
                                <plugin>
                                        <groupId>org.apache.maven.plugins</groupId>
                                        <artifactId>maven-source-plugin</artifactId>
+                                       <version>2.1.2</version>
                                        <executions>
                                                <execution>
                                                        <id>attach-sources</id>
@@ -104,6 +110,7 @@ limitations under the License.
                                </plugin>
                                <plugin>
                                        <artifactId>maven-jar-plugin</artifactId>
+                                       <version>2.3.1</version>
                                        <configuration>
                                                <archive>
                                                        <manifestFile>target/classes/META-INF/MANIFEST.MF</manifestFile>
@@ -120,6 +127,7 @@ limitations under the License.
                                                <instructions>
                                                        <Bundle-Version>${project.version}-r${buildNumber}</Bundle-Version>
                                                        <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
+                                                       <Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
                                                        <_removeheaders>Bnd-LastModified</_removeheaders>
                                                </instructions>
                                        </configuration>
@@ -139,9 +147,10 @@ limitations under the License.
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>buildnumber-maven-plugin</artifactId>
+                               <version>1.0-beta-4</version>
                                <executions>
                                        <execution>
-                                               <phase>validate</phase>
+                                               <phase>generate-resources</phase>
                                                <goals>
                                                        <goal>create</goal>
                                                </goals>
@@ -150,12 +159,20 @@ limitations under the License.
                                <configuration>
                                        <doCheck>false</doCheck>
                                        <doUpdate>false</doUpdate>
-                                       <useLastCommittedRevision>true</useLastCommittedRevision>
+                                       <format>{0,date,yyyyMMdd_HHmmss}</format>
+                                       <items>
+                                               <item>timestamp</item>
+                                       </items>
+                                       <revisionOnScmFailure>git</revisionOnScmFailure>
+                                       <providerImplementations>
+                                               <git>svn</git>
+                                       </providerImplementations>
                                </configuration>
                        </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-resources-plugin</artifactId>
+                               <version>2.4.3</version>
                                <configuration>
                                        <encoding>UTF-8</encoding>
                                </configuration>
@@ -163,6 +180,7 @@ limitations under the License.
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-site-plugin</artifactId>
+                               <version>2.1.1</version>
                        </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
@@ -173,6 +191,29 @@ limitations under the License.
                                        <preparationGoals>clean install</preparationGoals>
                                </configuration>
                        </plugin>
+                       <plugin>
+                               <groupId>com.mycila.maven-license-plugin</groupId>
+                               <artifactId>maven-license-plugin</artifactId>
+                               <version>1.8.0</version>
+                               <configuration>
+                                       <header>license-apache2-header.txt</header>
+                                       <failIfMissing>true</failIfMissing>
+                                       <aggregate>true</aggregate>
+                                       <includes>
+                                               <include>src/**/*.java</include>
+                                               <include>src/**/*.xml</include>
+                                       </includes>
+                                       <excludes>
+                                               <exclude>**/springutil/**</exclude>
+                                               <exclude>**/qooxdoo-sdk/**</exclude>
+                                       </excludes>
+                                       <useDefaultExcludes>true</useDefaultExcludes>
+                                       <mapping>
+                                               <java>SLASHSTAR_STYLE</java>
+                                               <xml>XML_STYLE</xml>
+                                       </mapping>
+                               </configuration>
+                       </plugin>
                </plugins>
        </build>
        <dependencyManagement>
@@ -189,7 +230,7 @@ limitations under the License.
        <repositories>
                <repository>
                        <id>argeo</id>
-                       <url>http://www.argeo.org/maven/argeo</url>
+                       <url>http://maven.argeo.org/argeo</url>
                        <releases>
                                <enabled>true</enabled>
                                <updatePolicy>daily</updatePolicy>
@@ -214,6 +255,7 @@ limitations under the License.
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-project-info-reports-plugin</artifactId>
+                               <version>2.3.1</version>
                                <reportSets>
                                        <reportSet>
                                                <reports>
@@ -236,6 +278,7 @@ limitations under the License.
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-javadoc-plugin</artifactId>
+                               <version>2.7</version>
                                <inherited>false</inherited>
                                <configuration>
                                        <aggregate>true</aggregate>
@@ -245,6 +288,7 @@ limitations under the License.
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-jxr-plugin</artifactId>
+                               <version>2.2</version>
                                <configuration>
                                        <aggregate>true</aggregate>
                                </configuration>
@@ -252,6 +296,7 @@ limitations under the License.
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-surefire-report-plugin</artifactId>
+                               <version>2.7.1</version>
                                <inherited>false</inherited>
                                <configuration>
                                        <aggregate>true</aggregate>
@@ -260,6 +305,7 @@ limitations under the License.
                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>taglist-maven-plugin</artifactId>
+                               <version>2.4</version>
                                <configuration>
                                        <aggregate>true</aggregate>
                                        <tags>
@@ -272,6 +318,7 @@ limitations under the License.
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-changelog-plugin</artifactId>
+                               <version>2.2</version>
                                <inherited>false</inherited>
                        </plugin>
                        <plugin>