-
Enhancement
-
Resolution: Done
-
Major
-
None
-
False
-
False
-
-
-
-
-
-
-
-
Undefined
-
Add a 'noCompile' profile that disables standard compilation (and test compilation) execution.
Intended use is for test jobs where one step does a build with one JDK and then another step does test executions with another JDK. So we want to see how we run on the later JDK, not what happens when we compile with it. During the part using the other JDK, simply specifying the 'test' phase still results in earlier phases like 'compile' and 'testCompile' running, and those shouldn't be allowed to determine that things need recompilation and recompile them. So use this profile to turn off the actual compilation.
Just using the 'surefire:test' goal would also have the effect of preventing compilation, but in my experiments with that it seems to result in profile settings being ignored.
Specifically I want to use this when testing with later JDKs like 15/16/17.
- clones
-
WFCORE-5570 Add a profile to disable compilation to facilitate testing with a different JDKs
- Closed
- is incorporated by
-
JBEAP-22582 (7.4.z) Upgrade WildFly Core from 15.0.5.Final-redhat-00001 to 15.0.6.Final-redhat-00001
- Closed
- is related to
-
JBEAP-22391 (7.4.z) Add a profile to disable compilation to facilitate testing with a different JDKs
- Closed