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
This commit is contained in:
dion committed 2004-07-29 07:51:19 +00:00
1 parent ac7faa3a8b
commit 5310807270
5 files changed
+46 -1

No files matched your search

+15
View File
@@ -348,5 +348,20 @@
failonerror="true"
/>
</goal>
<!--==================================================================-->
<!-- Patch - CVS -->
<!--==================================================================-->
<goal name="scm:cvs-create-patch">
<ant:delete dir="${maven.scm.cvs.patch.dir}"/>
<ant:mkdir dir="${maven.scm.cvs.patch.dir}"/>
<cvs command="diff -u -N -R" output="${maven.scm.cvs.patch.dir}/${maven.scm.cvs.patch.file}"
quiet="${maven.scm.cvs.quiet}"
cvsRsh="${maven.scm.cvs.rsh}"
cvsRoot="${maven.scm.cvs.root}"
failonerror="false"/>
<ant:echo>Patch created in ${maven.scm.cvs.patch.dir}/${maven.scm.cvs.patch.file}</ant:echo>
</goal>
</project>
+4 -1
View File
@@ -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
+1
View File
@@ -25,6 +25,7 @@
</properties>
<body>
<release version="1.4.1-SNAPSHOT" date="in CVS">
<action dev="dion" type="add" issue="MPSCM-20">Add scm:cvs-create-patch goal to help in creating patches</action>
<action dev="carlos" type="fix" issue="MPSCM-13">Set default <code>maven.scm.method</code> to cvs</action>
</release>
<release version="1.4" date="2004-06-18">
+7
View File
@@ -55,6 +55,13 @@
that are not provided you will be prompted for them.
</description>
</goal>
<goal>
<name>scm:cvs-create-patch</name>
<description>
Creates a patch in ${maven.scm.cvs.patch.dir}/${maven.scm.cvs.patch.file}
of the changes made to the current project
</description>
</goal>
</goals>
</body>
</document>
+19
View File
@@ -145,6 +145,25 @@
<p>Used as the tag for the <code>cvs-tag-project</code> goal.</p>
</td>
</tr>
<tr>
<td>maven.scm.cvs.patch.dir</td>
<td>Yes</td>
<td>
<p>Working directory for creating a patch file. Used by the <code>cvs-create-patch</code> goal.</p>
<p>Defaults to <code>${maven.build.dir}/scm/patch</code></p>
</td>
</tr>
<tr>
<td>maven.scm.cvs.patch.file</td>
<td>Yes</td>
<td>
<p>
The name of the patch file created y the <code>cvs-create-patch</code> goal.
in the <code>${maven.scm.cvs.patch.dir}</code> directory
</p>
<p>Defaults to <code>patch.txt</code></p>
</td>
</tr>
</table>
</subsection>
</section>