vscode-maven
vscode-maven copied to clipboard
Configure maven profiles
I need to use multiple specific profiles at the same time when running Maven in my project, the profiles are:
- adobe-public
- autoInstallPackage
- coverage
These profiles are configured in the pom.xml
file, but i have not found a way to tell VSC to use them.
I tried setting them this way: "maven.executable.options": "autoInstallPackage, adobe-public, coverage"
in the settings.json
but it does not work
For example, using IntelliJ IDE profiles can be selected, but not in VSC (I could just work in IntelliJ, but I don't like that IDE, that's why I want to use it in VSC).
IntelliJ IDE:
VSC IDE: (THERE ARE NO PROFILES)
see this Introduction to Build Profiles
use mvn groupId:artifactId:goal -P profile-1,profile-2,?profile-3
(profile-1,profile-2,profile-3 are ids of profile to use) may help.
is there any gui solution in the pipeline?
+1
Checkbox in tree item is in proposed state. See https://github.com/microsoft/vscode/issues/116141
+1