Skip to content

Commit 2159067

Browse files
fix: Set required Java and Maven versions in flow-maven-plugin (#23436) (#23458)
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. Co-authored-by: Marco Collovati <marco@vaadin.com>
1 parent 354876b commit 2159067

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • flow-plugins/flow-maven-plugin

‎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)