Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mvnd -version does not work #2

Closed
ppalaga opened this issue Sep 30, 2019 · 1 comment
Closed

mvnd -version does not work #2

ppalaga opened this issue Sep 30, 2019 · 1 comment
Labels
wontfix This will not be worked on

Comments

@ppalaga
Copy link
Contributor

ppalaga commented Sep 30, 2019

I'd expect mvnd -version to return the same output as mvn -version, but it just hangs.

@Dunemaster
Copy link

Actually, running mvnd --version still does not work

E:\dev>"E:\Program Files\mvnd\mvnd-windows-amd64" --version
Jun 29, 2020 3:13:03 PM org.jline.utils.Log logr
WARNING: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information)
�[1mMaven Daemon 0.0.0 (native)�[m
Exception in thread "main" java.lang.IllegalStateException: Could not detect maven.multiModuleProjectDirectory by climbing up from [E:\dev] seeking a .mvn directory. You may want to create a .mvn directory in the root directory of your source tree.
at org.jboss.fuse.mvnd.client.Environment.lambda$findMultiModuleProjectDirectory$4(Environment.java:127)
at org.jboss.fuse.mvnd.client.Environment$EnvValue.get(Environment.java:246)
at org.jboss.fuse.mvnd.client.Environment$EnvValue.asPath(Environment.java:258)
at org.jboss.fuse.mvnd.client.Environment.findMultiModuleProjectDirectory(Environment.java:131)
at org.jboss.fuse.mvnd.client.ClientLayout.getEnvInstance(ClientLayout.java:45)
at org.jboss.fuse.mvnd.client.DefaultClient.lambda$main$0(DefaultClient.java:69)
at org.jboss.fuse.mvnd.client.DefaultClient.execute(DefaultClient.java:170)
at org.jboss.fuse.mvnd.client.DefaultClient.main(DefaultClient.java:69)

while

mvn --version produces

E:\dev>mvn --version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: E:\maven-3.6.2\bin..
Java version: 11.0.7, vendor: BellSoft, runtime: C:\Program Files\BellSoft\LibericaJDK-11
Default locale: ru_RU, platform encoding: Cp1251
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

ppalaga pushed a commit to ppalaga/mvnd that referenced this issue Jul 14, 2020
@ppalaga ppalaga added this to the Black hole milestone Jul 30, 2020
@gnodet gnodet added the wontfix This will not be worked on label Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants