Skip to content

Commit

Permalink
GEODE-7261: Include spring-core in the geode-web war artifact (apache…
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeppe-pivotal authored Oct 3, 2019
1 parent 75564e8 commit 59e22db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion geode-web/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ dependencies {
providedCompile(project(path: ':geode-core')) {
//spring-web is excluded from the providedCompile configuration to ensure
//that it is included as part of the war. spring-web must be loaded with the war's
//classloader to interoperate correctly with it's optional dependences that are included
//classloader to interoperate correctly with it's optional dependencies that are included
//in this war, in particular commons-fileupload.
exclude module: 'spring-web'
exclude module: 'spring-core'
}
providedCompile(platform(project(':boms:geode-all-bom')))
providedCompile('javax.servlet:javax.servlet-api')
Expand Down
4 changes: 4 additions & 0 deletions geode-web/src/test/resources/expected-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@
<artifactId>geode-core</artifactId>
<scope>compile</scope>
<exclusions>
<exclusion>
<artifactId>spring-core</artifactId>
<groupId>*</groupId>
</exclusion>
<exclusion>
<artifactId>spring-web</artifactId>
<groupId>*</groupId>
Expand Down

0 comments on commit 59e22db

Please sign in to comment.