This is an automated email from the ASF dual-hosted git repository. lburgazzoli pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git
commit fd84ba3606c2bf6ebc88a601d85a28516c0b1785 Author: Luca Burgazzoli <[email protected]> AuthorDate: Fri Oct 22 19:59:40 2021 +0200 fix: adapt pom to build on Java 17 --- support/camel-k-runtime-bom/pom.xml | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/support/camel-k-runtime-bom/pom.xml b/support/camel-k-runtime-bom/pom.xml index b8ca927..030aab4 100644 --- a/support/camel-k-runtime-bom/pom.xml +++ b/support/camel-k-runtime-bom/pom.xml @@ -33,9 +33,12 @@ <properties> <camel-version>3.11.0</camel-version> - + <!-- reproduceable builds: https://maven.apache.org/guides/mini/guide-reproducible-builds.html --> <project.build.outputTimestamp>1</project.build.outputTimestamp> + + <maven-enforcer-plugin-version>3.0.0</maven-enforcer-plugin-version> + <maven-version>3.6.3</maven-version> </properties> <developers> @@ -222,6 +225,32 @@ </dependencies> </dependencyManagement> + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-enforcer-plugin</artifactId> + <version>${maven-enforcer-plugin-version}</version> + <executions> + <execution> + <id>enforce-maven</id> + <goals> + <goal>enforce</goal> + </goals> + <configuration> + <rules> + <requireMavenVersion> + <version>${maven-version}</version> + </requireMavenVersion> + </rules> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </pluginManagement> + </build> <profiles> <profile> <id>release</id>
