Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2148

Maven dependency Check Out action is failing with "The goal you specified requires a project to execute ..."

    XMLWordPrintableJSON

Details

    Description

      At least under Windows 10 and Maven 3.5.4, the handy Check Out... feature at [Maven project] > Dependencies > [artifact] > View Artifact Details > Project > Source Control Management > Check Out... is broken.

      After filling the dialog and clicking Check Out, the Maven error "The goal you specified requires a project to execute but there is no POM in this directory ..." is occurring every time.

      It is caused by a space after -Dpassword in the Maven command line:

      ...\mvn.cmd -DcheckoutDirectory=... -DconnectionUrl=... -Dusername=<user> -Dpassword =<password> ... scm:checkout

      Instead, it should be "... -Dpassword=<password> ...".

      I have already sent a mail including additional details with the subject "Bug and solution with Maven Dependency Check Out" to dev@netbeans.apache.org and will provide an according PR for the fix on GitHub next.

      Attachments

        Issue Links

          Activity

            People

              herkrath Mark Herkrath
              herkrath Mark Herkrath
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h