[Arakhnę-Dev] [12] Enforce the quality of the POM files.

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


Revision: 12
Author:   galland
Date:     2008-10-09 21:04:56 +0200 (Thu, 09 Oct 2008)

Log Message:
-----------
Enforce the quality of the POM files. They are successfully tested for packaging and deployement.

Modified Paths:
--------------
    trunk/arakhneVmutils/pom.xml
    trunk/pom.xml

Added Paths:
-----------
    trunk/arakhneVmutils/bin.xml

Removed Paths:
-------------
    trunk/arakhneVmutils/with-dll.xml


Added: trunk/arakhneVmutils/bin.xml
===================================================================
--- trunk/arakhneVmutils/bin.xml	                        (rev 0)
+++ trunk/arakhneVmutils/bin.xml	2008-10-09 19:04:56 UTC (rev 12)
@@ -0,0 +1,31 @@
+<assembly>
+  <id>bin</id>
+  <formats>
+    <format>jar</format>
+  </formats>
+  <includeBaseDirectory>false</includeBaseDirectory>
+  <moduleSets>
+    <moduleSet>
+      <includeSubModules>false</includeSubModules>
+      <includes>
+        <include>org.arakhne.afc:arakhneVmutils-java</include>
+      </includes>
+      <binaries>
+        <outputDirectory></outputDirectory>
+        <unpack>true</unpack>
+      </binaries>
+    </moduleSet>
+  </moduleSets>
+  <files>
+    <file>
+      <source>native/josuuid/linux/target/josuuid-linux.so</source>
+      <outputDirectory>org/arakhne/vmutil</outputDirectory>
+      <destName>libjosuuid.so</destName>
+    </file>
+    <file>
+      <source>native/josuuid/mingw/target/josuuid-mingw.dll</source>
+      <outputDirectory>org/arakhne/vmutil</outputDirectory>
+      <destName>josuuid.dll</destName>
+    </file>
+  </files>
+</assembly>

Modified: trunk/arakhneVmutils/pom.xml
===================================================================
--- trunk/arakhneVmutils/pom.xml	2008-10-09 19:04:10 UTC (rev 11)
+++ trunk/arakhneVmutils/pom.xml	2008-10-09 19:04:56 UTC (rev 12)
@@ -31,22 +31,21 @@
 	<build>
 	    <plugins>
 	      <plugin>
-		<artifactId>maven-assembly-plugin</artifactId>
-		<configuration>
-		  <descriptors>
-		    <descriptor>with-dll.xml</descriptor>
-		  </descriptors>
-		</configuration>
-		<!-- 'execution' is for maven 2.1 and higher -->
-		<!-- executions> 
-		  <execution>
-		    <id>make-assembly</id>
-		    <phase>package</phase>
-		    <goals>
-		      <goal>single</goal>
-		    </goals>
-		  </execution>
-		</executions -->
+			<artifactId>maven-assembly-plugin</artifactId>
+			<configuration>
+			  <descriptors>
+			    <descriptor>bin.xml</descriptor>
+			  </descriptors>
+			</configuration>
+			<executions> 
+			  <execution>
+			    <id>make-assembly</id>
+			    <phase>package</phase>
+			    <goals>
+			      <goal>attached</goal>
+			    </goals>
+			  </execution>
+			</executions>
 	      </plugin>
 	    </plugins>
 	</build>

Deleted: trunk/arakhneVmutils/with-dll.xml
===================================================================
--- trunk/arakhneVmutils/with-dll.xml	2008-10-09 19:04:10 UTC (rev 11)
+++ trunk/arakhneVmutils/with-dll.xml	2008-10-09 19:04:56 UTC (rev 12)
@@ -1,31 +0,0 @@
-<assembly>
-  <id>with-dll</id>
-  <formats>
-    <format>jar</format>
-  </formats>
-  <includeBaseDirectory>false</includeBaseDirectory>
-  <moduleSets>
-    <moduleSet>
-      <includeSubModules>true</includeSubModules>
-      <includes>
-        <include>org.arakhne.afc:arakhneVmutils-java</include>
-      </includes>
-      <binaries>
-        <outputDirectory></outputDirectory>
-        <unpack>true</unpack>
-      </binaries>
-    </moduleSet>
-  </moduleSets>
-  <files>
-    <file>
-      <source>native/josuuid/linux/target/josuuid-linux.so</source>
-      <outputDirectory>org/arakhne/vmutil</outputDirectory>
-      <destName>libjosuuid.so</destName>
-    </file>
-    <file>
-      <source>native/josuuid/mingw/target/josuuid-mingw.dll</source>
-      <outputDirectory>org/arakhne/vmutil</outputDirectory>
-      <destName>josuuid.dll</destName>
-    </file>
-  </files>
-</assembly>

Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml	2008-10-09 19:04:10 UTC (rev 11)
+++ trunk/pom.xml	2008-10-09 19:04:56 UTC (rev 12)
@@ -94,22 +94,22 @@
 	<!-- ======================================= -->
 	
 	<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>
+		<repository>
+			<id>repository.arakhne.org</id>
+			<name>Arakhn&amp;ecirc; Snapshots Repository</name>
+			<url>file:///srv/arakhne.org/repository/maven/</url>
+		</repository>
 		<site>
-			<id>site.afc.arakhne.org</id>
+			<id>afc.site.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 -->
-		<connection>scm:svn:http://svn.tuxfamily.org/arakhne/afc/trunk?view=co</connection>
-		<developerConnection>scm:svn:svn+ssh://username@xxxxxxxxxxxxxxxxx/svnroot/arakhne/afc/trunk</developerConnection>
+		<connection>scm:svn:svn://svn.tuxfamily.org/svnroot/arakhne/afc/trunk</connection>
+		<!-- connection>scm:svn:http://svn.tuxfamily.org/arakhne/afc/trunk?view=co</connection -->
+		<developerConnection>scm:svn:svn+ssh://svn.tuxfamily.org/svnroot/arakhne/afc/trunk</developerConnection>
 		<url>http://www.arakhne.org/websvn.php?project=afc</url>
 	</scm>
 
@@ -174,7 +174,7 @@
 			<url>http://snapshots.repository.codehaus.org/</url>
 		</repository>
 		<repository>
-			<id>Arakhn&amp;ecirc; Snapshot Repository</id>
+			<id>Arakhn&amp;ecirc; Maven Repository</id>
 			<url>http://download.tuxfamily.org/arakhne/maven/</url>
 		</repository>
 	</repositories>


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