标签:
<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.0</modelVersion> <groupId>spring-security-test</groupId> <artifactId>spring-security-test</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>war</packaging> <!-- 仓库定义 --> <repositories> <!-- oschina的仓库 --> <repository> <id>oschina</id> <url>http://maven.oschina.net/content/groups/public</url> </repository> <!-- Activiti的仓库 --> <repository> <id>Activiti</id> <url>https://maven.alfresco.com/nexus/content/repositories/activiti</url> </repository> <!-- Codehaus的仓库 --> <repository> <id>Codehaus</id> <url>http://repository.codehaus.org</url> </repository> </repositories> <dependencies> <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-core</artifactId> <version>3.1.0.RELEASE</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.7</source> <target>1.7</target> </configuration> </plugin> </plugins> </build> </project>
注意:
参考资料:http://crunchify.com/how-to-solve-dynamic-web-module-3-1-requires-java-1-7-or-newer-in-eclipse/
标签:
原文地址:http://www.cnblogs.com/humeng126/p/4457506.html