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.
>

Reply via email to