Skip to content

Commit

Permalink
bind to generate-sources and set explicit order
Browse files Browse the repository at this point in the history
  • Loading branch information
Juergen Rose committed Mar 13, 2024
1 parent c6b480c commit 6f5d44a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-native</id>
<phase>process-resources</phase>
<id>02-add-native</id>
<phase>generate-sources</phase>
<goals>
<goal>add-resource</goal>
</goals>
Expand Down Expand Up @@ -195,7 +195,7 @@
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>download-files</id>
<id>01-download-files</id>
<phase>generate-sources</phase>
<goals>
<goal>run</goal>
Expand Down
2 changes: 1 addition & 1 deletion src/com/ftdi/FTD2XX.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ static String getNative() {
} else if (Platform.isWindows() && Platform.isIntel() && !Platform.is64Bit()) {
return "ftd2xx.dll";
} else if (Platform.isLinux()) {
return "libftd2xx.so.1.4.8";
return "libftd2xx.so.1.4.27";
} else {
throw new Error("OS not supported");
}
Expand Down

0 comments on commit 6f5d44a

Please sign in to comment.