Yan Zhang

Results 243 comments of Yan Zhang

If showing all profiles under a "Profiles" node is the only thing you want, actually you don't have to execute `help:all-profiles`. The profiles can be read from the effective-pom, which...

`help:all-profiles` solution looks good to me. > The downside of the all-profiles command is it doesn't return parseable XML, but I think simple regex is enough to get all the...

> Launch a Maven target in debug mode Can you specify how did you "launch a maven target"? Pressing F5? or executing command from "Maven Project" explorer? or run something...

@skill7899 You can check detailed log from `Output -> Maven for Java` to find out the culprit.

@skill7899 the dependencies are successfully calcualated. I don't see any clue from the logs you pasted. If you can stably reproduce this error, please attach a sample project if possible....

I mean, if you can find out any clue, you can create a sample project which can stably reproduce the issue. ``` +- org.powermock:powermock-api-mockito2:2.0.0:test | +- org.powermock:powermock-api-support:2.0.0:test | | +-...

when the error prompts, can you open "Help" -> "Toggle developer tools" -> "Console", and take a screenshot of the error callstack? That would help a lot for us to...

The callstack points to method `findConflictRange`, should have been fixed by #816 . https://github.com/microsoft/vscode-maven/blob/c84e963b38decf3e8289fe6df553541b046e7165/src/DiagnosticProvider.ts#L76-L80 I think there must be other uncoverred cases, that it fails to find corresponding conflict nodes...

@wenijinew Can you provide the entire pom file? I cannot reproduce it with an arbitrary parent node.

As far as I understand, both `mvn` and `mvnd` are used to run maven commands. Can we simply use the same setting `maven.executable.path` for `mvnd`?