-
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
Adding 'fast' profile for building Che faster by skipping unit tests,… #2733
Conversation
… license checks and other enforcement features Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
Can one of the admins verify this patch? |
ci-build |
@ibuziuk After some tests of this profile it looks like -Pfast is not disabling the validate source profile using -Dskip-validate-sources is working but using -Pfast not.
|
@benoitf oh, this is trickier than I expected it to be. Basically, one can not activate a profile when another one is activated (chaining activation is prohibited in maven).
I guess, if we change the fast profile's activation^ and add fast property to validate-source profile activation both should be enabled via |
@ibuziuk note that we also have skip-enforce property. |
@benoitf I do believe if we may have smth. like that:
AFAIK, This will not disable |
@benoitf sorry I was wrong about 'or' statements, it used to be like that before v3.2.2 but now it is fixed and it is actually the list of 'and' https://issues.apache.org/jira/browse/MNG-4565 |
OK |
Cool. |
Trying to figure out how it is possible to configure 'or' logic. It seems (and I would really like to be wrong here) that that after the "fix" it is not possible to setup "OR" logic for profile activation :/ |
@benoitf it is not possible to configure IF 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 WDYT ? |
… license checks and other enforcement features (eclipse-che#2733) Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
What does this PR do?
'fast' profile for building Che faster by skipping unit tests, license checks and other enforcement features
What issues does this PR fix or reference?
#2594
New behavior
"mvn clean verify -Pfast" will allow to build che with the following system properties enabled:
PR type
Minor change checklist
Major change checklist
Signed-off-by: Ilya Buziuk ibuziuk@redhat.com