From 7937fe565704028c80d624e5f772e341300b5bc0 Mon Sep 17 00:00:00 2001
From: brett
Date: Sat, 12 Jun 2004 02:27:12 +0000
Subject: [PATCH] PR: MPGUMP-1 Add tag
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115457 13f79535-47bb-0310-9956-ffa450edef68
---
gump/plugin.jelly | 15 ++++++++++++++-
gump/plugin.properties | 5 +++++
gump/project.xml | 2 +-
gump/xdocs/changes.xml | 4 ++++
gump/xdocs/properties.xml | 28 ++++++++++++++++++++++++++++
5 files changed, 52 insertions(+), 2 deletions(-)
diff --git a/gump/plugin.jelly b/gump/plugin.jelly
index 4c4c5c45..8a258a31 100644
--- a/gump/plugin.jelly
+++ b/gump/plugin.jelly
@@ -52,6 +52,12 @@
+
+
+
+ You must specify one of maven.gump.ant and maven.gump.maven
+
+
@@ -70,9 +76,16 @@
-
+
+
+
+
+
+
+
+
${pom.package}
diff --git a/gump/plugin.properties b/gump/plugin.properties
index fb1237a4..ad35302e 100644
--- a/gump/plugin.properties
+++ b/gump/plugin.properties
@@ -14,3 +14,8 @@
# limitations under the License.
# -------------------------------------------------------------------
+maven.gump.ant.generate = false
+maven.gump.maven.generate = true
+
+maven.gump.ant.target = dist
+maven.gump.maven.goals = jar
diff --git a/gump/project.xml b/gump/project.xml
index a5f7298a..736ce02c 100644
--- a/gump/project.xml
+++ b/gump/project.xml
@@ -23,7 +23,7 @@
3
maven-gump-plugin
Maven Gump Plug-in
- 1.3
+ 1.4-SNAPSHOT
produce Gump descriptor
http://maven.apache.org/reference/plugins/gump/
diff --git a/gump/xdocs/changes.xml b/gump/xdocs/changes.xml
index 58b75250..e1d83b50 100644
--- a/gump/xdocs/changes.xml
+++ b/gump/xdocs/changes.xml
@@ -24,6 +24,10 @@
dIon Gillard
+
+ Allow creation of <maven descriptor element, and default to it
+ Add maven.gump.ant.target and maven.gump.maven.goal properties
+
gump.xml generated into basedir
diff --git a/gump/xdocs/properties.xml b/gump/xdocs/properties.xml
index a348c8db..2aafaa23 100644
--- a/gump/xdocs/properties.xml
+++ b/gump/xdocs/properties.xml
@@ -33,6 +33,34 @@
| Property | Optional? | Description |
+
+ | maven.gump.ant.generate |
+ Yes |
+
+ Set to true to generate an ant element. By default, none is added to the descriptor.
+ |
+
+
+ | maven.gump.maven.generate |
+ Yes |
+
+ Set to false to not generate a maven element. By default, a maven element is added to the descriptor.
+ |
+
+
+ | maven.gump.ant.target |
+ Yes |
+
+ The target to execute. Defaults to dist.
+ |
+
+
+ | maven.gump.maven.goals |
+ Yes |
+
+ The goals to execute. Defaults to jar.
+ |
+
| pom.dependencies |
Yes |