]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - pom.xml
Java 1.5 not supported anymore
[lgpl/argeo-commons.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index 596f7290069dd8aaf9098601139a193f4a060885..aa4bbc607ea8341bd01224119b55b7a5a7bb0d7f 100644 (file)
--- a/pom.xml
+++ b/pom.xml
        <packaging>pom</packaging>
        <properties>
                <developmentCycle>0.3</developmentCycle>
-               <version.argeo-distribution>1.1.6-SNAPSHOT</version.argeo-distribution>
+               <version.argeo-distribution>1.1.7</version.argeo-distribution>
                <version.argeo-commons>0.3.4-SNAPSHOT</version.argeo-commons>
-               <version.equinox>3.6.2</version.equinox>
-               <!-- maven -->
-               <version.maven-argeo-osgi>1.0.33</version.maven-argeo-osgi>
-               <version.maven-argeo-qooxdoo>1.1.1</version.maven-argeo-qooxdoo>
                <!-- distribution -->
                <site.repoBase>file:///srv/projects/www/commons/site</site.repoBase>
                <site.urlBase>http://projects.argeo.org/commons/site</site.urlBase>
+               <rpm.release>6</rpm.release>
                <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-staging/6/x86_64</rpm.stagingRepository>
+               <!-- encoding, see http://is.gd/mvn_source_encoding -->
+               <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        </properties>
        <modules>
                <module>basic</module>
@@ -36,7 +35,8 @@
        <url>${site.urlBase}/${developmentCycle}</url>
        <scm>
                <connection>scm:svn:https://svn.argeo.org/commons/trunk</connection>
-               <developerConnection>scm:svn:https://svn.argeo.org/commons/trunk</developerConnection>
+               <developerConnection>scm:svn:https://svn.argeo.org/commons/trunk
+               </developerConnection>
                <url>https://svn.argeo.org/commons/trunk</url>
        </scm>
        <licenses>
@@ -45,9 +45,9 @@
                        <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
                        <distribution>repo</distribution>
                        <comments><![CDATA[
-SLC - Software LifeCycle framework
+Argeo Commons Enterprise Framework
                           
-Copyright 2010 Mathieu Baudier
+Copyright 2011 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.
@@ -77,13 +77,23 @@ limitations under the License.
                                <role>QA</role>
                        </roles>
                </developer>
+               <developer>
+                       <id>bsinou</id>
+                       <name>Bruno Sinou</name>
+                       <email><![CDATA[http://www.google.com/recaptcha/mailhide/d?k=01SZoYvDnJzcw0KOR7M7u6Qg==&c=SVgEjXA_Uu9ZrNzLES92w1ght6puLFiVpoNUddCfSU8=]]></email>
+                       <organization>Argeo</organization>
+                       <organizationUrl>http://www.argeo.org</organizationUrl>
+                       <roles>
+                               <role>developer</role>
+                       </roles>
+               </developer>
        </developers>
        <build>
                <extensions>
                        <extension>
                                <groupId>org.apache.maven.wagon</groupId>
-                               <artifactId>wagon-webdav</artifactId>
-                               <version>1.0-beta-2</version>
+                               <artifactId>wagon-webdav-jackrabbit</artifactId>
+                               <version>2.2</version>
                        </extension>
                </extensions>
                <pluginManagement>
@@ -93,8 +103,8 @@ limitations under the License.
                                        <artifactId>maven-compiler-plugin</artifactId>
                                        <version>2.3.2</version>
                                        <configuration>
-                                               <source>1.5</source>
-                                               <target>1.5</target>
+                                               <source>1.6</source>
+                                               <target>1.6</target>
                                        </configuration>
                                </plugin>
                                <plugin>
@@ -147,15 +157,14 @@ limitations under the License.
                                <plugin>
                                        <groupId>org.apache.felix</groupId>
                                        <artifactId>maven-bundle-plugin</artifactId>
-                                       <version>2.2.0</version>
+                                       <version>2.3.7</version>
                                        <extensions>true</extensions>
                                        <configuration>
                                                <manifestLocation>META-INF</manifestLocation>
                                                <instructions>
-                                                       <Bundle-Version>${project.version}-r${buildNumber}</Bundle-Version>
+                                                       <Bundle-Version>${project.version}-r${timestamp}</Bundle-Version>
                                                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                                                       <Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
-                                                       <_removeheaders>Bnd-LastModified</_removeheaders>
+                                                       <Bundle-RequiredExecutionEnvironment>JavaSE-1.6</Bundle-RequiredExecutionEnvironment>
                                                </instructions>
                                        </configuration>
                                        <executions>
@@ -172,7 +181,7 @@ limitations under the License.
                                <plugin>
                                        <groupId>org.codehaus.mojo</groupId>
                                        <artifactId>buildnumber-maven-plugin</artifactId>
-                                       <version>1.0-beta-4</version>
+                                       <version>1.0</version>
                                </plugin>
                                <plugin>
                                        <groupId>org.codehaus.mojo</groupId>
@@ -181,8 +190,8 @@ limitations under the License.
                                        <extensions>true</extensions>
                                        <configuration>
                                                <version>${project.version}</version>
-                                               <release>r${buildNumber}.el6</release>
-                                               <distribution>argeo6</distribution>
+                                               <release>r${timestamp}.el${rpm.release}</release>
+                                               <distribution>argeo${rpm.release}</distribution>
                                                <packager>mbaudier@argeo.org</packager>
                                                <group>Applications/System</group>
                                                <prefix>/usr</prefix>
@@ -197,7 +206,7 @@ limitations under the License.
                                <plugin>
                                        <groupId>org.argeo.maven.plugins</groupId>
                                        <artifactId>maven-argeo-osgi-plugin</artifactId>
-                                       <version>${version.maven-argeo-osgi}</version>
+                                       <version>1.0.33</version>
                                </plugin>
                                <!-- Others -->
                                <plugin>
@@ -215,21 +224,14 @@ limitations under the License.
                                        <execution>
                                                <phase>generate-resources</phase>
                                                <goals>
-                                                       <goal>create</goal>
+                                                       <goal>create-timestamp</goal>
                                                </goals>
                                        </execution>
                                </executions>
                                <configuration>
                                        <doCheck>false</doCheck>
                                        <doUpdate>false</doUpdate>
-                                       <format>{0,date,yyyyMMdd_HHmmss}</format>
-                                       <items>
-                                               <item>timestamp</item>
-                                       </items>
-                                       <revisionOnScmFailure>git</revisionOnScmFailure>
-                                       <providerImplementations>
-                                               <git>svn</git>
-                                       </providerImplementations>
+                                       <timestampFormat>yyMMdd_HHmm</timestampFormat>
                                </configuration>
                        </plugin>
                        <plugin>
@@ -278,6 +280,9 @@ limitations under the License.
                                </configuration>
                        </plugin>
                </plugins>
+               <!-- NOTE: This is just a vision for the future, it's not yet implemented: 
+                       see MNG-2216 -->
+               <!-- <sourceEncoding>UTF-8</sourceEncoding> -->
        </build>
        <dependencyManagement>
                <dependencies>
@@ -424,12 +429,14 @@ limitations under the License.
                                <repository>
                                        <id>localrepo</id>
                                        <name>Internal Release Repository</name>
-                                       <url>dav:http://localrepo:7080/org.argeo.jcr.webapp/webdav/node/main/repo</url>
+                                       <url>dav:http://localrepo:7080/org.argeo.jcr.webapp/webdav/node/main/repo
+                                       </url>
                                </repository>
                                <snapshotRepository>
                                        <id>localrepo.snapshots</id>
                                        <name>Internal Snapshot Repository</name>
-                                       <url>dav:http://localrepo:7080/org.argeo.jcr.webapp/webdav/node/main/repo</url>
+                                       <url>dav:http://localrepo:7080/org.argeo.jcr.webapp/webdav/node/main/repo
+                                       </url>
                                </snapshotRepository>
                        </distributionManagement>
                </profile>
@@ -440,5 +447,13 @@ limitations under the License.
                                <module>sandbox</module>
                        </modules>
                </profile>
+               <profile>
+                       <id>el5</id>
+                       <properties>
+                               <rpm.release>5</rpm.release>
+                               <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-staging/5/x86_64
+                               </rpm.stagingRepository>
+                       </properties>
+               </profile>
        </profiles>
 </project>
\ No newline at end of file