Skip to content

Commit 79b8073

Browse files
antjoriAntonio Ribeiro
and
Antonio Ribeiro
authored
Fix for issue #355 (#356)
Co-authored-by: Antonio Ribeiro <[email protected]>
1 parent 6510147 commit 79b8073

File tree

3 files changed

+32
-17
lines changed

3 files changed

+32
-17
lines changed

aws-serverless-struts2-archetype/src/main/resources/archetype-resources/build.gradle

+30-15
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,37 @@ repositories {
66
}
77

88
dependencies {
9-
compile (
10-
'com.amazonaws.serverless:aws-serverless-java-container-struts2:[1.0,)',
11-
'org.apache.struts:struts2-convention-plugin:2.5.22',
12-
'org.apache.struts:struts2-rest-plugin:2.5.22',
13-
'org.apache.struts:struts2-bean-validation-plugin:2.5.22',
14-
'org.apache.struts:struts2-junit-plugin:2.5.22',
15-
'com.jgeppert.struts2:struts2-aws-lambda-support-plugin:1.0.0',
16-
'org.hibernate:hibernate-validator:4.3.2.Final',
17-
'com.fasterxml.jackson.core:jackson-databind:2.10.3',
18-
'org.apache.logging.log4j:log4j-core:2.8.2',
19-
'org.apache.logging.log4j:log4j-api:2.8.2',
20-
'org.apache.logging.log4j:log4j-slf4j-impl:2.8.2',
21-
'com.amazonaws:aws-lambda-java-log4j2:1.1.0',
22-
)
239

24-
testCompile("junit:junit:4.12")
10+
compile ('com.amazonaws.serverless:aws-serverless-java-container-struts2:[1.0,)') {
11+
exclude group: 'org.apache.struts', module: 'struts2-core'
12+
exclude group: 'org.apache.logging.log4j', module: 'log4j-api'
13+
}
14+
compile ('org.apache.struts:struts2-convention-plugin:2.5.22') {
15+
exclude group: 'org.apache.struts', module: 'struts2-core'
16+
}
17+
compile ('org.apache.struts:struts2-rest-plugin:2.5.22') {
18+
exclude group: 'org.apache.struts', module: 'struts2-core'
19+
}
20+
compile ('org.apache.struts:struts2-bean-validation-plugin:2.5.22') {
21+
exclude group: 'org.apache.struts', module: 'struts2-core'
22+
}
23+
compile ('com.jgeppert.struts2:struts2-aws-lambda-support-plugin:1.0.0') {
24+
exclude group: 'org.apache.struts', module: 'struts2-core'
25+
}
26+
compile ('org.apache.struts:struts2-core:2.5.22') {
27+
exclude group: 'org.apache.logging.log4j', module: 'log4j-api'
28+
}
29+
compile ('org.hibernate:hibernate-validator:4.3.2.Final')
30+
compile ('com.fasterxml.jackson.core:jackson-databind:2.10.3')
31+
compile ('org.apache.logging.log4j:log4j-core:2.8.2')
32+
compile ('org.apache.logging.log4j:log4j-api:2.8.2')
33+
compile ('org.apache.logging.log4j:log4j-slf4j-impl:2.8.2')
34+
compile ('com.amazonaws:aws-lambda-java-log4j2:1.1.0')
35+
36+
testCompile('junit:junit:4.12')
37+
testCompile('org.apache.struts:struts2-junit-plugin:2.5.22') {
38+
exclude group: 'org.apache.struts', module: 'struts2-core'
39+
}
2540
}
2641

2742
task buildZip(type: Zip) {

aws-serverless-struts2-archetype/src/main/resources/archetype-resources/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<struts2.version>2.5.22</struts2.version>
1919
<jackson.version>2.10.3</jackson.version>
2020
<junit.version>4.12</junit.version>
21-
<log4j.version>2.11.1</log4j.version>
21+
<log4j.version>2.8.2</log4j.version>
2222
</properties>
2323

2424
<dependencies>

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
<jacoco.minCoverage>0.7</jacoco.minCoverage>
8686
<dependencyCheck.version>5.3.2</dependencyCheck.version>
8787
<jackson.version>2.10.3</jackson.version>
88-
<slf4j.version>1.8.0-beta4</slf4j.version>
88+
<slf4j.version>1.7.30</slf4j.version>
8989
</properties>
9090

9191
<dependencies>

0 commit comments

Comments
 (0)