Added circleci configuration.
This commit is contained in:
parent
b78bdf73f0
commit
09727b752a
5 changed files with 22 additions and 8 deletions
|
@ -50,7 +50,7 @@ code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Inf
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1 id="httpstatus-jsp-tag-library">HttpStatus JSP Tag Library</h1>
|
<h1 id="httpstatus-jsp-tag-library">HttpStatus JSP Tag Library</h1>
|
||||||
<p><a href="http://opensource.org/licenses/BSD-3-Clause"><img src="https://img.shields.io/badge/license-BSD%203--Clause-blue.svg?style=flat-square" alt="License (3-Clause BSD)" /></a> <a href="https://www.versioneye.com/user/projects/56a6947a1b78fd002d00018a"><img src="https://www.versioneye.com/user/projects/56a6947a1b78fd002d00018a/badge.svg?style=flat" alt="Dependency Status" /></a> <a href="https://travis-ci.org/ethauvin/HttpStatus"><img src="https://travis-ci.org/ethauvin/HttpStatus.svg?branch=master" alt="Build Status" /></a> <a href="https://ci.appveyor.com/project/ethauvin/httpstatus"><img src="https://ci.appveyor.com/api/projects/status/w5j4kul3w2rkigxb?svg=true" alt="Build status" /></a> <a href="https://github.com/ethauvin/httpstatus/releases/latest"><img src="http://github-release-version.herokuapp.com/github/ethauvin/httpstatus/release.svg?style=flat" alt="release" /></a> <a href="https://maven-badges.herokuapp.com/maven-central/net.thauvin.erik.httpstatus/httpstatus"><img src="https://maven-badges.herokuapp.com/maven-central/net.thauvin.erik.httpstatus/httpstatus/badge.svg" alt="Maven Central" /></a> <a href="https://bintray.com/ethauvin/maven/HttpStatus/_latestVersion"><img src="https://api.bintray.com/packages/ethauvin/maven/HttpStatus/images/download.svg" alt="Download" /></a></p>
|
<p><a href="http://opensource.org/licenses/BSD-3-Clause"><img src="https://img.shields.io/badge/license-BSD%203--Clause-blue.svg?style=flat-square" alt="License (3-Clause BSD)" /></a> <a href="https://github.com/ethauvin/httpstatus/releases/latest"><img src="http://github-release-version.herokuapp.com/github/ethauvin/httpstatus/release.svg?style=flat" alt="release" /></a> <a href="https://www.versioneye.com/user/projects/56a6947a1b78fd002d00018a"><img src="https://www.versioneye.com/user/projects/56a6947a1b78fd002d00018a/badge.svg?style=flat" alt="Dependency Status" /></a> <a href="https://maven-badges.herokuapp.com/maven-central/net.thauvin.erik.httpstatus/httpstatus"><img src="https://maven-badges.herokuapp.com/maven-central/net.thauvin.erik.httpstatus/httpstatus/badge.svg" alt="Maven Central" /></a> <a href="https://bintray.com/ethauvin/maven/HttpStatus/_latestVersion"><img src="https://api.bintray.com/packages/ethauvin/maven/HttpStatus/images/download.svg" alt="Download" /></a> <a href="https://travis-ci.org/ethauvin/HttpStatus"><img src="https://travis-ci.org/ethauvin/HttpStatus.svg?branch=master" alt="Build Status" /></a> <a href="https://ci.appveyor.com/project/ethauvin/httpstatus"><img src="https://ci.appveyor.com/api/projects/status/w5j4kul3w2rkigxb?svg=true" alt="Build status" /></a> <a href="https://circleci.com/gh/ethauvin/httpstatus/tree/master"><img src="https://circleci.com/gh/ethauvin/httpstatus/tree/master.svg?style=shield" alt="CircleCI" /></a></p>
|
||||||
<p>A simple <a href="http://www.oracle.com/technetwork/java/javaee/jsp/index.html">JSP</a> Tag Library to display the <a href="#hscode">code</a>, <a href="#hsreason">reason</a> and/or <a href="#hscode">cause</a> for <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html">HTTP status codes</a> in JSP error pages.</p>
|
<p>A simple <a href="http://www.oracle.com/technetwork/java/javaee/jsp/index.html">JSP</a> Tag Library to display the <a href="#hscode">code</a>, <a href="#hsreason">reason</a> and/or <a href="#hscode">cause</a> for <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html">HTTP status codes</a> in JSP error pages.</p>
|
||||||
<hr />
|
<hr />
|
||||||
<p>For example:</p>
|
<p>For example:</p>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# HttpStatus JSP Tag Library
|
# HttpStatus JSP Tag Library
|
||||||
|
|
||||||
[](http://opensource.org/licenses/BSD-3-Clause) [](https://www.versioneye.com/user/projects/56a6947a1b78fd002d00018a) [](https://travis-ci.org/ethauvin/HttpStatus) [](https://ci.appveyor.com/project/ethauvin/httpstatus) [](https://github.com/ethauvin/httpstatus/releases/latest) [](https://maven-badges.herokuapp.com/maven-central/net.thauvin.erik.httpstatus/httpstatus) [  ](https://bintray.com/ethauvin/maven/HttpStatus/_latestVersion)
|
[](http://opensource.org/licenses/BSD-3-Clause) [](https://github.com/ethauvin/httpstatus/releases/latest) [](https://www.versioneye.com/user/projects/56a6947a1b78fd002d00018a) [](https://maven-badges.herokuapp.com/maven-central/net.thauvin.erik.httpstatus/httpstatus) [  ](https://bintray.com/ethauvin/maven/HttpStatus/_latestVersion) [](https://travis-ci.org/ethauvin/HttpStatus) [](https://ci.appveyor.com/project/ethauvin/httpstatus) [](https://circleci.com/gh/ethauvin/httpstatus/tree/master)
|
||||||
|
|
||||||
|
|
||||||
A simple [JSP](http://www.oracle.com/technetwork/java/javaee/jsp/index.html) Tag Library to display the [code](#hscode), [reason](#hsreason) and/or [cause](#hscode) for [HTTP status codes](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html) in JSP error pages.
|
A simple [JSP](http://www.oracle.com/technetwork/java/javaee/jsp/index.html) Tag Library to display the [code](#hscode), [reason](#hsreason) and/or [cause](#hscode) for [HTTP status codes](http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html) in JSP error pages.
|
||||||
|
|
13
build.gradle
13
build.gradle
|
@ -1,5 +1,6 @@
|
||||||
plugins {
|
plugins {
|
||||||
id "com.jfrog.bintray" version "1.5"
|
id "com.jfrog.bintray" version "1.7.3"
|
||||||
|
id "com.github.ben-manes.versions" version "0.14.0"
|
||||||
}
|
}
|
||||||
apply plugin: 'java'
|
apply plugin: 'java'
|
||||||
apply plugin: 'idea'
|
apply plugin: 'idea'
|
||||||
|
@ -65,7 +66,7 @@ dependencies {
|
||||||
compile 'javax.servlet:javax.servlet-api:3.1.0'
|
compile 'javax.servlet:javax.servlet-api:3.1.0'
|
||||||
compile 'javax.servlet.jsp:jsp-api:2.2'
|
compile 'javax.servlet.jsp:jsp-api:2.2'
|
||||||
|
|
||||||
testCompile 'org.testng:testng:6.9.12'
|
testCompile 'org.testng:testng:6.11'
|
||||||
}
|
}
|
||||||
|
|
||||||
bintray {
|
bintray {
|
||||||
|
@ -161,7 +162,7 @@ javadoc {
|
||||||
options.tags = ['created']
|
options.tags = ['created']
|
||||||
options.author = true
|
options.author = true
|
||||||
options.links('https://docs.oracle.com/javaee/7/api/', 'http://docs.oracle.com/javase/8/docs/api/')
|
options.links('https://docs.oracle.com/javaee/7/api/', 'http://docs.oracle.com/javase/8/docs/api/')
|
||||||
options.addStringOption('sourcepath', project.hasProperty('jdkSrc') ? jdkSrc : "$System.env.JAVA_HOME/src.zip")
|
//options.addStringOption('sourcepath', project.hasProperty('jdkSrc') ? jdkSrc : "$System.env.JAVA_HOME/src.zip")
|
||||||
if (JavaVersion.current().isJava8Compatible()) {
|
if (JavaVersion.current().isJava8Compatible()) {
|
||||||
options.addStringOption('Xdoclint:none', '-quiet')
|
options.addStringOption('Xdoclint:none', '-quiet')
|
||||||
}
|
}
|
||||||
|
@ -208,10 +209,12 @@ task deploy(dependsOn: ['build', 'copyToDeploy']) {
|
||||||
mustRunAfter clean
|
mustRunAfter clean
|
||||||
}
|
}
|
||||||
|
|
||||||
task release(dependsOn: ['wrapper', 'clean', 'deploy']) << {
|
task release(dependsOn: ['wrapper', 'clean', 'deploy']) {
|
||||||
group = 'Publishing'
|
group = 'Publishing'
|
||||||
description = 'Releases new version.'
|
description = 'Releases new version.'
|
||||||
isRelease = true
|
doLast {
|
||||||
|
isRelease = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task pandoc(type: Exec) {
|
task pandoc(type: Exec) {
|
||||||
|
|
11
circle.yml
Normal file
11
circle.yml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
machine:
|
||||||
|
java:
|
||||||
|
version: oraclejdk8
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
override:
|
||||||
|
- chmod +x gradlew
|
||||||
|
|
||||||
|
test:
|
||||||
|
post:
|
||||||
|
- cp -r build/reports/* $CIRCLE_TEST_REPORTS/
|
|
@ -97,7 +97,7 @@ public final class Utils {
|
||||||
* @param value The string value.
|
* @param value The string value.
|
||||||
* @param defaultValue The default value.
|
* @param defaultValue The default value.
|
||||||
* @param xml The {@link #escapeXml(String) xml} flag.
|
* @param xml The {@link #escapeXml(String) xml} flag.
|
||||||
* @throws IOException f an I/O error occurs.
|
* @throws IOException If an I/O error occurs.
|
||||||
*/
|
*/
|
||||||
public static void outWrite(final Writer out, final String value, final String defaultValue, final boolean xml)
|
public static void outWrite(final Writer out, final String value, final String defaultValue, final boolean xml)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue