Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
82198a99
Commit
82198a99
authored
Apr 20, 2021
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish nohttp configuration
Closes gh-26166
parent
57c199d4
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
17 additions
and
10 deletions
+17
-10
build.gradle
build.gradle
+9
-2
module-one-1.0.0.pom
...ngframework/example/module-one/1.0.0/module-one-1.0.0.pom
+1
-1
module-three-1.0.0.pom
...amework/example/module-three/1.0.0/module-three-1.0.0.pom
+1
-1
module-two-1.0.0.pom
...ngframework/example/module-two/1.0.0/module-two-1.0.0.pom
+1
-1
spring-boot-features.adoc
...ing-boot-docs/src/docs/asciidoc/spring-boot-features.adoc
+1
-1
library-1.0-SNAPSHOT.pom
...com/example/library/1.0-SNAPSHOT/library-1.0-SNAPSHOT.pom
+1
-1
whitelist.lines
src/nohttp/whitelist.lines
+3
-3
No files found.
build.gradle
View file @
82198a99
plugins
{
plugins
{
id
"org.jetbrains.kotlin.jvm"
apply
false
// https://youtrack.jetbrains.com/issue/KT-30276
id
"org.jetbrains.kotlin.jvm"
apply
false
// https://youtrack.jetbrains.com/issue/KT-30276
id
"io.spring.nohttp"
version
"0.0.
3
.RELEASE"
id
"io.spring.nohttp"
version
"0.0.
6
.RELEASE"
}
}
description
=
"Spring Boot Build"
description
=
"Spring Boot Build"
...
@@ -9,7 +9,14 @@ defaultTasks 'build'
...
@@ -9,7 +9,14 @@ defaultTasks 'build'
nohttp
{
nohttp
{
whitelistFile
=
project
.
file
(
"src/nohttp/whitelist.lines"
)
whitelistFile
=
project
.
file
(
"src/nohttp/whitelist.lines"
)
source
.
exclude
"buildSrc/build/**"
source
.
exclude
"**/bin/**"
source
.
exclude
"**/build/**"
source
.
exclude
"**/out/**"
source
.
exclude
"**/target/**"
}
task
build
{
dependsOn
checkstyleNohttp
}
}
allprojects
{
allprojects
{
...
...
ci/images/releasescripts/src/test/resources/io/spring/concourse/releasescripts/sonatype/artifactory-repo/org/springframework/example/module-one/1.0.0/module-one-1.0.0.pom
View file @
82198a99
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns=
"http://maven.apache.org/POM/4.0.0"
<project
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http
s
://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
<!-- This module was also published with a richer model, Gradle metadata, -->
<!-- This module was also published with a richer model, Gradle metadata, -->
<!-- which should be used instead. Do not delete the following line which -->
<!-- which should be used instead. Do not delete the following line which -->
...
...
ci/images/releasescripts/src/test/resources/io/spring/concourse/releasescripts/sonatype/artifactory-repo/org/springframework/example/module-three/1.0.0/module-three-1.0.0.pom
View file @
82198a99
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns=
"http://maven.apache.org/POM/4.0.0"
<project
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http
s
://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
<!-- This module was also published with a richer model, Gradle metadata, -->
<!-- This module was also published with a richer model, Gradle metadata, -->
<!-- which should be used instead. Do not delete the following line which -->
<!-- which should be used instead. Do not delete the following line which -->
...
...
ci/images/releasescripts/src/test/resources/io/spring/concourse/releasescripts/sonatype/artifactory-repo/org/springframework/example/module-two/1.0.0/module-two-1.0.0.pom
View file @
82198a99
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns=
"http://maven.apache.org/POM/4.0.0"
<project
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http
s
://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
<!-- This module was also published with a richer model, Gradle metadata, -->
<!-- This module was also published with a richer model, Gradle metadata, -->
<!-- which should be used instead. Do not delete the following line which -->
<!-- which should be used instead. Do not delete the following line which -->
...
...
spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc
View file @
82198a99
...
@@ -7533,7 +7533,7 @@ Alternatively, you can specify a source for your test, which disables the behavi
...
@@ -7533,7 +7533,7 @@ Alternatively, you can specify a source for your test, which disables the behavi
If you wish to use Spock to test a Spring Boot application, you should add a dependency on Spock's `spock-spring` module to your application's build.
If you wish to use Spock to test a Spring Boot application, you should add a dependency on Spock's `spock-spring` module to your application's build.
`spock-spring` integrates Spring's test framework into Spock.
`spock-spring` integrates Spring's test framework into Spock.
It is recommended that you use Spock 1.2 or later to benefit from a number of improvements to Spock's Spring Framework and Spring Boot integration.
It is recommended that you use Spock 1.2 or later to benefit from a number of improvements to Spock's Spring Framework and Spring Boot integration.
See http://spockframework.org/spock/docs/1.2/modules.html#_spring_module[the documentation for Spock's Spring module] for further details.
See http
s
://spockframework.org/spock/docs/1.2/modules.html#_spring_module[the documentation for Spock's Spring module] for further details.
...
...
spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/resources/repository/com/example/library/1.0-SNAPSHOT/library-1.0-SNAPSHOT.pom
View file @
82198a99
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns=
"http://maven.apache.org/POM/4.0.0"
<project
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http
s
://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
com.example
</groupId>
<groupId>
com.example
</groupId>
...
...
src/nohttp/whitelist.lines
View file @
82198a99
^http://exslt.org/common.*
^http://exslt.org/common.*
^http://ganglia.sourceforge.net.*
^http://hsqldb.org.*
^http://hsqldb.org.*
^http://livereload.com/.*
^http://livereload.com/.*
^http://logback.qos.ch/manual/loggingSeparation.html
^http://schemas.xmlsoap.org/.*
^http://www.jdotsoft.com.*
^http://www.jdotsoft.com.*
^http://spockframework.org.*
^http://ganglia.sourceforge.net.*
^http://schemas.xmlsoap.org.*
^http://www.liquibase.org/xml/ns/dbchangelog/.*
^http://www.liquibase.org/xml/ns/dbchangelog/.*
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment