Skip to content

Commit

Permalink
Reformat native library pom.xmls
Browse files Browse the repository at this point in the history
  • Loading branch information
aushacker committed Jul 21, 2021
1 parent 68e98b8 commit d1feee8
Show file tree
Hide file tree
Showing 3 changed files with 285 additions and 285 deletions.
186 changes: 93 additions & 93 deletions yad2xxDll/pom.xml
Original file line number Diff line number Diff line change
@@ -1,119 +1,119 @@
<?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">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

<modelVersion>4.0.0</modelVersion>
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>net.sf.yad2xx</groupId>
<artifactId>yad2xx</artifactId>
<version>2.1-SNAPSHOT</version>
</parent>
<parent>
<groupId>net.sf.yad2xx</groupId>
<artifactId>yad2xx</artifactId>
<version>2.1-SNAPSHOT</version>
</parent>

<artifactId>FTDIInterface</artifactId>
<artifactId>FTDIInterface</artifactId>

<name>yad2xx - Windows DLL</name>
<name>yad2xx - Windows DLL</name>

<packaging>dll</packaging>
<packaging>dll</packaging>

<dependencies>
<dependencies>

<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>yad2xxJava</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>yad2xxJava</artifactId>
<version>${project.version}</version>
</dependency>

</dependencies>
</dependencies>

<build>
<plugins>
<build>
<plugins>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>native-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<compilerProvider>msvc</compilerProvider>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>native-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<compilerProvider>msvc</compilerProvider>

<javahClassNames>
<javahClassName>net.sf.yad2xx.FTDIInterface</javahClassName>
</javahClassNames>
<javahVerbose>true</javahVerbose>

<sources>
<source>
<directory>../src/main/native</directory>
<fileNames>
<fileName>FTDIInterface.c</fileName>
</fileNames>
</source>
<javahClassNames>
<javahClassName>net.sf.yad2xx.FTDIInterface</javahClassName>
</javahClassNames>
<javahVerbose>true</javahVerbose>

<sources>
<source>
<!-- JNI main includes. -->
<directory>../src/main/native</directory>
<fileNames>
<fileName>FTDIInterface.c</fileName>
</fileNames>
</source>
<source>
<!-- JNI main includes. -->
<directory>${env.JAVA_HOME}/include</directory>
</source>
<source>
<!-- Windows specific JNI includes. -->
<!-- Windows specific JNI includes. -->
<directory>${env.JAVA_HOME}/include/win32</directory>
</source>
<source>
<!-- FTDI supplied includes. -->
<directory>../ftdi/include</directory>
</source>
</sources>
<source>
<!-- FTDI supplied includes. -->
<directory>../ftdi/include</directory>
</source>
</sources>

<linkerStartOptions>
<linkerStartOption>/DLL /LIBPATH:../ftdi/windows/lib</linkerStartOption>
</linkerStartOptions>
<linkerEndOptions>
<linkerStartOptions>
<linkerStartOption>/DLL /LIBPATH:../ftdi/windows/lib</linkerStartOption>
</linkerStartOptions>
<linkerEndOptions>
<linkerEndOption>ftd2xx.lib</linkerEndOption>
<linkerEndOption>LibFT4222-64.lib</linkerEndOption>
</linkerEndOptions>
</linkerEndOptions>

</configuration>
</plugin>
</configuration>
</plugin>

</plugins>
<pluginManagement>
<plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
native-maven-plugin
</artifactId>
<versionRange>
[1.0-alpha-7,)
</versionRange>
<goals>
<goal>initialize</goal>
<goal>unzipinc</goal>
<goal>javah</goal>
<goal>compile</goal>
<goal>link</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</plugins>
<pluginManagement>
<plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
native-maven-plugin
</artifactId>
<versionRange>
[1.0-alpha-7,)
</versionRange>
<goals>
<goal>initialize</goal>
<goal>unzipinc</goal>
<goal>javah</goal>
<goal>compile</goal>
<goal>link</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

</project>
Loading

0 comments on commit d1feee8

Please sign in to comment.