Skip to content

Commit eeebe61

Browse files
committed
added bytecode version check
1 parent 3cc316b commit eeebe61

1 file changed

Lines changed: 18 additions & 3 deletions

File tree

pom.xml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
<plugin>
146146
<groupId>org.apache.maven.plugins</groupId>
147147
<artifactId>maven-enforcer-plugin</artifactId>
148-
<version>3.0.0-M2</version>
148+
<version>3.0.0</version>
149149
</plugin>
150150
<plugin>
151151
<groupId>org.apache.maven.plugins</groupId>
@@ -163,7 +163,7 @@
163163
<plugin>
164164
<groupId>org.apache.maven.plugins</groupId>
165165
<artifactId>maven-enforcer-plugin</artifactId>
166-
<version>3.0.0</version>
166+
<version>3.1.0</version>
167167
<executions>
168168
<execution>
169169
<id>no-duplicate-declared-dependencies</id>
@@ -173,11 +173,26 @@
173173
<configuration>
174174
<rules>
175175
<banDuplicatePomDependencyVersions/>
176-
<!-- <dependencyConvergence/>-->
176+
<enforceBytecodeVersion>
177+
<maxJdkVersion>1.8</maxJdkVersion>
178+
</enforceBytecodeVersion>
179+
<!-- <dependencyConvergence/>-->
177180
</rules>
178181
</configuration>
179182
</execution>
180183
</executions>
184+
<dependencies>
185+
<dependency>
186+
<groupId>org.codehaus.mojo</groupId>
187+
<artifactId>extra-enforcer-rules</artifactId>
188+
<version>1.3</version>
189+
</dependency>
190+
<dependency>
191+
<groupId>org.apache.maven.shared</groupId>
192+
<artifactId>maven-dependency-tree</artifactId>
193+
<version>2.2</version>
194+
</dependency>
195+
</dependencies>
181196
</plugin>
182197
</plugins>
183198
</build>

0 commit comments

Comments
 (0)