[Arakhnę-Dev] [9] Clean the POM files.

[ Thread Index | Date Index | More arakhne.org/dev Archives ]


Revision: 9
Author:   galland
Date:     2008-10-09 13:55:18 +0200 (Thu, 09 Oct 2008)

Log Message:
-----------
Clean the POM files.

Modified Paths:
--------------
    trunk/arakhneRefs/pom.xml
    trunk/arakhneVmutils/java/pom.xml
    trunk/arakhneVmutils/native/josuuid/linux/pom.xml
    trunk/arakhneVmutils/native/josuuid/mingw/pom.xml
    trunk/arakhneVmutils/native/josuuid/pom.xml
    trunk/arakhneVmutils/native/pom.xml
    trunk/arakhneVmutils/pom.xml
    trunk/pom.xml


Modified: trunk/arakhneRefs/pom.xml
===================================================================
--- trunk/arakhneRefs/pom.xml	2008-10-09 00:01:27 UTC (rev 8)
+++ trunk/arakhneRefs/pom.xml	2008-10-09 11:55:18 UTC (rev 9)
@@ -1,19 +1,20 @@
 <?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";>
   <modelVersion>4.0.0</modelVersion>
-  <groupId>org.arakhne.afc</groupId>
-  <artifactId>arakhneRefs</artifactId>
-  <packaging>jar</packaging>
-  <version>3.0-SNAPSHOT</version>
-  <name>arakhneRefs Java Library</name>
-  <url>http://www.arakhne.org/arakhneRefs/</url>
-  <description>Java library that provides additional tools to manage weak and soft references</description>
+
   <parent>
 	<artifactId>afc</artifactId>
 	<groupId>org.arakhne.afc</groupId>
 	<version>1.0-SNAPSHOT</version>
   </parent>
 
+  <groupId>org.arakhne.afc</groupId>
+  <artifactId>arakhneRefs</artifactId>
+  <packaging>jar</packaging>
+  <version>${version_arakhnerefs}</version>
+  <name>${pom.artifactId}</name>
+  <url>http://www.arakhne.org/arakhneRefs/</url>
+
 	<!-- ======================================= -->
 	<!-- ====       Project Information      === -->
 	<!-- ======================================= -->

Modified: trunk/arakhneVmutils/java/pom.xml
===================================================================
--- trunk/arakhneVmutils/java/pom.xml	2008-10-09 00:01:27 UTC (rev 8)
+++ trunk/arakhneVmutils/java/pom.xml	2008-10-09 11:55:18 UTC (rev 9)
@@ -2,41 +2,17 @@
 <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>
-  <artifactId>arakhneVmutils-java</artifactId>
-  <packaging>jar</packaging>
-  <groupId>org.arakhne.afc</groupId>
-  <version>1.0-SNAPSHOT</version>
-  <name>Arakhnê VM Java utilities</name>
-  <description>Java libraries for the Arakhnê VM utilities dedicated to SUN&copy;'s virtual machine.</description>
 
   <parent>
-	<artifactId>arakhneVmutils</artifactId>
+	<artifactId>afc</artifactId>
 	<groupId>org.arakhne.afc</groupId>
-	<version>2.0-SNAPSHOT</version>
+	<version>1.0-SNAPSHOT</version>
   </parent>
 
-  <build>
-   <plugins>
-     <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-enforcer-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>enforce-java</id>
-            <goals>
-              <goal>enforce</goal>
-            </goals>
-            <configuration>
-              <rules>
-                <requireJavaVersion>
-                  <version>1.6.0</version>
-                </requireJavaVersion>
-              </rules>    
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
+  <artifactId>arakhneVmutils-java</artifactId>
+  <packaging>jar</packaging>
+  <groupId>org.arakhne.afc</groupId>
+  <version>${version_arakhnevmutils}</version>
+  <name>${pom.artifactId}</name>
 
 </project>

Modified: trunk/arakhneVmutils/native/josuuid/linux/pom.xml
===================================================================
--- trunk/arakhneVmutils/native/josuuid/linux/pom.xml	2008-10-09 00:01:27 UTC (rev 8)
+++ trunk/arakhneVmutils/native/josuuid/linux/pom.xml	2008-10-09 11:55:18 UTC (rev 9)
@@ -1,29 +1,30 @@
 <?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";>
+
   <modelVersion>4.0.0</modelVersion>
