You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Mark Herkrath (JIRA)" <ji...@apache.org> on 2019/02/25 09:18:00 UTC

[jira] [Resolved] (NETBEANS-2148) Maven dependency Check Out action is failing with "The goal you specified requires a project to execute ..."

     [ https://issues.apache.org/jira/browse/NETBEANS-2148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Herkrath resolved NETBEANS-2148.
-------------------------------------
    Resolution: Fixed
      Assignee: Mark Herkrath  (was: Matthias Bläsing)

> Maven dependency Check Out action is failing with "The goal you specified requires a project to execute ..."
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: NETBEANS-2148
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2148
>             Project: NetBeans
>          Issue Type: Bug
>          Components: projects - Maven
>    Affects Versions: 9.0, 10.0
>         Environment: Windows 10, Maven 3.5.4
>            Reporter: Mark Herkrath
>            Assignee: Mark Herkrath
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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:
> {code:java}
> ...\mvn.cmd -DcheckoutDirectory=... -DconnectionUrl=... -Dusername=<user> -Dpassword =<password> ... scm:checkout{code}
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists