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

Location of cvs-settings.xml should be in user.home and not in user.dir

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.0-beta-3
    • 1.0-beta-4
    • maven-scm-provider-cvs
    • None

    Description

      In static method getSettings() of CvsUtil class (org.apache.maven.scm.provider.cvslib.util), we try to get the cvs-settings.xml property file from ${user.dir}/.scm/
      ------------------------------------
      File scmUserDir = new File( System.getProperty( "user.dir" ), ".scm" );
      File settingsFile = new File( scmUserDir, "cvs-settings.xml" );
      ------------------------------------
      The SCM documentation (http://maven.apache.org/scm/cvs.html) say this file should be in ${user.home}/.scm/ and not

      {user.dir}

      /.scm/.

      This should be easy to correct.

      Thibaut

      Attachments

        Activity

          People

            evenisse Emmanuel Venisse
            thibautcazenave Thibaut CAZENAVE
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: