change the version to 4.0.0.RC1
This commit is contained in:
@@ -1,66 +0,0 @@
|
||||
4.0 RC1版
|
||||
|
||||
目标:体现Spring4.0的主体框架与选型.
|
||||
Linux脚本,SpringContextHoler放回去免得惹事.
|
||||
FieldSet的大小问题,BluePrint input.span,border,.colborder的使用
|
||||
|
||||
文档:Jersey文档-quickstart,Jersey json client,Jersey Multipart,Jerseys的介绍,showcase部分
|
||||
|
||||
---------------------------------------------------------------------------------
|
||||
已完成部分:
|
||||
1. 主要改动
|
||||
* DAO框架用Spring Data JPA + Hibernate的JPA实现代替Hibernate原生API + DIY BaseDao基类
|
||||
* DAO框架增加MyBatis的使用,与Hibernate在不同的场景各展所长
|
||||
* MVC框架从Struts2转为Spring MVC3
|
||||
* 安全框架从SpringSecurity转为Apache Shiro
|
||||
* 使用SiteMesh3实现Layout Decoration
|
||||
* CSS框架从YUI转为Blueprint
|
||||
* Spring引入Profile概念统一测试、生产環境的配置
|
||||
* 演示Hibernate Validator
|
||||
* 添加各种常用Utility的Demo, 升级Guava和Commons-Lang3.0.
|
||||
* 升級Jackson1.9 演示,包括可擴展的對象, 對象循環引用,局部更新,自定义类型的持久化,自定义Naming策略,已存在對象等新特性.
|
||||
* 升级Selenium2.0演示,融合Selenium 1.0与2.0的API
|
||||
* Mock框架从EasyMock+JMock换成Mockito + PowerMock
|
||||
* SpringSide Modules的重构
|
||||
* 依赖包重要版本升级如:Maven 3.0, Hibernate 3.6.9, Jetty 7.6.1
|
||||
|
||||
2. 次要改动
|
||||
* 升级SpyMemcached2.6版演示
|
||||
* 升级JodaTime2.0版演示
|
||||
* 使用log4jdbc打印SQL及执行时间
|
||||
* 演示RESTful库Jersey的Multi-Part客户端与服务端
|
||||
* Form对齐从Table改为Label+CSS
|
||||
* 删除已过期演示: CXF的ws-security和ws附件协议,Flash Chart, 驗證碼, JMX客户端
|
||||
* 依赖包版本的升级
|
||||
-- Spring 3.0.4->3.1.1, CXF 2.2.10->2.5.2, Jersey 1.3->1.11, Activemq 5.4.0->5.5.1, Jquery 1.4->1.7.1, Ehcache 1.6—>2.5.1
|
||||
-- Guava r06->11, Commons-lang 2.5->3.1, HttpClient 4.0.1->4.2.0 Beta1, Dozer 5.2.1->5.3.2
|
||||
-- Commons-io 1.4->2.1, Commons pool 1.5.5->1.6, Commons Codec 1.4->1.6, Slf4j 1.6.2->1.6.4
|
||||
-- Junit 4.8.1->4.10, Perf4j 0.9.13->0.9.14, Jmemcached 0.8->1.0, yuicompressor 2.4.2->2.4.7, H2 1.2.142->1.3.164
|
||||
-- 所有maven插件升级到最新版
|
||||
|
||||
3. 其他非代码改动
|
||||
* 使用Maven FailSafe插件分开单元测试和集成测试
|
||||
* 数据库初始化从ant改为用maven,消除quick-start对ant的依赖
|
||||
* cxf wsdl2java从ant改为用maven plugin
|
||||
* hibernate代码生成从ant改为用Eclipse插件
|
||||
|
||||
-----------------------------------------------------------------------------------
|
||||
4.0 正式版
|
||||
* Review HttpClient的使用
|
||||
* Review perf4j的使用
|
||||
* 升级Jquery-validation用法??
|
||||
* Hash与加密要加入salt
|
||||
* 第三方repository也移到github,依赖包次要版本升级:JSW 3.5.7, Log4jdbc,Spymemcached(需自行打包),在pom.xml中标注自己提供的包
|
||||
* No Content Error
|
||||
* 参考springfuse改进404.jsp,500.jsp
|
||||
|
||||
|
||||
|
||||
3.其他非代码改动
|
||||
* 发布前打包Maven-Archetype的项目生成模板
|
||||
* 文档,尽量的多。
|
||||
|
||||
-----------------------------------------------------------------------------------
|
||||
|
||||
需自行时常检查版本的依赖包
|
||||
1.Blueprint,jquery,yuicompressor,SpyMemcached,log4jdbc,jsw
|
||||
@@ -4,7 +4,7 @@
|
||||
<parent>
|
||||
<groupId>org.springside</groupId>
|
||||
<artifactId>springside-parent</artifactId>
|
||||
<version>4.0.0.RC1-SNAPSHOT</version>
|
||||
<version>4.0.0.RC1</version>
|
||||
<relativePath>../../modules/parent</relativePath>
|
||||
</parent>
|
||||
<groupId>org.springside.examples</groupId>
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
<parent>
|
||||
<groupId>org.springside</groupId>
|
||||
<artifactId>springside-parent</artifactId>
|
||||
<version>4.0.0.RC1-SNAPSHOT</version>
|
||||
<version>4.0.0.RC1</version>
|
||||
<relativePath>../../modules/parent</relativePath>
|
||||
</parent>
|
||||
|
||||
<groupId>org.springside.examples</groupId>
|
||||
<artifactId>mini-web</artifactId>
|
||||
<version>4.0.0.RC1-SNAPSHOT</version>
|
||||
<version>4.0.0.RC1</version>
|
||||
<packaging>war</packaging>
|
||||
<name>Springside :: Example :: Mini-Web</name>
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<parent>
|
||||
<groupId>org.springside</groupId>
|
||||
<artifactId>springside-parent</artifactId>
|
||||
<version>4.0.0.RC1-SNAPSHOT</version>
|
||||
<version>4.0.0.RC1</version>
|
||||
<relativePath>../../modules/parent</relativePath>
|
||||
</parent>
|
||||
|
||||
|
||||
+2
@@ -5,6 +5,7 @@ import static org.junit.Assert.*;
|
||||
import java.util.List;
|
||||
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.springside.examples.showcase.Start;
|
||||
import org.springside.examples.showcase.functional.BaseFunctionalTestCase;
|
||||
@@ -39,6 +40,7 @@ public class UserResourceServiceIT extends BaseFunctionalTestCase {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore("not support yet")
|
||||
public void getAllUserWithoutPermission() {
|
||||
try {
|
||||
client.getAllUser("user", "user");
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>org.springside</groupId>
|
||||
<artifactId>springside-parent</artifactId>
|
||||
<version>4.0.0.RC1-SNAPSHOT</version>
|
||||
<version>4.0.0.RC1</version>
|
||||
<relativePath>../parent</relativePath>
|
||||
</parent>
|
||||
<artifactId>springside-core</artifactId>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<parent>
|
||||
<groupId>org.springside</groupId>
|
||||
<artifactId>springside-parent</artifactId>
|
||||
<version>4.0.0.RC1-SNAPSHOT</version>
|
||||
<version>4.0.0.RC1</version>
|
||||
<relativePath>../parent</relativePath>
|
||||
</parent>
|
||||
<artifactId>springside-extension</artifactId>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<artifactId>springside-parent</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>Springside :: Module :: Parent</name>
|
||||
<version>4.0.0.RC1-SNAPSHOT</version>
|
||||
<version>4.0.0.RC1</version>
|
||||
<organization>
|
||||
<name>SpringSide</name>
|
||||
<url>http://www.springside.org.cn</url>
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
<properties>
|
||||
<!-- 主要依赖库的版本定义 -->
|
||||
<springside.version>4.0.0.RC1-SNAPSHOT</springside.version>
|
||||
<springside.version>4.0.0.RC1</springside.version>
|
||||
<spring.version>3.1.1.RELEASE</spring.version>
|
||||
<hibernate.version>3.6.9.Final</hibernate.version>
|
||||
<mybatis.version>3.0.6</mybatis.version>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.springside</groupId>
|
||||
<artifactId>springside</artifactId>
|
||||
<version>4.0.0.RC1-SNAPSHOT</version>
|
||||
<version>4.0.0.RC1</version>
|
||||
<name>Springside</name>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
|
||||
+2
-3
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "[Pre-Requirement] Makesure install JDK 6.0+ and set the JAVA_HOME."
|
||||
echo "[Pre-Requirement] Makesure install Maven 3.0+ and set the PATH."
|
||||
echo "[Pre-Requirement] Makesure install Maven 3.0.4+ and set the PATH."
|
||||
|
||||
set MAVEN_OPTS=$MAVEN_OPTS -XX:MaxPermSize=128m
|
||||
|
||||
@@ -27,8 +27,7 @@ mvn clean jetty:run -Djetty.port=8081 &
|
||||
cd ..\showcase
|
||||
mvn clean jetty:run &
|
||||
|
||||
echo "[INFO] SpringSide4.0 Quick Start finished."
|
||||
echo "[INFO] Access below demo sites:"
|
||||
echo "[INFO] Please wait a moment then access below demo sites:"
|
||||
echo "[INFO] http://localhost:8082/mini-service"
|
||||
echo "[INFO] http://localhost:8081/mini-web"
|
||||
echo "[INFO] http://localhost:8080/showcase"
|
||||
|
||||
+2
-3
@@ -1,6 +1,6 @@
|
||||
@echo off
|
||||
echo [Pre-Requirement] Makesure install JDK 6.0+ and set the JAVA_HOME.
|
||||
echo [Pre-Requirement] Makesure install Maven 3.0.3+ and set the PATH.
|
||||
echo [Pre-Requirement] Makesure install Maven 3.0.4+ and set the PATH.
|
||||
|
||||
set MVN=mvn
|
||||
set MAVEN_OPTS=%MAVEN_OPTS% -XX:MaxPermSize=128m
|
||||
@@ -35,8 +35,7 @@ if errorlevel 1 goto error
|
||||
|
||||
cd ..\..\
|
||||
|
||||
echo [INFO] SpringSide4.0 Quick Start finished.
|
||||
echo [INFO] Access below demo sites:
|
||||
echo [INFO] Please wait a moment then access below demo sites:
|
||||
echo [INFO] http://localhost:8082/mini-service
|
||||
echo [INFO] http://localhost:8081/mini-web
|
||||
echo [INFO] http://localhost:8080/showcase
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
<parent>
|
||||
<artifactId>springside-parent</artifactId>
|
||||
<groupId>org.springside</groupId>
|
||||
<version>4.0.0.RC1-SNAPSHOT</version>
|
||||
<version>4.0.0.RC1</version>
|
||||
<relativePath>../../modules/parent</relativePath>
|
||||
</parent>
|
||||
<groupId>org.springside</groupId>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>org.springside</groupId>
|
||||
<artifactId>springside-parent</artifactId>
|
||||
<version>4.0.0.RC1-SNAPSHOT</version>
|
||||
<version>4.0.0.RC1</version>
|
||||
<relativePath>../../modules/parent</relativePath>
|
||||
</parent>
|
||||
<groupId>org.springside</groupId>
|
||||
|
||||
Reference in New Issue
Block a user