diff --git a/pom.xml b/pom.xml index ec9a1b41..0166b10c 100644 --- a/pom.xml +++ b/pom.xml @@ -2,11 +2,46 @@ 4.0.0 com.nativelibs4java - bridj + bridj-odfi BridJ (NativeLibs4Java C/C++ Interop Layer) http://code.google.com/p/bridj/ 0.7.1-SNAPSHOT bundle + + + + + + + com.nativelibs4java + nativelibs4java-parent + 1.10-SNAPSHOT + + + + + + + odfi.central + scpexe://cd@deploy.opendesignflow.org/cd/maven/sites/${project.groupId}/${project.artifactId}/ + + + odfi.central + ODFI Public Release Repository + https://www.opendesignflow.org/maven/repository/internal/ + + + odfi.snapshot + ODFI Public Snapshot Repository + https://www.opendesignflow.org/maven/repository/snapshots/ + + + + sonatype @@ -26,16 +61,15 @@ v0_7_0 true + + + scm:git:git@github.com:nativelibs4java/BridJ.git scm:git:git@github.com:nativelibs4java/BridJ.git http://github.com/nativelibs4java/BridJ - - com.nativelibs4java - nativelibs4java-parent - 1.10-SNAPSHOT - + junit diff --git a/src/main/java/org/bridj/BridJ.java b/src/main/java/org/bridj/BridJ.java index be180414..c8af51c9 100644 --- a/src/main/java/org/bridj/BridJ.java +++ b/src/main/java/org/bridj/BridJ.java @@ -798,6 +798,19 @@ public static synchronized void addNativeLibraryDependencies(String name, String } } } + + /** + * Reset native library dependency for a given library + * Useful to test multiple dependent libraries until one works. + * @param name + */ + public static synchronized void resetNativeLibraryDependencies(String name) { + List list = libraryDependencies.get(name); + if (list != null) { + libraryDependencies.put(name, list = new ArrayList()); + } + + } private static final Pattern numPat = Pattern.compile("\\b(\\d+)\\b"); /**