-  <artifactId>josuuid-linux</artifactId>
-  <groupId>org.arakhne.afc</groupId>
-  <packaging>so</packaging>
-  <version>2.0-SNAPSHOT</version>
-  <name>josuuid Linux Library</name>
-  <description>Linux Native library to obtain a UUID for the operating system</description>
+
   <parent>
-	<artifactId>josuuid</artifactId>
+	<artifactId>afc</artifactId>
 	<groupId>org.arakhne.afc</groupId>
-	<version>2.0-SNAPSHOT</version>
+	<version>1.0-SNAPSHOT</version>
   </parent>
 
+  <groupId>org.arakhne.afc</groupId>
+  <artifactId>josuuid-linux</artifactId>
+  <packaging>so</packaging>
+  <version>${version_arakhnevmutils}</version>
+  <name>${pom.artifactId}</name>
+
 	<!-- ======================================= -->
 	<!-- ====       Project Information      === -->
 	<!-- ======================================= -->
 		
-  <dependencies>
-    <dependency>
-      <groupId>org.arakhne.afc</groupId>
-      <artifactId>arakhneVmutils-java</artifactId>
-      <version>1.0-SNAPSHOT</version>
-    </dependency>    
-  </dependencies>
+	<dependencies>
+		<dependency>
+			<groupId>org.arakhne.afc</groupId>
+			<artifactId>arakhneVmutils-java</artifactId>
+		</dependency>    
+	</dependencies>
 
   <build>
     <finalName>${artifactId}</finalName>

Modified: trunk/arakhneVmutils/native/josuuid/mingw/pom.xml
===================================================================
--- trunk/arakhneVmutils/native/josuuid/mingw/pom.xml	2008-10-09 00:01:27 UTC (rev 8)
+++ trunk/arakhneVmutils/native/josuuid/mingw/pom.xml	2008-10-09 11:55:18 UTC (rev 9)
@@ -1,29 +1,30 @@
 <?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";>
+
   <modelVersion>4.0.0</modelVersion>
-  <artifactId>josuuid-mingw</artifactId>
-  <groupId>org.arakhne.afc</groupId>
-  <packaging>dll</packaging>
-  <version>2.0-SNAPSHOT</version>
-  <name>josuuid Windows&reg; Library</name>
-  <description>Windows&reg; Native library to obtain a UUID for the operating system</description>
+
   <parent>
-	<artifactId>josuuid</artifactId>
+	<artifactId>afc</artifactId>
 	<groupId>org.arakhne.afc</groupId>
-	<version>2.0-SNAPSHOT</version>
+	<version>1.0-SNAPSHOT</version>
   </parent>
 
+  <groupId>org.arakhne.afc</groupId>
+  <artifactId>josuuid-mingw</artifactId>
+  <packaging>dll</packaging>
+  <version>${version_arakhnevmutils}</version>
+  <name>${pom.artifactId}</name>
+
 	<!-- ======================================= -->
 	<!-- ====       Project Information      === -->
 	<!-- ======================================= -->
 		
-  <dependencies>
-    <dependency>
-      <groupId>org.arakhne.afc</groupId>
-      <artifactId>arakhneVmutils-java</artifactId>
-      <version>1.0-SNAPSHOT</version>
-    </dependency>    
-  </dependencies>
+	<dependencies>
+		<dependency>
+			<groupId>org.arakhne.afc</groupId>
+			<artifactId>arakhneVmutils-java</artifactId>
+		</dependency>    
+	</dependencies>
 
   <build>
     <finalName>${artifactId}</finalName>

Modified: trunk/arakhneVmutils/native/josuuid/pom.xml
===================================================================
--- trunk/arakhneVmutils/native/josuuid/pom.xml	2008-10-09 00:01:27 UTC (rev 8)
+++ trunk/arakhneVmutils/native/josuuid/pom.xml	2008-10-09 11:55:18 UTC (rev 9)
@@ -1,18 +1,19 @@
 <?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";>
   <modelVersion>4.0.0</modelVersion>
-  <artifactId>josuuid</artifactId>
-  <groupId>org.arakhne.afc</groupId>
-  <packaging>pom</packaging>
-  <version>2.0-SNAPSHOT</version>
-  <name>josuuid</name>
-  <description>Native library to obtain a UUID for the operating system</description>
+
   <parent>
-	<artifactId>arakhneVmutils-native</artifactId>
+	<artifactId>afc</artifactId>
 	<groupId>org.arakhne.afc</groupId>
