[Arakhnę-Dev] [346] * Java 1.6 -> Java 1.7 |
[ Thread Index |
Date Index
| More arakhne.org/dev Archives
]
Revision: 346
Author: galland
Date: 2012-07-09 22:17:39 +0200 (Mon, 09 Jul 2012)
Log Message:
-----------
* Java 1.6 -> Java 1.7
Added Paths:
-----------
trunk/arakhneVmutils/arakhneVmutils-native/josuuid/josuuid-mingw64/pom.xml
Property Changed:
----------------
trunk/arakhneVmutils/arakhneVmutils-native/josuuid/josuuid-mingw64/
Property changes on: trunk/arakhneVmutils/arakhneVmutils-native/josuuid/josuuid-mingw64
___________________________________________________________________
Added: svn:ignore
+ .classpath
..metadata
..settings
..project
target
bin
Added: trunk/arakhneVmutils/arakhneVmutils-native/josuuid/josuuid-mingw64/pom.xml
===================================================================
--- trunk/arakhneVmutils/arakhneVmutils-native/josuuid/josuuid-mingw64/pom.xml (rev 0)
+++ trunk/arakhneVmutils/arakhneVmutils-native/josuuid/josuuid-mingw64/pom.xml 2012-07-09 20:17:39 UTC (rev 346)
@@ -0,0 +1,129 @@
+<?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>
+
+ <parent>
+ <artifactId>josuuid</artifactId>
+ <groupId>org.arakhne.afc</groupId>
+ <version>7.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>josuuid-mingw64</artifactId>
+ <packaging>dll</packaging>
+ <name>Win 64 OS UUID Library</name>
+
+ <!-- ======================================= -->
+ <!-- ==== Project Information === -->
+ <!-- ======================================= -->
+
+ <build>
+ <finalName>${project.artifactId}</finalName>
+
+ <plugins>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>enforce-beanshell</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <evaluateBeanshell>
+ <condition>
+ String path = System.getenv("PATH");
+ String[] parts = path.split(File.pathSeparator);
+ boolean ok = false;
+ for(int i=0; !ok && i<parts.length; i++) {
+ ok = new File(parts[i],"x86_64-w64-mingw32-gcc").canExecute();
+ }
+ ok
+ </condition>
+ </evaluateBeanshell>
+ <requireOS>
+ <name>linux</name>
+ <family>unix</family>
+ </requireOS>
+ </rules>
+ <fail>true</fail>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>native-maven-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <compilerProvider>generic</compilerProvider>
+ <compilerExecutable>x86_64-w64-mingw32-gcc</compilerExecutable>
+ <compilerStartOptions>
+ <compilerStartOption>-m64 -O0 -Wall -Werror -fmessage-length=0</compilerStartOption>
+ </compilerStartOptions>
+
+ <javahOS>linux</javahOS> <!-- not 'windows' to retreive the jni_md.h file -->
+
+ <sources>
+ <source>
+ <directory>../src/main/native</directory>
+ <fileNames>
+ <fileName>utils.c</fileName>
+ <fileName>winos.c</fileName>
+ <fileName>OperatingSystemNativeWrapperJNI.c</fileName>
+ </fileNames>
+ </source>
+ </sources>
+
+ <linkerExecutable>x86_64-w64-mingw32-gcc</linkerExecutable>
+ <linkerStartOptions>
+ <linkerStartOption>-shared</linkerStartOption>
+ </linkerStartOptions>
+
+ </configuration>
+
+ <executions>
+ <execution>
+ <id>javah</id>
+ <phase>generate-sources</phase>
+ <configuration>
+ <javahClassNames>
+ <className>org.arakhne.vmutil.OperatingSystemNativeWrapper</className>
+ </javahClassNames>
+ </configuration>
+ <goals>
+ <goal>javah</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <forkMode>once</forkMode>
+ <environmentVariables>
+ <LD_LIBRARY_PATH>${project.build.directory}</LD_LIBRARY_PATH>
+ </environmentVariables>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+
+ </plugins>
+
+ </build>
+
+
+</project>
Property changes on: trunk/arakhneVmutils/arakhneVmutils-native/josuuid/josuuid-mingw64/pom.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain