Hi we made something like that, but we found the maven-native-plugin too restrictive.
Have a look at: http://java.freehep.org/freehep-nar-plugin it creates static libs at the moment, but we can change it to also do shared libs. Groeten Mark -----Original Message----- From: Ruud Wijnands [mailto:[EMAIL PROTECTED] Sent: Thursday, July 07, 2005 7:55 AM To: [email protected] Subject: Question: maven 1 - native plugin usage Hi, I am new to maven and I would like to find out whether or not it is possible to build native c++ code via the native plugin. I have a few requirements and after investigating the native plugin I think they are not meet. By studying the plugin I have the impression that I can only build shared libraries, since the native:compile target is always renamed to something like <artifactId>-<version>.so Is that true? Here are my requirements: - build a set of c++ files into a single shared library for linux - build a set of c++ files into a single static library for linux - build a c++ file into an application - link against third-party libraries - provide include paths to thirdparty libraties - set compiler and link flags If the stuff mentioned above is possible, does anyone have an or some examples for me? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
