<project xmlns="http://maven.apache.org/POM/4.0.0">
 <modelVersion>4.0.0</modelVersion>
 <parent><groupId>study.build</groupId><artifactId>build-toolchain-lab</artifactId><version>1.0.0</version></parent>
 <artifactId>app</artifactId>
 <dependencyManagement>
  <dependencies>
   <dependency><groupId>study.build</groupId><artifactId>platform</artifactId><version>${project.version}</version><type>pom</type><scope>import</scope></dependency>
  </dependencies>
 </dependencyManagement>
 <dependencies>
  <dependency><groupId>study.build</groupId><artifactId>lib</artifactId><version>${project.version}</version></dependency>
  <dependency><groupId>study.build</groupId><artifactId>legacy</artifactId><version>${project.version}</version></dependency>
  <dependency><groupId>org.junit.jupiter</groupId><artifactId>junit-jupiter</artifactId><version>6.0.3</version><scope>test</scope></dependency>
 </dependencies>
 <build><plugins>
  <plugin>
   <groupId>org.apache.maven.plugins</groupId><artifactId>maven-enforcer-plugin</artifactId>
   <executions>
    <execution><id>ban-old-jackson</id><goals><goal>enforce</goal></goals>
     <configuration>
      <rules>
       <bannedDependencies>
        <excludes><exclude>com.fasterxml.jackson.core:jackson-databind:[2.0,2.18)</exclude></excludes>
        <message>拒绝 jackson-databind 2.18 以下版本（教学门禁）</message>
       </bannedDependencies>
      </rules>
     </configuration>
    </execution>
   </executions>
  </plugin>
 </plugins></build>
</project>
