From 453a3f04482f9a7f846b565044612b2df7354629 Mon Sep 17 00:00:00 2001
From: brett
Date: Sun, 25 Apr 2004 02:34:08 +0000
Subject: [PATCH] PR: MPNATIVE-3 more configurable
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115046 13f79535-47bb-0310-9956-ffa450edef68
---
native/plugin.jelly | 53 +++++++++++++++------------
native/plugin.properties | 10 +++++
native/project.xml | 6 ++-
native/samples/helloworld/maven.xml | 5 ---
native/xdocs/changes.xml | 1 +
native/xdocs/goals.xml | 8 ++++
native/xdocs/index.xml | 3 --
native/xdocs/navigation.xml | 1 +
native/xdocs/properties.xml | 57 +++++++++++++++++++++++++++++
9 files changed, 111 insertions(+), 33 deletions(-)
create mode 100644 native/plugin.properties
diff --git a/native/plugin.jelly b/native/plugin.jelly
index 6e867cc1..1674a00d 100644
--- a/native/plugin.jelly
+++ b/native/plugin.jelly
@@ -43,12 +43,17 @@
-
-
-
+
+
+
+
+
+
+
+
-
+
@@ -109,7 +114,7 @@
Running Javah on java classes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/native/plugin.properties b/native/plugin.properties
new file mode 100644
index 00000000..9c24ca94
--- /dev/null
+++ b/native/plugin.properties
@@ -0,0 +1,10 @@
+maven.native.link=shared
+maven.native.include.os=linux
+maven.native.debug=true
+maven.native.src=src/unix
+
+maven.native.compiler.name=gcc
+maven.native.linker.name=${maven.native.compiler.name}
+maven.native.compiler.target=
+maven.native.linker.target=${maven.native.compiler.target}
+
diff --git a/native/project.xml b/native/project.xml
index dfc973a5..bcf7edbb 100644
--- a/native/project.xml
+++ b/native/project.xml
@@ -52,7 +52,11 @@
-
+
+
+ Joachim Bader
+
+
ant-contrib
diff --git a/native/samples/helloworld/maven.xml b/native/samples/helloworld/maven.xml
index 9ea9da42..5a6e62e8 100644
--- a/native/samples/helloworld/maven.xml
+++ b/native/samples/helloworld/maven.xml
@@ -20,11 +20,6 @@
xmlns:ant="jelly:ant">
-
-
diff --git a/native/xdocs/changes.xml b/native/xdocs/changes.xml
index e23a5ed6..ebcd0081 100644
--- a/native/xdocs/changes.xml
+++ b/native/xdocs/changes.xml
@@ -25,6 +25,7 @@
+ Use properties more
Help javah work on all JDK features
diff --git a/native/xdocs/goals.xml b/native/xdocs/goals.xml
index fc98d453..02c789c5 100644
--- a/native/xdocs/goals.xml
+++ b/native/xdocs/goals.xml
@@ -25,10 +25,18 @@
+
+ native:compile
+ Compile the native sources
+
native:jniheader
Generates JNI header files
+
+ native:install
+ Install the lib in the local repository
+
\ No newline at end of file
diff --git a/native/xdocs/index.xml b/native/xdocs/index.xml
index dde793ce..a52e759c 100644
--- a/native/xdocs/index.xml
+++ b/native/xdocs/index.xml
@@ -31,9 +31,6 @@
different compilers such as gcc, msvc, bcc, ...
-
- Currently, this plugin only supports generation of jni header files.
-
diff --git a/native/xdocs/navigation.xml b/native/xdocs/navigation.xml
index 403a0194..d4d2bd9a 100644
--- a/native/xdocs/navigation.xml
+++ b/native/xdocs/navigation.xml
@@ -24,6 +24,7 @@
+