maven用变量的方法统一管理jar包版本

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0modelVersion>
  <groupId>com.lzhgroupId>
  <artifactId>xixiartifactId>
  <version>0.0.1-SNAPSHOTversion>
    <properties> 
        <org.springframework.version>3.0.5.RELEASEorg.springframework.version> 
    properties> 
    <dependencies>
        <dependency> 
          <groupId>org.springframeworkgroupId> 
          <artifactId>spring-coreartifactId> 
          <version>${org.springframework.version}version> 
        dependency>
    dependencies>
project>

你可能感兴趣的:(maven)