Details
-
Task
-
Status: Closed
-
Trivial
-
Resolution: Won't Fix
-
None
-
None
Description
The pom.xml file of the sis-build-helper module uses the ${maven.version} property, which has been introduced only in Maven 3.0.4 (MNG-4112). Consequently we should put the following section in the pom.xml file:
<prerequisites> <maven>3.0.4</maven> </prerequisites>
However at the time of writing this issue, we can not because Apache Jenkins is still using Maven 3.0.3. We had to relax the prerequisite, but users need to be aware that they must declare explicitly their Maven version if (and only if) older than 3.0.4, using the -D option like below:
--define maven.version=3.0.3
We should declare the correct prerequisite, namely 3.0.4, when Jenkins will accept it. This would allow users of older Maven versions who did not declared the above-cited property to get a proper error message rather than a message about undefined property.