Open SvetlinZarev opened 8 years ago
The build of microprofile-conference fails with unhelpful dependency resolution errors with mvn < 3.2.5 (#88). To mitigate the issue a maven enforcer rule can be added, which should enforce maven version >= 3.2.5. Example rule:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>1.4.1</version> <executions> <execution> <id>enforce-maven</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireMavenVersion> <version>[3.2.5,)</version> </requireMavenVersion> </rules> </configuration> </execution> </executions> </plugin>
https://maven.apache.org/components/enforcer/enforcer-rules/requireMavenVersion.html
No need for the enforcer plugin. Will just add:
<prerequisites> <maven>3.2.5</maven> </prerequisites>
The build of microprofile-conference fails with unhelpful dependency resolution errors with mvn < 3.2.5 (#88). To mitigate the issue a maven enforcer rule can be added, which should enforce maven version >= 3.2.5. Example rule:
https://maven.apache.org/components/enforcer/enforcer-rules/requireMavenVersion.html