1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
<profiles>
<profile>
<id>spring208</id>
<activation>
<property>
<name>spring</name>
<value>208</value>
</property>
<properties>
<Spring.Version>2.0.8</Spring.Version>
</properties>
</activation>
</profile>
<profile>
<id>legacy</id>
<activation>
<property>
<name>!spring</name>
</property>
<properties>
<Spring.Version>2.5.6</Spring.Version>
</properties>
</activation>
</profile>
</profiles>
...
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring</artifactId>
<version>${Spring.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${Spring.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${Spring.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
<version>${Spring.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</dependencyManagement> |
Partager