Skip to content
Browse files

upgrade spring menjadi 3.1.1.RELEASE dan hibernate menjadi 4.1.1.Final

  • Loading branch information...
1 parent 385fecf commit f16525512ff35362ae95822ebb12156be4c2147e @endymuhardin endymuhardin committed May 1, 2012
View
4 ...s/archetype-resources/__rootArtifactId__-config/src/main/resources/applicationContext.xml
@@ -30,12 +30,12 @@
p:maxActive="80" p:maxIdle="20" />
<bean id="transactionManager"
- class="org.springframework.orm.hibernate3.HibernateTransactionManager"
+ class="org.springframework.orm.hibernate4.HibernateTransactionManager"
p:sessionFactory-ref="sessionFactory" />
<bean id="sessionFactory"
- class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean"
+ class="org.springframework.orm.hibernate4.LocalSessionFactoryBean"
p:dataSource-ref="dataSource" p:configLocations="classpath*:${packageInPathFormat}/**/hibernate.cfg.xml">
<property name="hibernateProperties">
<props>
View
2 src/main/resources/archetype-resources/__rootArtifactId__-domain/pom.xml
@@ -34,7 +34,7 @@
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
- <version>${org.springframework.version}</version>
+ <version>${org.springframework.security.version}</version>
</dependency>
<dependency>
View
12 src/main/resources/archetype-resources/__rootArtifactId__-service/pom.xml
@@ -32,6 +32,18 @@
</dependency>
<dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-aop</artifactId>
+ <version>${org.springframework.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-context</artifactId>
+ <version>${org.springframework.version}</version>
+ </dependency>
+
+ <dependency>
<groupId>org.dbunit</groupId>
<artifactId>dbunit</artifactId>
<version>${dbunit.version}</version>
View
4 src/main/resources/archetype-resources/__rootArtifactId__-web/pom.xml
@@ -37,13 +37,13 @@
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-web</artifactId>
- <version>${org.springframework.version}</version>
+ <version>${org.springframework.security.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-config</artifactId>
- <version>${org.springframework.version}</version>
+ <version>${org.springframework.security.version}</version>
</dependency>
<dependency>
View
15 src/main/resources/archetype-resources/pom.xml
@@ -35,13 +35,14 @@
<!-- Default Properties -->
<properties>
<!-- versi library dan framework -->
- <org.springframework.version>3.0.6.RELEASE</org.springframework.version>
- <org.hibernate.version>3.6.0.Final</org.hibernate.version>
+ <org.springframework.version>3.1.1.RELEASE</org.springframework.version>
+ <org.springframework.security.version>3.1.0.RELEASE</org.springframework.security.version>
+ <org.hibernate.version>4.1.1.Final</org.hibernate.version>
<org.hibernate.validator.version>4.2.0.Final</org.hibernate.validator.version>
- <org.slf4j.version>1.6.3</org.slf4j.version>
- <ch.qos.logback.version>0.9.30</ch.qos.logback.version>
- <joda-time.version>2.0</joda-time.version>
- <mysql.version>5.1.18</mysql.version>
+ <org.slf4j.version>1.6.4</org.slf4j.version>
+ <ch.qos.logback.version>1.0.2</ch.qos.logback.version>
+ <joda-time.version>2.1</joda-time.version>
+ <mysql.version>5.1.19</mysql.version>
<javassist.version>3.12.0.GA</javassist.version>
<junit.version>4.10</junit.version>
<dbunit.version>2.4.8</dbunit.version>
@@ -51,7 +52,7 @@
<commons-io.version>2.0.1</commons-io.version>
<commons-logging.version>1.1.1</commons-logging.version>
<guava.version>10.0.1</guava.version>
- <jackson-mapper-asl.version>1.9.1</jackson-mapper-asl.version>
+ <jackson-mapper-asl.version>1.9.6</jackson-mapper-asl.version>
<cargo-maven2-plugin.version>1.1.3</cargo-maven2-plugin.version>
<liquibase-maven-plugin.version>2.0.3</liquibase-maven-plugin.version>
<maven-failsafe-plugin.version>2.10</maven-failsafe-plugin.version>

0 comments on commit f165255

Please sign in to comment.
Something went wrong with that request. Please try again.