]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - pom.xml
Adapt RPM build to EL5
[lgpl/argeo-commons.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index d0cc2be8637624e7ee35fab1f9e2a34c5b3a0882..9aefbfd00b790cf631b0273b21c60df55d3dbcc6 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -14,7 +14,8 @@
        <packaging>pom</packaging>
        <properties>
                <developmentCycle>0.3</developmentCycle>
-               <version.argeo-distribution>1.1.6-SNAPSHOT</version.argeo-distribution>
+               <version.argeo-distribution>1.1.7-SNAPSHOT
+               </version.argeo-distribution>
                <version.argeo-commons>0.3.4-SNAPSHOT</version.argeo-commons>
                <version.equinox>3.6.2</version.equinox>
                <!-- maven -->
@@ -23,7 +24,9 @@
                <!-- distribution -->
                <site.repoBase>file:///srv/projects/www/commons/site</site.repoBase>
                <site.urlBase>http://projects.argeo.org/commons/site</site.urlBase>
-               <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-staging/6/x86_64</rpm.stagingRepository>
+               <rpm.release>6</rpm.release>
+               <rpm.stagingRepository>/srv/rpmfactory/argeo-osgi-staging/6/x86_64
+               </rpm.stagingRepository>
        </properties>
        <modules>
                <module>basic</module>
@@ -36,7 +39,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 +49,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.
@@ -152,9 +156,11 @@ limitations under the License.
                                        <configuration>
                                                <manifestLocation>META-INF</manifestLocation>
                                                <instructions>
-                                                       <Bundle-Version>${project.version}-r${buildNumber}</Bundle-Version>
+                                                       <Bundle-Version>${project.version}-r${buildNumber}
+                                                       </Bundle-Version>
                                                        <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                                                       <Bundle-RequiredExecutionEnvironment>J2SE-1.5</Bundle-RequiredExecutionEnvironment>
+                                                       <Bundle-RequiredExecutionEnvironment>J2SE-1.5
+                                                       </Bundle-RequiredExecutionEnvironment>
                                                        <_removeheaders>Bnd-LastModified</_removeheaders>
                                                </instructions>
                                        </configuration>
@@ -181,8 +187,8 @@ limitations under the License.
                                        <extensions>true</extensions>
                                        <configuration>
                                                <version>${project.version}</version>
-                                               <release>r${buildNumber}.el6</release>
-                                               <distribution>argeo6</distribution>
+                                               <release>r${buildNumber}.el${rpm.release}</release>
+                                               <distribution>argeo${rpm.release}</distribution>
                                                <packager>mbaudier@argeo.org</packager>
                                                <group>Applications/System</group>
                                                <prefix>/usr</prefix>
@@ -242,6 +248,9 @@ limitations under the License.
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-site-plugin</artifactId>
+                               <configuration>
+                                       <siteDirectory>doc/site</siteDirectory>
+                               </configuration>
                        </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
@@ -421,12 +430,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>
@@ -437,5 +448,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