Fix the build warning by replacing the deprecated prerequisites property and replacing with the enforcer plugin. (#913)
Co-authored-by: Steve Swinsburg <steve.swinsburg@digitalhealth.gov.au>
This commit is contained in:
26
pom.xml
26
pom.xml
@@ -41,10 +41,6 @@
|
|||||||
<version>${project.parent.version}-${hapi.fhir.jpa.server.starter.revision}</version>
|
<version>${project.parent.version}-${hapi.fhir.jpa.server.starter.revision}</version>
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
|
|
||||||
<prerequisites>
|
|
||||||
<maven>3.8.3</maven>
|
|
||||||
</prerequisites>
|
|
||||||
|
|
||||||
<name>HAPI FHIR JPA Server - Starter Project</name>
|
<name>HAPI FHIR JPA Server - Starter Project</name>
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
@@ -549,6 +545,28 @@
|
|||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
<!-- Enforce minimum Maven version requirement -->
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-enforcer-plugin</artifactId>
|
||||||
|
<version>3.6.2</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>enforce-maven</id>
|
||||||
|
<goals>
|
||||||
|
<goal>enforce</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<rules>
|
||||||
|
<requireMavenVersion>
|
||||||
|
<version>3.8.3</version>
|
||||||
|
</requireMavenVersion>
|
||||||
|
</rules>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
<!-- This is to run the integration tests -->
|
<!-- This is to run the integration tests -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
|||||||
Reference in New Issue
Block a user