-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
"fast" profile does not disable "skip-validate-sources" #2848
Comments
Basically, one can not activate a profile when another one is activated (chaining activation is prohibited in maven). skip-validate-sources actually enables another profile - https://github.com/eclipse/che-parent/blob/master/pom.xml#L1651 Also it is not possible to configure OR logic for profile activation -
it used to be possible before v3.2.2 but now it is "fixed" - https://issues.apache.org/jira/browse/MNG-4565 For now it is not possible to configure OR condition for maven profile activation unless using a copy-paste approach - having two identical profiles with different activation logic. At the same time, chaining profile activation is also prohibited. So, there are two possible things we can do:
and change fast profile activation logic the same^ way - after that it would be possible to use "-Dfast" for acctivation WDYT ? |
I think your proposal on #1 is a good enough work around. Skipping validation doesn't buy you that much time. |
@TylerJewell agree, PR for removing "skip-validate-sources" from "fast" maven profile has been sent. |
@skabashnyuk will chime in at some point - went ahead and merged the change so that we have it for now. |
@TylerJewell great, thanks! |
After some tests of this profile it looks like
-Pfast
is not disabling the validate source profileusing
-Dskip-validate-sources
is working but using-Pfast
not$ mvn -Pfast -Dskip-validate-sources help:active-profiles |grep validate-sources
Expected behavior:
It is expected that using "fast" profile will disable "skip-validate-sources"
Che version: [5.0.0-M6]
OS and version: [All]
Additional information:
more details can be found in the #2733
The text was updated successfully, but these errors were encountered: