Still trying to get this working with Jenkins

This commit is contained in:
jamesagnew 2014-06-25 17:01:32 -04:00
parent cf63f6bacf
commit acbffecd15
3 changed files with 45 additions and 27 deletions

View File

@ -55,8 +55,7 @@
<dependency>
<groupId>org.thymeleaf</groupId>
<artifactId>thymeleaf</artifactId>
<!-- Note that 2.1.3 has a bug where it double escapes text -->
<version>2.1.2.RELEASE</version>
<version>2.1.3.RELEASE</version>
<optional>true</optional>
</dependency>
@ -290,11 +289,8 @@
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-linkcheck-plugin</artifactId>
<version>1.1</version>
</plugin>
<!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-linkcheck-plugin</artifactId>
<version>1.1</version> </plugin> -->
</plugins>
</reporting>
@ -311,6 +307,28 @@
<skip>false</skip>
<skipDeploy>false</skipDeploy>
</configuration>
<dependencies>
<dependency>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-scm</artifactId>
<version>2.2</version>
</dependency>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-manager-plexus</artifactId>
<version>1.9</version>
</dependency>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-gitexe</artifactId>
<version>1.9</version>
</dependency>
<dependency>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-api</artifactId>
<version>1.9</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</pluginManagement>
@ -451,23 +469,12 @@
<filtering>true</filtering>
</resource>
</resources>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-scm</artifactId>
<version>2.6</version>
</extension>
<extension>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-manager-plexus</artifactId>
<version>1.9</version>
</extension>
<extension>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-gitexe</artifactId>
<version>1.9</version>
</extension>
</extensions>
<!-- <extensions> <extension> <groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-scm</artifactId> <version>2.6</version> </extension> <extension>
<groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-manager-plexus</artifactId>
<version>1.9</version> </extension> <extension> <groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-gitexe</artifactId> <version>1.9</version>
</extension> </extensions> -->
</build>
<profiles>

View File

@ -551,11 +551,11 @@ public class RestfulTesterServlet extends HttpServlet {
theContext.setVariable("bundle", bundle);
theContext.setVariable("resultStatus", resultStatus);
theContext.setVariable("requestUrl", requestUrl);
requestBody = StringEscapeUtils.escapeHtml4(requestBody);
String requestBodyText = StringEscapeUtils.escapeHtml4(requestBody);
theContext.setVariable("requestBody", requestBody);
theContext.setVariable("requestSyntaxHighlighterClass", requestSyntaxHighlighterClass);
String resultBodyText = StringEscapeUtils.escapeHtml4(resultBody);
theContext.setVariable("resultBody", resultBodyText);
theContext.setVariable("resultBody", resultBody);
theContext.setVariable("resultBodyIsLong", resultBodyText.length() > 1000);
theContext.setVariable("resultSyntaxHighlighterClass", resultSyntaxHighlighterClass);
theContext.setVariable("requestHeaders", requestHeaders);

View File

@ -167,6 +167,8 @@
<mockito_version>1.9.5</mockito_version>
<slf4j_version>1.7.2</slf4j_version>
<spring_version>4.0.1.RELEASE</spring_version>
<skip-hib4>false</skip-hib4>
</properties>
<build>
@ -190,7 +192,7 @@
<configuration>
<force>true</force>
<target>SCRIPT</target>
<skip>false</skip>
<skip>${skip-hib4}</skip>
</configuration>
<dependencies>
<dependency>
@ -256,4 +258,13 @@
</plugins>
</build>
<profiles>
<profile>
<id>JENKINS</id>
<properties>
<skip-hib4>true</skip-hib4>
</properties>
</profile>
</profiles>
</project>