[Arakhnę-Dev] [213] * Fixing bundlelization of the projects.

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


Revision: 213
Author:   galland
Date:     2011-02-28 13:26:21 +0100 (Mon, 28 Feb 2011)
Log Message:
-----------
* Fixing bundlelization of the projects.

Modified Paths:
--------------
    trunk/arakhneVmutils/java/pom.xml
    trunk/arakhneVmutils/native/josuuid/linux32/pom.xml
    trunk/arakhneVmutils/native/josuuid/linux64/pom.xml
    trunk/arakhneVmutils/native/josuuid/mingw32/pom.xml
    trunk/arakhneVmutils/native/josuuid/mingw64/pom.xml

Modified: trunk/arakhneVmutils/java/pom.xml
===================================================================
--- trunk/arakhneVmutils/java/pom.xml	2011-02-28 10:17:28 UTC (rev 212)
+++ trunk/arakhneVmutils/java/pom.xml	2011-02-28 12:26:21 UTC (rev 213)
@@ -15,7 +15,7 @@
 	</parent>
 
 	<artifactId>arakhneVmutils-java</artifactId>
-	<packaging>bundle</packaging>
+	<packaging>jar</packaging>
 	<groupId>org.arakhne.afc</groupId>
 	<version>6.0-SNAPSHOT</version>
 	<name>${pom.artifactId}</name>
@@ -32,6 +32,17 @@
 	<build>
 		<plugins>
 			<plugin>
+				<artifactId>maven-jar-plugin</artifactId>
+				<configuration>
+					<archive>
+						<manifestFile>${manifest.file}</manifestFile>
+						<manifest>
+							<mainClass>org.arakhne.vmutil.OperatingSystemInfo</mainClass>
+						</manifest>
+					</archive>
+				</configuration>
+			</plugin>
+			<plugin>
 				<groupId>org.apache.felix</groupId>
 				<artifactId>maven-bundle-plugin</artifactId>
 				<version>2.1.0</version>
@@ -47,12 +58,13 @@
 				</executions>
 				<configuration>
 
+					<supportedProjectTypes>
+						<supportedProjectType>jar</supportedProjectType>
+						<supportedProjectType>bundle</supportedProjectType>
+						<supportedProjectType>war</supportedProjectType>
+					</supportedProjectTypes>
 
-
 					<archive>
-						<manifest>
-								<mainClass>org.arakhne.vmutil.OperatingSystemInfo</mainClass>
-						</manifest>
 						<manifestFile>${manifest.file}</manifestFile>
 					</archive>
 

Modified: trunk/arakhneVmutils/native/josuuid/linux32/pom.xml
===================================================================
--- trunk/arakhneVmutils/native/josuuid/linux32/pom.xml	2011-02-28 10:17:28 UTC (rev 212)
+++ trunk/arakhneVmutils/native/josuuid/linux32/pom.xml	2011-02-28 12:26:21 UTC (rev 213)
@@ -65,9 +65,9 @@
             <id>javah</id>
             <phase>generate-sources</phase>
             <configuration>
-              <classNames>
+              <javahClassNames>
                 <className>org.arakhne.vmutil.OperatingSystemNativeWrapper</className>
-              </classNames>
+              </javahClassNames>
             </configuration>
             <goals>
               <goal>javah</goal> 

Modified: trunk/arakhneVmutils/native/josuuid/linux64/pom.xml
===================================================================
--- trunk/arakhneVmutils/native/josuuid/linux64/pom.xml	2011-02-28 10:17:28 UTC (rev 212)
+++ trunk/arakhneVmutils/native/josuuid/linux64/pom.xml	2011-02-28 12:26:21 UTC (rev 213)
@@ -65,9 +65,9 @@
             <id>javah</id>
             <phase>generate-sources</phase>
             <configuration>
-              <classNames>
+              <javahClassNames>
                 <className>org.arakhne.vmutil.OperatingSystemNativeWrapper</className>
-              </classNames>
+              </javahClassNames>
             </configuration>
             <goals>
               <goal>javah</goal> 

Modified: trunk/arakhneVmutils/native/josuuid/mingw32/pom.xml
===================================================================
--- trunk/arakhneVmutils/native/josuuid/mingw32/pom.xml	2011-02-28 10:17:28 UTC (rev 212)
+++ trunk/arakhneVmutils/native/josuuid/mingw32/pom.xml	2011-02-28 12:26:21 UTC (rev 213)
@@ -101,9 +101,9 @@
             <id>javah</id>
             <phase>generate-sources</phase>
             <configuration>
-              <classNames>
+              <javahClassNames>
                 <className>org.arakhne.vmutil.OperatingSystemNativeWrapper</className>
-              </classNames>
+              </javahClassNames>
             </configuration>
             <goals>
               <goal>javah</goal> 

Modified: trunk/arakhneVmutils/native/josuuid/mingw64/pom.xml
===================================================================
--- trunk/arakhneVmutils/native/josuuid/mingw64/pom.xml	2011-02-28 10:17:28 UTC (rev 212)
+++ trunk/arakhneVmutils/native/josuuid/mingw64/pom.xml	2011-02-28 12:26:21 UTC (rev 213)
@@ -101,9 +101,9 @@
             <id>javah</id>
             <phase>generate-sources</phase>
             <configuration>
-              <classNames>
+              <javahClassNames>
                 <className>org.arakhne.vmutil.OperatingSystemNativeWrapper</className>
-              </classNames>
+              </javahClassNames>
             </configuration>
             <goals>
               <goal>javah</goal> 


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