Skip to content
Permalink
Browse files
fix: adapt pom to build on Java 17
  • Loading branch information
lburgazzoli committed Nov 2, 2021
1 parent c726ce5 commit fd84ba3606c2bf6ebc88a601d85a28516c0b1785
Showing 1 changed file with 30 additions and 1 deletion.
@@ -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>

0 comments on commit fd84ba3

Please sign in to comment.