Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
maven-archiver-3.0.1
-
None
-
Maven 3.3.3, Oracle JDK 1.7.0_79
Description
This is a regression of MSHARED-38.
The code has been changed to:
String mavenVersion = session.getUserProperties().getProperty( "maven.version" );
which is wrong. It should be:
String mavenVersion = session.getExecutionProperties().getProperty( "maven.version" );
The root cause is probably that the unit test has been incorrectly changed so that the dummy Maven session is not correctly created. Possibly this slipped through when moving to Maven 3.0 requirements.
Attachments
Issue Links
- causes
-
MSHARED-800 Remove Maven version from pom.properties
- Closed
- relates to
-
MJAR-218 Upgrade to maven-archiver 3.0.2 to fix regression
- Closed
- supercedes
-
MSHARED-296 Improve header of pom.properties
- Closed