Skip to content

Commit f4e5676

Browse files
authored
fix: Set required Java and Maven versions in flow-maven-plugin (#23436)
Prevents potential issues with Maven versions >= 3.9.12 if a Java version newer than the supported one is used to package the Maven plugin.
1 parent bd0b3a6 commit f4e5676

File tree

1 file changed

+4
-1
lines changed
  • flow-plugins/flow-maven-plugin

1 file changed

+4
-1
lines changed

flow-plugins/flow-maven-plugin/pom.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,12 @@
9191
<plugin>
9292
<groupId>org.apache.maven.plugins</groupId>
9393
<artifactId>maven-plugin-plugin</artifactId>
94-
<version>3.7.0</version>
94+
<version>3.15.2</version>
9595
<configuration>
9696
<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
97+
<goalPrefix>flow</goalPrefix>
98+
<requiredJavaVersion>${maven.compiler.release}</requiredJavaVersion>
99+
<requiredMavenVersion>3.5</requiredMavenVersion>
97100
</configuration>
98101
<executions>
99102
<execution>

0 commit comments

Comments
 (0)