-
Notifications
You must be signed in to change notification settings - Fork 87
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
Running mvn package -Ptest uses the activeByDefualt instead of the "test" profile #175
Comments
@thetanked Thanks for the detailed information. Are you able to upgrade VSCode and Maven extension to the latest version, and see if the issue still exists? |
Unfortunately I am not able to. I would love to and it was my first thought. Unfortunately I am unable to upgrade. |
@thetanked I’ll take a look, see if the issue exists in the current version. Btw if you are not able to upgrade, even if I fix the bug(if there is one) you still cannot get it, right? |
@Eskibear I am not sure I might be able to talk someone into giving me permissions to upgrade it. The thing is that this extension is just a that and extension. So I can do my work without it. It is just convenient for me to use it inside of VScode |
I'm not able to reproduce it. Can it be a Maven issue (what's the version)? As I mentioned in #117 , the extension only assembles the command for you, and it does no tricky things. The only possibility I can think of is that you might have set some envs in I'm using: I'm closing it now. Feel free to re-open if you find any new clues. |
Describe the bug
So when I am running vscode with the Maven for Java Extension enabled I try running mvn clean package -Ptest but what actually runs is the profile that has the tag true
If I remove the active tag, it works
If I write false to it, it works
If I disable the extension, it works
If I close vscode with or without the extension being enabled, it works
To Reproduce
Steps to reproduce the behavior:
For me case:
Expected behavior
Would expect it to run as if I did not have the extension running.
Environments (please complete the following information as much as possible):
** I opened a git bash terminal outside of vscode and the command worked also works inside vscode with the extension disabled.
I do know there was a similar post on here (Maven profiles not managed #117) that has been closed for close to a month that is similar to my current issue.
The text was updated successfully, but these errors were encountered: