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

+ +