Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.4
-
None
-
Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-11T22:58:10+02:00)
Maven home: C:\Tools\Maven\3.2.3
Java version: 1.7.0_55, vendor: Oracle Corporation
Java home: C:\Tools\Java\jdk1.7.0_55\jre
Default locale: fr_FR, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-11T22:58:10+02:00) Maven home: C:\Tools\Maven\3.2.3 Java version: 1.7.0_55, vendor: Oracle Corporation Java home: C:\Tools\Java\jdk1.7.0_55\jre Default locale: fr_FR, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
Description
I tried a simple example of requiresameversion rule and it's failing fine in 1.3 version but not failing in 1.4
<requireSameVersions>
<dependencies>
<dependency>org.eclipse:*</dependency>
</dependencies>
</requireSameVersions>
Use the attached file to test :
mvn validate => build success
mvn validate -P previousversion => build failed
It is expected to failed in both use case.