-	<version>2.0-SNAPSHOT</version>
+	<version>1.0-SNAPSHOT</version>
   </parent>
 
+  <groupId>org.arakhne.afc</groupId>
+  <artifactId>josuuid</artifactId>
+  <packaging>pom</packaging>
+  <version>${version_arakhnevmutils}</version>
+  <name>${pom.artifactId}</name>
+
 	<!-- ======================================= -->
 	<!-- ====       Project Information      === -->
 	<!-- ======================================= -->
@@ -21,7 +22,6 @@
     <dependency>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-enforcer-plugin</artifactId>
-      <version>1.0-alpha-4</version>
     </dependency>    
   </dependencies>
 

Modified: trunk/arakhneVmutils/native/pom.xml
===================================================================
--- trunk/arakhneVmutils/native/pom.xml	2008-10-09 00:01:27 UTC (rev 8)
+++ trunk/arakhneVmutils/native/pom.xml	2008-10-09 11:55:18 UTC (rev 9)
@@ -1,18 +1,20 @@
 <?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";>
+
   <modelVersion>4.0.0</modelVersion>
-  <artifactId>arakhneVmutils-native</artifactId>
-  <groupId>org.arakhne.afc</groupId>
-  <packaging>pom</packaging>
-  <version>2.0-SNAPSHOT</version>
-  <name>Native Libraries for arakhneVmutils</name>
-  <description>Native libraries for the Arakhnê VM utilities</description>
+
   <parent>
-	<artifactId>arakhneVmutils</artifactId>
+	<artifactId>afc</artifactId>
 	<groupId>org.arakhne.afc</groupId>
-	<version>2.0-SNAPSHOT</version>
+	<version>1.0-SNAPSHOT</version>
   </parent>
 
+  <artifactId>arakhneVmutils-native</artifactId>
+  <groupId>org.arakhne.afc</groupId>
+  <packaging>pom</packaging>
+  <version>${version_arakhnevmutils}</version>
+  <name>${pom.artifactId}</name>
+
 	<!-- ======================================= -->
 	<!-- ====       Project Information      === -->
 	<!-- ======================================= -->
@@ -21,12 +23,4 @@
     <module>josuuid</module>
   </modules>
 
-  <dependencies>
-    <dependency>
-      <groupId>org.arakhne.afc</groupId>
-      <artifactId>arakhneVmutils-java</artifactId>
-      <version>2.0-SNAPSHOT</version>
-    </dependency>    
-  </dependencies>
-
 </project>

Modified: trunk/arakhneVmutils/pom.xml
===================================================================
--- trunk/arakhneVmutils/pom.xml	2008-10-09 00:01:27 UTC (rev 8)
+++ trunk/arakhneVmutils/pom.xml	2008-10-09 11:55:18 UTC (rev 9)
@@ -1,29 +1,33 @@
 <?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";>
   <modelVersion>4.0.0</modelVersion>
-  <groupId>org.arakhne.afc</groupId>
-  <artifactId>arakhneVmutils</artifactId>
-  <packaging>pom</packaging>
-  <version>2.0-SNAPSHOT</version>
-  <name>arakhneVmutils</name>
-  <url>http://www.arakhne.org/arakhneVmutils/</url>
-  <description>Java library that provides additional JVM-based tools.</description>
+
   <parent>
 	<artifactId>afc</artifactId>
 	<groupId>org.arakhne.afc</groupId>
 	<version>1.0-SNAPSHOT</version>
   </parent>
 
+  <groupId>org.arakhne.afc</groupId>
+  <artifactId>arakhneVmutils</artifactId>
+  <packaging>pom</packaging>
+  <version>${version_arakhnevmutils}</version>
+  <name>${pom.artifactId}</name>
+  <url>http://www.arakhne.org/arakhneVmutils/</url>
+
 	<!-- ======================================= -->
 	<!-- ====       Project Information      === -->
 	<!-- ======================================= -->
 		
 	<scm>
-		<connection>scm:svn:svn+ssh://svn.tuxfamily.org/svnroot/arakhne/afc/arakhneVmutils</connection>
-		<developerConnection>scm:svn:svn+ssh://username@xxxxxxxxxxxxxxxxx/svnroot/arakhne/afc/arakhneVmutils</developerConnection>
 		<url>http://www.arakhne.org/websvn.php?project=afc&amp;subproject=arakhneVmutils</url>
 	</scm>
 
+	<modules>
+		<module>java</module>
+		<module>native</module>
+	</modules>
+
 	<build>
 	    <plugins>
 	      <plugin>
