Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Bug
-
3.5.0, 3.5.2
-
None
-
None
-
Windows 7 x64, Windows 10 x64, jdk 1.8.0, jdk 9.0.1
Description
When having a profile whose activation condition is a jdk version, such as 1.8, and below that another profile whose activation condition is "by-default" then only the first profile (the one with the JDK version condition) is active when building without explicitly defining any profile via `-P`, such as when using `mvn clean package`.
This appeared for me the first time when actually using an jdk-activated profile and an active-by-default profile for the first time in Maven 3.5.0. After updating to 3.5.2 (current as of now) the problem still remains. It is unclear whether any older Maven versions are affected by this behaviour.