Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-136

Make it possible to pay attention to .cvsrc

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-beta-2
    • 1.0-beta-3
    • maven-scm-provider-cvs
    • None

    Description

      There ought to be a way to tell the SCM plugin to obey the .cvsrc file. Here's why:

      I've had developers complain about empty directories showing up in their jar endstates. Simple, I thought - just add "checkout -P" to my .cvsrc file. But, if I'm reading http://svn.apache.org/viewcvs.cgi/maven/scm/trunk/maven-scm-providers/maven-scm-provider-cvs/src/main/java/org/apache/maven/scm/provider/cvslib/command/checkout/CvsCheckOutCommand.java?view=markup correctly, the plugin will always ignore the .cvsrc file since it always specifies the "-f" flag and doesn't allow arbitrary flags to be passed in.

      I can understand the reasoning behind this behavior - there are certainly CVS flags that would make Maven very unhappy - but there's also something to be said for giving people enough rope to hang themselves with. All sorts of important/useful settings (like compression) could be in their .cvsrc too. In my case, at least, I don't see any other way to get it done.

      Attachments

        Issue Links

          Activity

            People

              evenisse Emmanuel Venisse
              mbeerman Matthew Beermann
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: