Maven4MyEclipse 搭建ssh2+extjs项目(3)加入spring支持


*添加setting.xml文件

Maven4MyEclipse 搭建ssh2+extjs项目(3)加入spring支持_第1张图片


    <settings 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/settings-1.0.0.xsd">  
<span style="white-space:pre">	</span><repositories>
   	<span style="white-space:pre">	</span><repository>
	      <span style="white-space:pre">		</span><id>com.springsource.repository.maven.release</id>
	      <span style="white-space:pre">		</span><url>http://repo.springsource.org/release/</url>
	      <span style="white-space:pre">		</span><snapshots><enabled>false</enabled></snapshots>
	   <span style="white-space:pre">	</span></repository>
<span style="white-space:pre">	</span></repositories>
    </settings>  


*设置路径


*pom.xml文件添加spring构件

<dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-context</artifactId>
      <version>3.2.2.RELEASE</version>
</dependency>


你可能感兴趣的:(Maven4MyEclipse 搭建ssh2+extjs项目(3)加入spring支持)