Skip to content

Commit 3dce792

Browse files
committed
move maven enforcer to parent and bump minimum java version to 17
1 parent 3b7de99 commit 3dce792

2 files changed

Lines changed: 24 additions & 24 deletions

File tree

pom.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,30 @@
8484
<artifactId>versions-maven-plugin</artifactId>
8585
<version>2.21.0</version>
8686
</plugin>
87+
88+
<plugin>
89+
<groupId>org.apache.maven.plugins</groupId>
90+
<artifactId>maven-enforcer-plugin</artifactId>
91+
<version>3.6.2</version>
92+
<executions>
93+
<execution>
94+
<id>enforce-maven</id>
95+
<goals>
96+
<goal>enforce</goal>
97+
</goals>
98+
<configuration>
99+
<rules>
100+
<requireMavenVersion>
101+
<version>3.2.5</version>
102+
</requireMavenVersion>
103+
<requireJavaVersion>
104+
<version>17</version>
105+
</requireJavaVersion>
106+
</rules>
107+
</configuration>
108+
</execution>
109+
</executions>
110+
</plugin>
87111
</plugins>
88112

89113
<pluginManagement>

sqlite-jdbc-jni/pom.xml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -151,30 +151,6 @@
151151
<groupId>org.sonatype.central</groupId>
152152
<artifactId>central-publishing-maven-plugin</artifactId>
153153
</plugin>
154-
155-
<plugin>
156-
<groupId>org.apache.maven.plugins</groupId>
157-
<artifactId>maven-enforcer-plugin</artifactId>
158-
<version>3.6.2</version>
159-
<executions>
160-
<execution>
161-
<id>enforce-maven</id>
162-
<goals>
163-
<goal>enforce</goal>
164-
</goals>
165-
<configuration>
166-
<rules>
167-
<requireMavenVersion>
168-
<version>3.2.5</version>
169-
</requireMavenVersion>
170-
<requireJavaVersion>
171-
<version>11</version>
172-
</requireJavaVersion>
173-
</rules>
174-
</configuration>
175-
</execution>
176-
</executions>
177-
</plugin>
178154
</plugins>
179155

180156
<pluginManagement>

0 commit comments

Comments
 (0)