Skip to content

Commit 3e289aa

Browse files
author
Arsen A. Gutsal
committed
Merge pull request #24 from softsky/arief-hidayat-spring-secure
Arief hidayat spring secure
2 parents 6ea1da0 + 5102c90 commit 3e289aa

File tree

4 files changed

+26
-16
lines changed

4 files changed

+26
-16
lines changed

GnutchGrailsPlugin.groovy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import org.apache.camel.Exchange
55

66
class GnutchGrailsPlugin {
77

8-
def version = "0.2.2.69"
8+
def version = "0.2.3.1"
99
def grailsVersion = "2.2 > *"
1010
def loadAfter = ['controllers', 'services', 'routing']
1111
def title = "Grails Apache Nutch alternative"
@@ -27,6 +27,7 @@ Use "Apache Camel":http://camel.apache.org/ as integration framework and "Apache
2727

2828
def doWithSpring = {
2929

30+
println "|:" + application.config.gnutch
3031
// Defaulting config
3132
def conf = application.config.gnutch ?: [:]
3233

application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#Grails Metadata file
22
#Fri Mar 07 20:48:44 EET 2014
3-
app.grails.version=2.3.7
3+
app.grails.version=2.4.4
44
app.servlet.version=2.5

grails-app/conf/BuildConfig.groovy

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,24 @@ grails.project.dependency.resolution = {
6565

6666
test("org.eclipse.jetty:jetty-server:9.1.0.v20131115")
6767
}
68-
68+
management {
69+
dependency 'org.springframework:spring-beans:4.0.7.RELEASE'
70+
}
6971
plugins {
70-
compile(":routing:1.3.2")
71-
build(":tomcat:7.0.50")
72-
73-
build(':release:3.0.1', ':rest-client-builder:2.0.1') {
74-
//export = false
75-
}
72+
// plugins for the build system only
73+
build ':tomcat:7.0.52.1'
74+
// plugins for the compile step
75+
compile ':scaffolding:2.1.0'
76+
compile ':cache:1.1.3'
77+
compile ':asset-pipeline:1.8.3'
78+
79+
// plugins needed at runtime but not for compilation
80+
runtime ':hibernate4:4.3.5.2' // or ':hibernate:3.6.10.14'
81+
runtime ':database-migration:1.4.0'
82+
runtime ':jquery:1.11.0.2'
83+
compile(":routing:1.4.0")
84+
85+
build(':release:3.0.1', ':rest-client-builder:2.0.1') {
86+
}
7687
}
7788
}

web-app/WEB-INF/applicationContext.xml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
55

66
<bean id="grailsApplication" class="org.codehaus.groovy.grails.commons.GrailsApplicationFactoryBean">
7-
<description>Grails application factory bean</description>
8-
<property name="grailsDescriptor" value="/WEB-INF/grails.xml" />
9-
<property name="grailsResourceLoader" ref="grailsResourceLoader" />
10-
</bean>
7+
<description>Grails application factory bean</description>
8+
<property name="grailsDescriptor" value="/WEB-INF/grails.xml" />
9+
</bean>
1110

1211
<bean id="pluginManager" class="org.codehaus.groovy.grails.plugins.GrailsPluginManagerFactoryBean">
1312
<description>A bean that manages Grails plugins</description>
@@ -22,13 +21,12 @@
2221
<property name="pluginManager" ref="pluginManager" />
2322
</bean>
2423

25-
<bean id="grailsResourceLoader" class="org.codehaus.groovy.grails.commons.GrailsResourceLoaderFactoryBean" />
26-
2724
<bean id="characterEncodingFilter" class="org.springframework.web.filter.CharacterEncodingFilter">
2825
<property name="encoding">
2926
<value>utf-8</value>
3027
</property>
3128
</bean>
3229

30+
3331
<bean id="conversionService" class="org.springframework.context.support.ConversionServiceFactoryBean" />
34-
</beans>
32+
</beans>

0 commit comments

Comments
 (0)