|
Maven
Instructions on how to use NativeLibs4Java from Maven projects
Featured
NativeLibs4Java has a Maven repository in which new versions of both binaries and sources of its subprojects are regularly uploaded (only OpenCL4Java, for now). If you wish to wrap your own native library for Java, you might want to have a look at JNAerator's Maven instructions RepositoryTo use NativeLibs4Java's Maven repository, you need to add the following lines to your pom.xml : <repository> <id>nativelibs4java-repo</id> <url>http://nativelibs4java.sourceforge.net/maven</url> </repository> Usage
<dependency> <groupId>com.nativelibs4java</groupId> <artifactId>javacl</artifactId> <version>1.0.0-RC1</version> <scope>compile</scope> </dependency> <dependency> <groupId>com.nativelibs4java</groupId> <artifactId>bridj</artifactId> <version>0.6</version> <scope>compile</scope> </dependency> |
► Sign in to add a comment
Couldn't these be uploaded to Maven Central?
http://search.maven.org/