Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.10
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Change scm String to make it work:
      maven scm:checkout -Dmaven.scm.url=scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven-components -Dmaven.scm.checkout.dir=./m2

      The -Dmaven.scm.checkout.dir=. does not work it tries to use delete the current directory (maven-scm-plugin-1.5-beta-3) before checkout this fails of course.
      Futher more more the target scm:checkout-project is deprecated.

        Activity

        Hide
        Dennis Lundberg added a comment -

        I have tried this and everything seems to work as it should. Maven is no longer available in the cvs repository, so I used another (small) module instead:

        maven scm:checkout -Dmaven.scm.url=scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:db-site -Dmaven.scm.checkout.dir=./db-site

        This checks out the module from cvs nicely. It does not try to delete the current directory.

        Regarding the deprecation, I don't understand what the reporter want us to do. scm:checkout-project is deprecated and is replaced by scm:checkout which is reported to the user when scm:checkout-project is called.

        I would close this issue.

        Show
        Dennis Lundberg added a comment - I have tried this and everything seems to work as it should. Maven is no longer available in the cvs repository, so I used another (small) module instead: maven scm:checkout -Dmaven.scm.url=scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:db-site -Dmaven.scm.checkout.dir=./db-site This checks out the module from cvs nicely. It does not try to delete the current directory. Regarding the deprecation, I don't understand what the reporter want us to do. scm:checkout-project is deprecated and is replaced by scm:checkout which is reported to the user when scm:checkout-project is called. I would close this issue.
        Hide
        Lukas Theussl added a comment -

        I misunderstood this issue: it really belongs into the xdoc plugin. What the reporter wants to say is that the instructions generated on the cvs-usage.html page are not correct, since there -Dmaven.scm.checkout.dir=.

        Show
        Lukas Theussl added a comment - I misunderstood this issue: it really belongs into the xdoc plugin. What the reporter wants to say is that the instructions generated on the cvs-usage.html page are not correct, since there -Dmaven.scm.checkout.dir=.

          People

          • Assignee:
            Unassigned
            Reporter:
            Michael Hinterseher
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 15 minutes
              15m
              Remaining:
              Remaining Estimate - 15 minutes
              15m
              Logged:
              Time Spent - Not Specified
              Not Specified