Stripping out unnecessary dependencies from sample jars.
This commit is contained in:
@@ -13,11 +13,7 @@
|
||||
|
||||
<debug />
|
||||
|
||||
<global-method-security pre-post-annotations="enabled">
|
||||
<!-- AspectJ pointcut expression that locates our "post" method and applies security that way
|
||||
<protect-pointcut expression="execution(* bigbank.*Service.post*(..))" access="ROLE_TELLER"/>
|
||||
-->
|
||||
</global-method-security>
|
||||
<global-method-security pre-post-annotations="enabled" />
|
||||
|
||||
<http pattern="/loggedout.jsp" security="none"/>
|
||||
|
||||
|
||||
@@ -3,6 +3,16 @@
|
||||
apply plugin: 'war'
|
||||
apply plugin: 'jetty'
|
||||
|
||||
def excludeModules = ['spring-security-acl', 'jsr250-api', 'ehcache', 'spring-jdbc', 'spring-tx']
|
||||
|
||||
configurations {
|
||||
excludeModules.each {name ->
|
||||
runtime.exclude module: name
|
||||
}
|
||||
|
||||
runtime.exclude group: 'org.aspectj'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
providedCompile 'javax.servlet:servlet-api:2.5@jar'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user