Use the patch command [1]. There is a windows distribution of lots of GNU tools [2] which might help you too.
$> patch -p0 < yourpatchfile LieGrue, strub [1] http://linux.die.net/man/1/patch [2] http://gnuwin32.sourceforge.net/ --- On Tue, 1/25/11, Ricky Clarkson <ricky.clark...@gmail.com> wrote: > From: Ricky Clarkson <ricky.clark...@gmail.com> > Subject: Re: How to attach a patch in jar? > To: scm-dev@maven.apache.org > Date: Tuesday, January 25, 2011, 7:58 AM > Check out the source code for the > project you wish to patch. Apply > the patch (see the patch command, or look into whatever > tortoise etc. > supply), change the pom.xml's version number to something > non-standard > and mvn clean install (deploy if you like). > > You can't apply a source code patch to a binary jar, you > need to apply > it to source. > > On Tue, Jan 25, 2011 at 7:14 AM, samuellawrence <sam.law....@gmail.com> > wrote: > > > > Dear all, > > > > I am working on maven-scm-client using api. When I use > list cvs command. I > > am getting the following error message from the > provider: > > > > The cvs command failed. > > Command output: > > rls: invalid option -- d > > Usage: cvs rls [-q] [-e] [-l] [-R] [-r rev] [-D date] > [-t] [modules...] > > -D date Show files from date. > > -e Display in CVS/Entries format. > > -l Display all details. > > -P Ignore empty directories. > > -q Quieter output. > > -R List recursively. > > -r rev Show files with revision or tag. > > -T Show time in local time instead of GMT. > > (Specify the --help global option for a list of other > help options) > > > > I found solution in http://jira.codehaus.org/browse/SCM-380 url but it a > > patch. I don't know how to apply the patch to the > maven scm jars. > > > > Please help me how to apply the patch to a jar. > > > > Thanks in Advance > > -- > > View this message in context: > > http://maven.40175.n5.nabble.com/How-to-attach-a-patch-in-jar-tp3355857p3355857.html > > Sent from the Maven - SCM mailing list archive at > Nabble.com. > > >