SEC-2963: Disable appengineRun if contains functional tests

This commit is contained in:
Rob Winch 2015-07-29 09:57:57 -05:00
parent 485fbdc1ee
commit 7317c090cc
2 changed files with 6 additions and 16 deletions

View File

@ -49,14 +49,4 @@ dependencies {
}
appengine.httpPort = reservePorts(1)[0]
def reservePorts(int count) {
def sockets = []
for(int i in 1..count) {
sockets << new ServerSocket(0)
}
def result = sockets*.localPort
sockets*.close()
result
}
appengineRun.onlyIf { !gradle.taskGraph.hasTask(appengineFunctionalTest) }

View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-samples-gae-xml</artifactId>
<version>4.0.2.CI-SNAPSHOT</version>
<version>4.0.3.CI-SNAPSHOT</version>
<packaging>war</packaging>
<name>spring-security-samples-gae-xml</name>
<description>spring-security-samples-gae-xml</description>
@ -65,13 +65,13 @@
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
<version>4.0.2.CI-SNAPSHOT</version>
<version>4.0.3.CI-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-web</artifactId>
<version>4.0.2.CI-SNAPSHOT</version>
<version>4.0.3.CI-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
@ -139,13 +139,13 @@
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-config</artifactId>
<version>4.0.2.CI-SNAPSHOT</version>
<version>4.0.3.CI-SNAPSHOT</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-taglibs</artifactId>
<version>4.0.2.CI-SNAPSHOT</version>
<version>4.0.3.CI-SNAPSHOT</version>
<scope>runtime</scope>
</dependency>
<dependency>