@@ -47,9 +51,4 @@
 	    </plugins>
 	</build>
 
-	<modules>
-		<module>java</module>
-		<module>native</module>
-	</modules>
-
 </project>

Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml	2008-10-09 00:01:27 UTC (rev 8)
+++ trunk/pom.xml	2008-10-09 11:55:18 UTC (rev 9)
@@ -12,13 +12,38 @@
   
 
 	<!-- ======================================= -->
+	<!-- ====       Dependencies             === -->
+	<!-- ======================================= -->
+
+	<properties>
+		<version_myjdk>1.6</version_myjdk>
+		<version_arakhnerefs>3.0-SNAPSHOT</version_arakhnerefs>
+		<version_arakhnevmutils>2.0-SNAPSHOT</version_arakhnevmutils>
+	</properties>
+
+	<dependencyManagement>
+		<dependencies>
+			<dependency>
+				<groupId>org.arakhne.afc</groupId>
+				<artifactId>arakhneVmutils-java</artifactId>
+				<version>${version_arakhnevmutils}</version>
+			</dependency>    
+			<dependency>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-enforcer-plugin</artifactId>
+				<version>1.0-alpha-4</version>
+			</dependency>    
+		</dependencies>
+	</dependencyManagement>
+
+	<!-- ======================================= -->
 	<!-- ====       Project Information      === -->
 	<!-- ======================================= -->
 	
-	<!-- modules>
+	<modules>
 		<module>arakhneRefs</module>
 		<module>arakhneVmutils</module>
-	</modules -->
+	</modules>
 
 	<licenses>
 		<license>
@@ -68,6 +93,19 @@
 	<!-- ====  Devel Configuration           === -->
 	<!-- ======================================= -->
 	
+	<distributionManagement>
+		<snapshotRepository>
+			<id>snapshots.afc.arakhne.org</id>
+			<name>AFC Project Snapshots Repository</name>
+			<url>ftp://ftp.tuxfamily.org/arakhne/arakhne-repository/maven/</url>
+		</snapshotRepository>
+		<site>
+			<id>site.afc.arakhne.org</id>
+			<name>AFC Project Websites Repository</name>
+			<url>ftp://ftp.tuxfamily.org/arakhne/arakhne-web/htdocs/maven/afc/</url>
+		</site>
+	</distributionManagement>
+
 	<scm>
 		<connection>scm:svn:svn://svn.tuxfamily.org/svnroot/arakhne/afc/trunk</connection>
 		<developerConnection>scm:svn:svn+ssh://username@xxxxxxxxxxxxxxxxx/svnroot/arakhne/afc/trunk</developerConnection>
@@ -81,8 +119,8 @@
 				<artifactId>maven-compiler-plugin</artifactId>
 				<version>2.0.2</version>
 				<configuration>
-					<source>1.6</source>
-					<target>1.6</target>
+					<source>${version_myjdk}</source>
+					<target>${version_myjdk}</target>
 				</configuration>
 			</plugin>
 			<plugin>
@@ -103,6 +141,25 @@
 				<artifactId>maven-deploy-plugin</artifactId>
 				<version>2.3</version>
 			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-enforcer-plugin</artifactId>
+				<executions>
+					<execution>
+						<id>enforce-java</id>
+						<goals>
+							<goal>enforce</goal>
+						</goals>
+						<configuration>
+							<rules>
+								<requireJavaVersion>
+									<version>${version_myjdk}</version>
+								</requireJavaVersion>
+							</rules>    
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
 		</plugins>
 	</build>
 
@@ -115,6 +172,10 @@
 			<id>Codehaus Snapshots</id>
 			<url>http://snapshots.repository.codehaus.org/</url>
 		</repository>
+		<repository>
+			<id>Arakhn&amp;ecirc; Snapshot Repository</id>
+			<url>http://download.tuxfamily.org/arakhne/maven/</url>
+		</repository>
 	</repositories>
 
 	<!-- ======================================= -->
@@ -160,7 +221,7 @@
 				<groupId>org.apache.maven.plugins</groupId>
 				<artifactId>maven-pmd-plugin</artifactId>
 				<configuration>
-					<targetjdk>1.5</targetjdk>
+					<targetjdk>${version_myjdk}</targetjdk>
 					<rulesets>
 						<ruleset>/rulesets/basic.xml</ruleset>
 						<ruleset>/rulesets/controversial.xml</ruleset>


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/