Roman Puchkovskiy created IGNITE-15805:
------------------------------------------
Summary: Add Enforcer Rule to restrict minimal Maven version
usable for building
Key: IGNITE-15805
URL: https://issues.apache.org/jira/browse/IGNITE-15805
Project: Ignite
Issue Type: Improvement
Components: build
Affects Versions: 2.12
Reporter: Roman Puchkovskiy
Assignee: Roman Puchkovskiy
For instance, when trying to build (mvn install) Ignite using Maven 3.3.1, the
build fails with the following error:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar (module-javadoc) on
project ignite-tools: Unable to parse configuration of mojo
org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar for parameter
additionalOptions: Cannot assign configuration entry 'additionalOptions' with
value '-Xdoclint:none' of type java.lang.String to property of type
java.lang.String[] -> [Help 1]
It seems reasonable to add the requirement to have Maven 3.5.0+ because with
3.5.0 the build passes successfully, and the 3.5.0 version was released in
2017, so it is highly improbable that someone still depends on having a lower
version.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)