Fix nohttp for custom whitelist.lines

Looks like we can't have a custom `whitelist.lines` in the `/checkstyle`
dir.

* Move `whitelist.lines` with the `http://www.jcraft.com` entry into the
`/src/nohttp`
* Upgrade `nohttp` to `0.0.3`
* Revert `jsch` URL in the `sftp.adoc`
* Upgrade to Micormeter-1.1.5
This commit is contained in:
Artem Bilan
2019-06-17 16:55:37 -04:00
parent 153a748166
commit 244e5942df
4 changed files with 5 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ buildscript {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "org.jetbrains.kotlin:kotlin-allopen:$kotlinVersion"
classpath 'org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.18'
classpath 'io.spring.nohttp:nohttp-gradle:0.0.2.RELEASE'
classpath 'io.spring.nohttp:nohttp-gradle:0.0.3.RELEASE'
}
}
@@ -21,6 +21,7 @@ if (System.getenv('TRAVIS') || System.getenv('bamboo_buildKey')) {
apply plugin: 'io.spring.nohttp'
nohttp {
whitelistFile = file('src/nohttp/whitelist.lines')
source.include '**/src/**'
source.exclude '**/*.gif', '**/*.jpg', '**/*.png', '**/*.svg', '**/*.ks'
}
@@ -134,7 +135,7 @@ subprojects { subproject ->
kryoShadedVersion = '4.0.2'
lettuceVersion = '5.1.7.RELEASE'
log4jVersion = '2.11.2'
micrometerVersion = '1.1.4'
micrometerVersion = '1.1.5'
mockitoVersion = '2.26.0'
mysqlVersion = '8.0.16'
pahoMqttClientVersion = '1.2.0'

View File

@@ -1 +0,0 @@
^\Qhttp://www.jcraft.com/jsch\E$

View File

@@ -0,0 +1 @@
^http://www.jcraft.com.*

View File

@@ -65,7 +65,7 @@ You can configure the SFTP session factory with a regular bean definition, as th
====
Every time an adapter requests a session object from its `SessionFactory`, a new SFTP session is created.
Under the covers, the SFTP Session Factory relies on the https://github.com/is/jsch[JSch] library to provide the SFTP capabilities.
Under the covers, the SFTP Session Factory relies on the http://www.jcraft.com/jsch[JSch] library to provide the SFTP capabilities.
However, Spring Integration also supports the caching of SFTP sessions.
See <<sftp-session-caching>> for more information.