From 53108072705caf8873f2507d660111dc625c9341 Mon Sep 17 00:00:00 2001 From: dion Date: Thu, 29 Jul 2004 07:51:19 +0000 Subject: [PATCH] MPSCM-20. Add scm:cvs-create-patch goal git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115896 13f79535-47bb-0310-9956-ffa450edef68 --- scm/plugin.jelly | 15 +++++++++++++++ scm/plugin.properties | 5 ++++- scm/xdocs/changes.xml | 1 + scm/xdocs/goals.xml | 7 +++++++ scm/xdocs/properties.xml | 19 +++++++++++++++++++ 5 files changed, 46 insertions(+), 1 deletion(-) diff --git a/scm/plugin.jelly b/scm/plugin.jelly index 2d63f744..144c369f 100644 --- a/scm/plugin.jelly +++ b/scm/plugin.jelly @@ -348,5 +348,20 @@ failonerror="true" /> + + + + + + + + + Patch created in ${maven.scm.cvs.patch.dir}/${maven.scm.cvs.patch.file} + + diff --git a/scm/plugin.properties b/scm/plugin.properties index a168adf2..f2cb1a6b 100644 --- a/scm/plugin.properties +++ b/scm/plugin.properties @@ -49,4 +49,7 @@ maven.scm.cvs.checkout.flags=-P maven.scm.cvs.sticky.tag= # Whether to use quiet mode maven.scm.cvs.quiet=true - +# The file name for the patch +maven.scm.cvs.patch.file=patch.txt +# The working directory for patching +maven.scm.cvs.patch.dir=${maven.build.dir}/scm/patch diff --git a/scm/xdocs/changes.xml b/scm/xdocs/changes.xml index f395c30a..7e200f68 100644 --- a/scm/xdocs/changes.xml +++ b/scm/xdocs/changes.xml @@ -25,6 +25,7 @@ + Add scm:cvs-create-patch goal to help in creating patches Set default maven.scm.method to cvs diff --git a/scm/xdocs/goals.xml b/scm/xdocs/goals.xml index fb18a260..1d94e088 100644 --- a/scm/xdocs/goals.xml +++ b/scm/xdocs/goals.xml @@ -55,6 +55,13 @@ that are not provided you will be prompted for them. + + scm:cvs-create-patch + + Creates a patch in ${maven.scm.cvs.patch.dir}/${maven.scm.cvs.patch.file} + of the changes made to the current project + + diff --git a/scm/xdocs/properties.xml b/scm/xdocs/properties.xml index 911780fa..9aa324c9 100644 --- a/scm/xdocs/properties.xml +++ b/scm/xdocs/properties.xml @@ -145,6 +145,25 @@

Used as the tag for the cvs-tag-project goal.

+ + maven.scm.cvs.patch.dir + Yes + +

Working directory for creating a patch file. Used by the cvs-create-patch goal.

+

Defaults to ${maven.build.dir}/scm/patch

+ + + + maven.scm.cvs.patch.file + Yes + +

+ The name of the patch file created y the cvs-create-patch goal. + in the ${maven.scm.cvs.patch.dir} directory +

+

Defaults to patch.txt

+ +