Mark Herkrath created NETBEANS-2148:
---------------------------------------
Summary: 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
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 [email protected] 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: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists