Re: Automating the build of a JNI based application

2015-08-03 Thread Dušan Rychnovský
Hi, Thanks for your suggestions. I tried the nar-maven-plugin as described on the usage page ( http://maven-nar.github.io/usage.html). I have the following pom: ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0;

Re: Automating the build of a JNI based application

2015-08-03 Thread Karl Heinz Marbaise
Hi, I would suggest to use Maven 3.X and not Maven 2.X anymore...but apart from that the site shows Maven minimum 2.0.9[2]...which looks like a bug... Furthermore please be aware of EoL for Maven 2 [1]. [1] http://maven.apache.org/maven-2.x-eol.html [2]

Re: Automating the build of a JNI based application

2015-08-01 Thread Benson Margulies
Look for the modern nar plugin on github. On Fri, Jul 31, 2015 at 12:59 PM, Karl Heinz Marbaise khmarba...@gmx.de wrote: Hi, On 7/31/15 6:51 PM, Dušan Rychnovský wrote: Hi, I'm creating a JNI wrapper on top of a C++ library. I'd like to have a one-click Maven build for the whole

Automating the build of a JNI based application

2015-07-31 Thread Dušan Rychnovský
Hi, I'm creating a JNI wrapper on top of a C++ library. I'd like to have a one-click Maven build for the whole application. When building it manually, I need to do the following: javac ... (compile the Java source files) javah ... (generate JNI header files from Java class files) g++ ...

Re: Automating the build of a JNI based application

2015-07-31 Thread Karl Heinz Marbaise
Hi, On 7/31/15 6:51 PM, Dušan Rychnovský wrote: Hi, I'm creating a JNI wrapper on top of a C++ library. I'd like to have a one-click Maven build for the whole application. When building it manually, I need to do the following: javac ... (compile the Java source files) javah ... (generate JNI