maven-ssh导坐标简单思路(提示)

本文介绍了如何使用Maven SSH来构建一个包含Servlet 2.5、Spring Web 4.2.4和Struts2 JSON Plugin的项目。Servlet配置为provided,确保在运行时由应用服务器提供。Spring Web用于整合Web应用程序,Struts2的JSON插件则用于支持JSON响应。
摘要由CSDN通过智能技术生成


===============所需依赖======================


servlet-api 2.5(scope-->provided) 

jsp-api 2.0(provided)


struts2-core  2.3.24


hibernate-core 5.0.7


spring-context 4.2.4


spring-aspects 4.2.4 




spring-web  4.2.4(整合web)


struts2-spring-plugin 2.3.24(整合struts2)


spring-orm  4.2.4(整合hibernate)




mysql   5.1.6


c3p0   0.9.1.2
====================其他依赖==================


struts2-json-plugin


struts2-convention-plugin


jstl 1.2


<dependency>
<groupId>c3p0</groupId>
<artifactId>c3p0</artifactId>
<version>0.9.1.2</version>
</dependency>


<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.9</version>
<scope>test</scope>
</dependency>



<build>
<finalName>crm-web</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.7</source>
<target>1.7</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<configuration>
<port>8080</port>
<path>/</path>
</configuration>
</plugin>


</plugins>
</build>












阿里云maven地址
<mirror>  
  <id>alimaven</id>  
  <name>aliyun maven</name>  
  <url>http://maven.aliyun.com/nexus/content/groups/public/</url>  
  <mirrorOf>central</mirrorOf>  
</mirror> 








































































  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值