4320 changed files with 16486 additions and 17148 deletions
@ -0,0 +1,49 @@
@@ -0,0 +1,49 @@
|
||||
== Concourse pipeline |
||||
|
||||
To set the pipeline first create a file in this directory called `secrets.yml`: |
||||
|
||||
[source,yaml] |
||||
.secrets.yml |
||||
---- |
||||
docker-hub-username: <user> |
||||
docker-hub-password: <secret> |
||||
github-username: <user> |
||||
github-password: <secret> |
||||
artifactory-username: <user> |
||||
artifactory-password: <secret> |
||||
---- |
||||
|
||||
NOTE: The file should be ignored by git, make sure that you don't commit it! |
||||
|
||||
Once the file has been created, the pipeline can be deployed: |
||||
|
||||
[source] |
||||
---- |
||||
$ fly -t spring set-pipeline -p spring-boot -c ci/pipeline.yml -l ci/parameters.yml -l ci/secrets.yml |
||||
---- |
||||
|
||||
=== Release |
||||
|
||||
To release a milestone: |
||||
|
||||
[source] |
||||
---- |
||||
$ fly -t spring trigger-job -j spring-boot/stage-milestone |
||||
$ fly -t spring trigger-job -j spring-boot/promote-milestone |
||||
---- |
||||
|
||||
To release an RC: |
||||
|
||||
[source] |
||||
---- |
||||
$ fly -t spring trigger-job -j spring-boot/stage-rc |
||||
$ fly -t spring trigger-job -j spring-boot/promote-rc |
||||
---- |
||||
|
||||
To release a GA: |
||||
|
||||
[source] |
||||
---- |
||||
$ fly -t spring trigger-job -j spring-boot/stage-release |
||||
$ fly -t spring trigger-job -j spring-boot/promote-release |
||||
---- |
||||
@ -0,0 +1,8 @@
@@ -0,0 +1,8 @@
|
||||
FROM openjdk:8u141-jdk |
||||
|
||||
RUN apt-get update && \ |
||||
apt-get install -y git && \ |
||||
apt-get install -y libxml2-utils && \ |
||||
apt-get install -y jq |
||||
|
||||
ADD https://raw.githubusercontent.com/spring-io/concourse-java-scripts/v0.0.1/concourse-java.sh /opt/ |
||||
@ -0,0 +1,8 @@
@@ -0,0 +1,8 @@
|
||||
FROM openjdk:9-b179-jdk |
||||
|
||||
RUN apt-get update && \ |
||||
apt-get install -y git && \ |
||||
apt-get install -y libxml2-utils && \ |
||||
apt-get install -y jq |
||||
|
||||
ADD https://raw.githubusercontent.com/spring-io/concourse-java-scripts/v0.0.1/concourse-java.sh /opt/ |
||||
@ -0,0 +1,10 @@
@@ -0,0 +1,10 @@
|
||||
email-server: "smtp.svc.pivotal.io" |
||||
email-from: "ci@spring.io" |
||||
email-to: ["spring-boot-dev@pivotal.io"] |
||||
github-repo: "https://github.com/spring-projects/spring-boot.git" |
||||
docker-hub-organization: "springci" |
||||
artifactory-server: "https://repo.spring.io/" |
||||
branch: "master" |
||||
build-name: "spring-boot" |
||||
bintray-subject: "spring" |
||||
bintray-repo: "jars" |
||||
@ -0,0 +1,259 @@
@@ -0,0 +1,259 @@
|
||||
resource_types: |
||||
- name: artifactory-resource |
||||
type: docker-image |
||||
source: |
||||
repository: springio/artifactory-resource |
||||
tag: 0.0.1 |
||||
- name: email |
||||
type: docker-image |
||||
source: |
||||
repository: pcfseceng/email-resource |
||||
resources: |
||||
- name: git-repo |
||||
type: git |
||||
source: |
||||
uri: ((github-repo)) |
||||
username: ((github-username)) |
||||
password: ((github-password)) |
||||
branch: ((branch)) |
||||
ignore_paths: ["ci/images/*"] |
||||
- name: ci-images-git-repo |
||||
type: git |
||||
source: |
||||
uri: ((github-repo)) |
||||
branch: ((branch)) |
||||
paths: ["ci/images/*"] |
||||
- name: spring-boot-ci-image |
||||
type: docker-image |
||||
source: |
||||
repository: ((docker-hub-organization))/spring-boot-ci-image |
||||
username: ((docker-hub-username)) |
||||
password: ((docker-hub-password)) |
||||
tag: ((branch)) |
||||
- name: spring-boot-jdk9-ci-image |
||||
type: docker-image |
||||
source: |
||||
repository: ((docker-hub-organization))/spring-boot-jdk9-ci-image |
||||
username: ((docker-hub-username)) |
||||
password: ((docker-hub-password)) |
||||
tag: ((branch)) |
||||
- name: artifactory-repo |
||||
type: artifactory-resource |
||||
source: |
||||
uri: ((artifactory-server)) |
||||
username: ((artifactory-username)) |
||||
password: ((artifactory-password)) |
||||
build_name: ((build-name)) |
||||
- name: email-notification |
||||
type: email |
||||
source: |
||||
smtp: |
||||
host: ((email-server)) |
||||
port: "25" |
||||
anonymous: true |
||||
skip_ssl_validation: true |
||||
from: ((email-from)) |
||||
to: ((email-to)) |
||||
jobs: |
||||
- name: build-spring-boot-ci-images |
||||
plan: |
||||
- get: ci-images-git-repo |
||||
trigger: true |
||||
- put: spring-boot-ci-image |
||||
params: |
||||
build: ci-images-git-repo/ci/images/spring-boot-ci-image |
||||
- put: spring-boot-jdk9-ci-image |
||||
params: |
||||
build: ci-images-git-repo/ci/images/spring-boot-jdk9-ci-image |
||||
- name: build |
||||
serial: true |
||||
plan: |
||||
- get: spring-boot-ci-image |
||||
- get: git-repo |
||||
trigger: true |
||||
- do: |
||||
- task: build-project |
||||
timeout: 1h30m |
||||
image: spring-boot-ci-image |
||||
file: git-repo/ci/tasks/build-project.yml |
||||
- aggregate: |
||||
- task: build-samples |
||||
timeout: 1h30m |
||||
image: spring-boot-ci-image |
||||
file: git-repo/ci/tasks/build-samples.yml |
||||
- task: build-integration-tests |
||||
timeout: 1h30m |
||||
image: spring-boot-ci-image |
||||
file: git-repo/ci/tasks/build-integration-tests.yml |
||||
- task: build-deployment-tests |
||||
timeout: 1h30m |
||||
image: spring-boot-ci-image |
||||
file: git-repo/ci/tasks/build-deployment-tests.yml |
||||
on_failure: |
||||
put: email-notification |
||||
params: |
||||
subject_text: "Build failure ${BUILD_PIPELINE_NAME} / ${BUILD_JOB_NAME} / ${BUILD_NAME}" |
||||
body_text: "Build ${ATC_EXTERNAL_URL}/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME} has failed!" |
||||
- put: artifactory-repo |
||||
params: &artifactory-params |
||||
repo: libs-snapshot-local |
||||
build_number: "${BUILD_ID}" |
||||
folder: distribution-repository |
||||
build_uri: "https://ci.spring.io/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME}" |
||||
build_number: "${BUILD_PIPELINE_NAME}-${BUILD_JOB_NAME}-${BUILD_NAME}" |
||||
artifact_set: |
||||
- include: |
||||
- "/**/spring-boot-docs-*.zip" |
||||
properties: |
||||
zip-type: "docs" |
||||
zip-deployed: "false" |
||||
- name: jdk9-build |
||||
serial: true |
||||
plan: |
||||
- get: spring-boot-jdk9-ci-image |
||||
- get: git-repo |
||||
- do: |
||||
- task: build-project |
||||
timeout: 1h30m |
||||
image: spring-boot-jdk9-ci-image |
||||
file: git-repo/ci/tasks/build-project.yml |
||||
- aggregate: |
||||
- task: build-samples |
||||
timeout: 1h30m |
||||
image: spring-boot-jdk9-ci-image |
||||
file: git-repo/ci/tasks/build-samples.yml |
||||
- task: build-integration-tests |
||||
timeout: 1h30m |
||||
image: spring-boot-jdk9-ci-image |
||||
file: git-repo/ci/tasks/build-integration-tests.yml |
||||
- task: build-deployment-tests |
||||
timeout: 1h30m |
||||
image: spring-boot-jdk9-ci-image |
||||
file: git-repo/ci/tasks/build-deployment-tests.yml |
||||
on_failure: |
||||
put: email-notification |
||||
params: |
||||
subject_text: "JDK 9 Build failure ${BUILD_PIPELINE_NAME} / ${BUILD_JOB_NAME} / ${BUILD_NAME}" |
||||
body_text: "Build ${ATC_EXTERNAL_URL}/teams/${BUILD_TEAM_NAME}/pipelines/${BUILD_PIPELINE_NAME}/jobs/${BUILD_JOB_NAME}/builds/${BUILD_NAME} has failed!" |
||||
- name: stage-milestone |
||||
serial: true |
||||
plan: |
||||
- get: spring-boot-ci-image |
||||
- get: git-repo |
||||
trigger: false |
||||
- task: stage |
||||
image: spring-boot-ci-image |
||||
file: git-repo/ci/tasks/stage.yml |
||||
params: |
||||
RELEASE_TYPE: M |
||||
- put: artifactory-repo |
||||
params: |
||||
<<: *artifactory-params |
||||
repo: libs-staging-local |
||||
- put: git-repo |
||||
params: |
||||
repository: stage-git-repo |
||||
- name: stage-rc |
||||
serial: true |
||||
plan: |
||||
- get: spring-boot-ci-image |
||||
- get: git-repo |
||||
trigger: false |
||||
- task: stage |
||||
image: spring-boot-ci-image |
||||
file: git-repo/ci/tasks/stage.yml |
||||
params: |
||||
RELEASE_TYPE: RC |
||||
- put: artifactory-repo |
||||
params: |
||||
<<: *artifactory-params |
||||
repo: libs-staging-local |
||||
- put: git-repo |
||||
params: |
||||
repository: stage-git-repo |
||||
- name: stage-release |
||||
serial: true |
||||
plan: |
||||
- get: spring-boot-ci-image |
||||
- get: git-repo |
||||
trigger: false |
||||
- task: stage |
||||
image: spring-boot-ci-image |
||||
file: git-repo/ci/tasks/stage.yml |
||||
params: |
||||
RELEASE_TYPE: RELEASE |
||||
- put: artifactory-repo |
||||
params: |
||||
<<: *artifactory-params |
||||
repo: libs-staging-local |
||||
- put: git-repo |
||||
params: |
||||
repository: stage-git-repo |
||||
- name: promote-milestone |
||||
serial: true |
||||
plan: |
||||
- get: spring-boot-ci-image |
||||
- get: git-repo |
||||
trigger: false |
||||
- get: artifactory-repo |
||||
trigger: false |
||||
passed: [stage-milestone] |
||||
params: |
||||
save_build_info: true |
||||
- task: promote |
||||
image: spring-boot-ci-image |
||||
file: git-repo/ci/tasks/promote.yml |
||||
params: |
||||
RELEASE_TYPE: M |
||||
ARTIFACTORY_SERVER: ((artifactory-server)) |
||||
ARTIFACTORY_USERNAME: ((artifactory-username)) |
||||
ARTIFACTORY_PASSWORD: ((artifactory-password)) |
||||
- name: promote-rc |
||||
serial: true |
||||
plan: |
||||
- get: git-repo |
||||
trigger: false |
||||
- get: artifactory-repo |
||||
trigger: false |
||||
passed: [stage-rc] |
||||
params: |
||||
save_build_info: true |
||||
- task: promote |
||||
image: spring-boot-ci-image |
||||
file: git-repo/ci/tasks/promote.yml |
||||
params: |
||||
RELEASE_TYPE: RC |
||||
ARTIFACTORY_SERVER: ((artifactory-server)) |
||||
ARTIFACTORY_USERNAME: ((artifactory-username)) |
||||
ARTIFACTORY_PASSWORD: ((artifactory-password)) |
||||
- name: promote-release |
||||
serial: true |
||||
plan: |
||||
- get: git-repo |
||||
trigger: false |
||||
- get: artifactory-repo |
||||
trigger: false |
||||
passed: [stage-release] |
||||
params: |
||||
save_build_info: true |
||||
- task: promote |
||||
image: spring-boot-ci-image |
||||
file: git-repo/ci/tasks/promote.yml |
||||
params: |
||||
RELEASE_TYPE: RELEASE |
||||
ARTIFACTORY_SERVER: ((artifactory-server)) |
||||
ARTIFACTORY_USERNAME: ((artifactory-username)) |
||||
ARTIFACTORY_PASSWORD: ((artifactory-password)) |
||||
BINTRAY_USERNAME: ((bintray-username)) |
||||
BINTRAY_PASSWORD: ((bintray-password)) |
||||
SONATYPE_USERNAME: ((sonattype-username)) |
||||
SONATYPE_PASSWORD: ((sonattype-password)) |
||||
BINTRAY_SUBJECT: ((bintray-subject)) |
||||
BINTRAY_REPO: ((bintray-repo)) |
||||
groups: |
||||
- name: "Build" |
||||
jobs: ["build", "jdk9-build"] |
||||
- name: "Release" |
||||
jobs: ["stage-milestone", "stage-rc", "stage-release", "promote-milestone", "promote-rc", "promote-release"] |
||||
- name: "CI Images" |
||||
jobs: ["build-spring-boot-ci-images"] |
||||
@ -0,0 +1,9 @@
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash |
||||
set -e |
||||
|
||||
source $(dirname $0)/common.sh |
||||
repository=$(pwd)/distribution-repository |
||||
|
||||
pushd git-repo > /dev/null |
||||
run_maven -f spring-boot-tests/spring-boot-deployment-tests/pom.xml clean install -U -Dfull -Drepository=file://${repository} |
||||
popd > /dev/null |
||||
@ -0,0 +1,9 @@
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash |
||||
set -e |
||||
|
||||
source $(dirname $0)/common.sh |
||||
repository=$(pwd)/distribution-repository |
||||
|
||||
pushd git-repo > /dev/null |
||||
run_maven -f spring-boot-tests/spring-boot-integration-tests/pom.xml clean install -U -Dfull -Drepository=file://${repository} |
||||
popd > /dev/null |
||||
@ -0,0 +1,9 @@
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash |
||||
set -e |
||||
|
||||
source $(dirname $0)/common.sh |
||||
repository=$(pwd)/distribution-repository |
||||
|
||||
pushd git-repo > /dev/null |
||||
run_maven -f spring-boot-project/pom.xml clean deploy -U -Dfull -DaltDeploymentRepository=distribution::default::file://${repository} |
||||
popd > /dev/null |
||||
@ -0,0 +1,9 @@
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash |
||||
set -e |
||||
|
||||
source $(dirname $0)/common.sh |
||||
repository=$(pwd)/distribution-repository |
||||
|
||||
pushd git-repo > /dev/null |
||||
run_maven -f spring-boot-samples/pom.xml clean install -U -Dfull -Drepository=file://${repository} |
||||
popd > /dev/null |
||||
@ -0,0 +1,4 @@
@@ -0,0 +1,4 @@
|
||||
source /opt/concourse-java.sh |
||||
|
||||
setup_symlinks |
||||
cleanup_maven_repo "org.springframework.boot" |
||||
@ -0,0 +1,51 @@
@@ -0,0 +1,51 @@
|
||||
#!/bin/bash |
||||
set -e |
||||
|
||||
source $(dirname $0)/common.sh |
||||
|
||||
buildName=$( cat artifactory-repo/build-info.json | jq -r '.buildInfo.name' ) |
||||
buildNumber=$( cat artifactory-repo/build-info.json | jq -r '.buildInfo.number' ) |
||||
groupId=$( cat artifactory-repo/build-info.json | jq -r '.buildInfo.modules[0].id' | sed 's/\(.*\):.*:.*/\1/' ) |
||||
version=$( cat artifactory-repo/build-info.json | jq -r '.buildInfo.modules[0].id' | sed 's/.*:.*:\(.*\)/\1/' ) |
||||
|
||||
|
||||
if [[ $RELEASE_TYPE = "M" ]]; then |
||||
targetRepo="libs-milestone-local" |
||||
elif [[ $RELEASE_TYPE = "RC" ]]; then |
||||
targetRepo="libs-milestone-local" |
||||
elif [[ $RELEASE_TYPE = "RELEASE" ]]; then |
||||
targetRepo="libs-release-local" |
||||
else |
||||
echo "Unknown release type $RELEASE_TYPE" >&2; exit 1; |
||||
fi |
||||
|
||||
echo "Promoting ${buildName}/${buildNumber} to ${targetRepo}" |
||||
|
||||
curl \ |
||||
-u ${ARTIFACTORY_USERNAME}:${ARTIFACTORY_PASSWORD} \ |
||||
-H"Content-type:application/json" \ |
||||
-d "{\"status\": \"staged\", \"sourceRepo\": \"libs-staging-local\", \"targetRepo\": \"\"}" \ |
||||
-f \ |
||||
-X \ |
||||
POST "${ARTIFACTORY_SERVER}/api/build/promote/${buildName}/${buildNumber}" > /dev/null || { echo "Failed to promote" >&2; exit 1; } |
||||
|
||||
elif [[ $RELEASE_TYPE = "RELEASE" ]]; then |
||||
curl \ |
||||
-u ${ARTIFACTORY_USERNAME}:${ARTIFACTORY_PASSWORD} \ |
||||
-H"Content-type:application/json" \ |
||||
-u ${ARTIFACTORY_USERNAME}:${ARTIFACTORY_PASSWORD} \ |
||||
-d "{\"sourceRepos\": [\"libs-release-local\"], \"targetRepo\" : \"spring-distributions\"}" |
||||
-f \ |
||||
-X \ |
||||
POST "${ARTIFACTORY_SERVER}/api/build/distribute/${buildName}/${buildNumber}" > /dev/null || { echo "Failed to publish" >&2; exit 1; } |
||||
|
||||
curl \ |
||||
-u ${BINTRAY_USERNAME}:${BINTRAY_PASSWORD} \ |
||||
-H "Content-Type: application/json" -d "{\"username\": \"${SONATYPE_USERNAME}\", \"password\": \"${SONATYPE_PASSWORD}\"}" |
||||
-f \ |
||||
-X \ |
||||
POST "https://api.bintray.com/maven_central_sync/${BINTRAY_SUBJECT}/${BINTRAY_REPO}/${groupId}/versions/${version}" > /dev/null || { echo "Failed to sync" >&2; exit 1; } |
||||
fi |
||||
|
||||
|
||||
echo "Promotion complete" |
||||
@ -0,0 +1,53 @@
@@ -0,0 +1,53 @@
|
||||
#!/bin/bash |
||||
set -e |
||||
|
||||
source $(dirname $0)/common.sh |
||||
repository=$(pwd)/distribution-repository |
||||
|
||||
pushd git-repo > /dev/null |
||||
git fetch --tags --all > /dev/null |
||||
popd > /dev/null |
||||
|
||||
git clone git-repo stage-git-repo > /dev/null |
||||
|
||||
pushd stage-git-repo > /dev/null |
||||
|
||||
snapshotVersion=$( get_revision_from_pom ) |
||||
if [[ $RELEASE_TYPE = "M" ]]; then |
||||
stageVersion=$( get_next_milestone_release $snapshotVersion) |
||||
nextVersion=$snapshotVersion |
||||
elif [[ $RELEASE_TYPE = "RC" ]]; then |
||||
stage=$( get_next_rc_release $snapshotVersion) |
||||
nextVersion=$snapshotVersion |
||||
elif [[ $RELEASE_TYPE = "RELEASE" ]]; then |
||||
stage=$( strip_snapshot_suffix $snapshotVersion) |
||||
nextVersion=$( bump_version_number $snapshotVersion) |
||||
else |
||||
echo "Unknown release type $RELEASE_TYPE" >&2; exit 1; |
||||
fi |
||||
|
||||
echo "Staging $stageVersion (next version will be $nextVersion)" |
||||
|
||||
set_revision_to_pom "$stageVersion" |
||||
git config user.name "Spring Buildmaster" > /dev/null |
||||
git config user.email "buildmaster@springframework.org" > /dev/null |
||||
git add pom.xml > /dev/null |
||||
git commit -m"Release v$stageVersion" > /dev/null |
||||
git tag -a "v$stageVersion" -m"Release v$stageVersion" > /dev/null |
||||
|
||||
run_maven -f spring-boot-project/pom.xml clean deploy -U -Dfull -DaltDeploymentRepository=distribution::default::file://${repository} |
||||
run_maven -f spring-boot-tests/spring-boot-sample-tests/pom.xml clean install -U -Dfull -Drepository=file://${repository} |
||||
run_maven -f spring-boot-tests/spring-boot-integration-tests/pom.xml clean install -U -Dfull -Drepository=file://${repository} |
||||
run_maven -f spring-boot-tests/spring-boot-deployment-tests/pom.xml clean install -U -Dfull -Drepository=file://${repository} |
||||
|
||||
git reset --hard HEAD^ > /dev/null |
||||
if [[ $nextVersion != $snapshotVersion ]]; then |
||||
echo "Setting next development version (v$nextVersion)" |
||||
set_revision_to_pom "$nextVersion" |
||||
git add pom.xml > /dev/null |
||||
git commit -m"Next development version (v$nextVersion)" > /dev/null |
||||
fi; |
||||
|
||||
echo "DONE" |
||||
|
||||
popd > /dev/null |
||||
@ -0,0 +1,10 @@
@@ -0,0 +1,10 @@
|
||||
--- |
||||
platform: linux |
||||
inputs: |
||||
- name: git-repo |
||||
- name: distribution-repository |
||||
caches: |
||||
- path: maven |
||||
- path: gradle |
||||
run: |
||||
path: git-repo/ci/scripts/build-deployment-tests.sh |
||||
@ -0,0 +1,10 @@
@@ -0,0 +1,10 @@
|
||||
--- |
||||
platform: linux |
||||
inputs: |
||||
- name: git-repo |
||||
- name: distribution-repository |
||||
caches: |
||||
- path: maven |
||||
- path: gradle |
||||
run: |
||||
path: git-repo/ci/scripts/build-integration-tests.sh |
||||
@ -0,0 +1,11 @@
@@ -0,0 +1,11 @@
|
||||
--- |
||||
platform: linux |
||||
inputs: |
||||
- name: git-repo |
||||
outputs: |
||||
- name: distribution-repository |
||||
caches: |
||||
- path: maven |
||||
- path: gradle |
||||
run: |
||||
path: git-repo/ci/scripts/build-project.sh |
||||
@ -0,0 +1,10 @@
@@ -0,0 +1,10 @@
|
||||
--- |
||||
platform: linux |
||||
inputs: |
||||
- name: git-repo |
||||
- name: distribution-repository |
||||
caches: |
||||
- path: maven |
||||
- path: gradle |
||||
run: |
||||
path: git-repo/ci/scripts/build-samples.sh |
||||
@ -0,0 +1,7 @@
@@ -0,0 +1,7 @@
|
||||
--- |
||||
platform: linux |
||||
inputs: |
||||
- name: git-repo |
||||
- name: artifactory-repo |
||||
run: |
||||
path: git-repo/ci/scripts/promote.sh |
||||
@ -0,0 +1,12 @@
@@ -0,0 +1,12 @@
|
||||
--- |
||||
platform: linux |
||||
inputs: |
||||
- name: git-repo |
||||
outputs: |
||||
- name: stage-git-repo |
||||
- name: distribution-repository |
||||
caches: |
||||
- path: maven |
||||
- path: gradle |
||||
run: |
||||
path: git-repo/ci/scripts/stage.sh |
||||
@ -1,362 +1,131 @@
@@ -1,362 +1,131 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-build</artifactId> |
||||
<version>2.0.0.BUILD-SNAPSHOT</version> |
||||
<version>${revision}</version> |
||||
<packaging>pom</packaging> |
||||
<name>Spring Boot Build</name> |
||||
<description>Spring Boot Build</description> |
||||
<url>http://projects.spring.io/spring-boot/</url> |
||||
<organization> |
||||
<name>Pivotal Software, Inc.</name> |
||||
<url>http://www.spring.io</url> |
||||
</organization> |
||||
<licenses> |
||||
<license> |
||||
<name>Apache License, Version 2.0</name> |
||||
<url>http://www.apache.org/licenses/LICENSE-2.0</url> |
||||
</license> |
||||
</licenses> |
||||
<scm> |
||||
<url>https://github.com/spring-projects/spring-boot</url> |
||||
</scm> |
||||
<developers> |
||||
<developer> |
||||
<id>pwebb</id> |
||||
<name>Phillip Webb</name> |
||||
<email>pwebb at pivotal.io</email> |
||||
<organization>Pivotal Software, Inc.</organization> |
||||
<organizationUrl>http://www.spring.io</organizationUrl> |
||||
<roles> |
||||
<role>Project lead</role> |
||||
</roles> |
||||
</developer> |
||||
<developer> |
||||
<id>dsyer</id> |
||||
<name>Dave Syer</name> |
||||
<email>dsyer at pivotal.io</email> |
||||
<organization>Pivotal Software, Inc.</organization> |
||||
<organizationUrl>http://www.spring.io</organizationUrl> |
||||
<roles> |
||||
<role>Project lead</role> |
||||
</roles> |
||||
</developer> |
||||
</developers> |
||||
<properties> |
||||
<revision>2.0.0.BUILD-SNAPSHOT</revision> |
||||
<main.basedir>${basedir}</main.basedir> |
||||
</properties> |
||||
<build> |
||||
<pluginManagement> |
||||
<plugins> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-antrun-plugin</artifactId> |
||||
<version>1.7</version> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-surefire-plugin</artifactId> |
||||
<version>2.17</version> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>com.google.code.maven-replacer-plugin</groupId> |
||||
<artifactId>replacer</artifactId> |
||||
<version>1.5.3</version> |
||||
</plugin> |
||||
|
||||
</plugins> |
||||
</pluginManagement> |
||||
</build> |
||||
<!-- Most elementss are in profiles so they are stripped out during maven-flatten --> |
||||
<profiles> |
||||
<!-- Default profile for command line build --> |
||||
<profile> |
||||
<id>default</id> |
||||
<activation> |
||||
<activeByDefault>true</activeByDefault> |
||||
</activation> |
||||
<modules> |
||||
<module>spring-boot-dependencies</module> |
||||
<module>spring-boot-parent</module> |
||||
<module>spring-boot-tools</module> |
||||
<module>spring-boot</module> |
||||
<module>spring-boot-test</module> |
||||
<module>spring-boot-autoconfigure</module> |
||||
<module>spring-boot-test-autoconfigure</module> |
||||
<module>spring-boot-actuator</module> |
||||
<module>spring-boot-actuator-autoconfigure</module> |
||||
<module>spring-boot-devtools</module> |
||||
<module>spring-boot-docs</module> |
||||
<module>spring-boot-starters</module> |
||||
<module>spring-boot-cli</module> |
||||
<module>spring-boot-project</module> |
||||
<!-- Samples are built via the invoker plugin --> |
||||
<module>spring-boot-samples-invoker</module> |
||||
<module>spring-boot-tests</module> |
||||
</modules> |
||||
</profile> |
||||
<!-- M2E profile to allow easy import into Eclipse --> |
||||
<profile> |
||||
<id>integration</id> |
||||
<id>m2e</id> |
||||
<activation> |
||||
<activeByDefault>true</activeByDefault> |
||||
<property> |
||||
<name>m2e.version</name> |
||||
</property> |
||||
</activation> |
||||
<modules> |
||||
<module>spring-boot-integration-tests</module> |
||||
<module>spring-boot-project</module> |
||||
<module>spring-boot-samples</module> |
||||
<module>spring-boot-tests</module> |
||||
</modules> |
||||
</profile> |
||||
<profile> |
||||
<id>full</id> |
||||
</profile> |
||||
<profile> |
||||
<id>prepare</id> |
||||
<properties> |
||||
<skipTests>true</skipTests> |
||||
</properties> |
||||
<modules> |
||||
<module>spring-boot-dependencies</module> |
||||
<module>spring-boot-parent</module> |
||||
<module>spring-boot-tools</module> |
||||
</modules> |
||||
<build> |
||||
<plugins> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-antrun-plugin</artifactId> |
||||
<dependencies> |
||||
<dependency> |
||||
<groupId>ant-contrib</groupId> |
||||
<artifactId>ant-contrib</artifactId> |
||||
<version>1.0b3</version> |
||||
<exclusions> |
||||
<exclusion> |
||||
<groupId>ant</groupId> |
||||
<artifactId>ant</artifactId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.ant</groupId> |
||||
<artifactId>ant-nodeps</artifactId> |
||||
<version>1.8.1</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.tigris.antelope</groupId> |
||||
<artifactId>antelopetasks</artifactId> |
||||
<version>3.2.10</version> |
||||
</dependency> |
||||
</dependencies> |
||||
<executions> |
||||
<execution> |
||||
<id>generate-settings.xml</id> |
||||
<phase>verify</phase> |
||||
<goals> |
||||
<goal>run</goal> |
||||
</goals> |
||||
<inherited>false</inherited> |
||||
<configuration> |
||||
<target> |
||||
<taskdef resource="net/sf/antcontrib/antcontrib.properties" /> |
||||
<taskdef name="stringutil" classname="ise.antelope.tasks.StringUtilTask" /> |
||||
<var name="version-type" value="${project.version}" /> |
||||
<propertyregex property="version-type" override="true" input="${version-type}" regexp=".*\.(.*)" replace="\1" /> |
||||
<propertyregex property="version-type" override="true" input="${version-type}" regexp="(M)\d+" replace="MILESTONE" /> |
||||
<propertyregex property="version-type" override="true" input="${version-type}" regexp="(RC)\d+" replace="MILESTONE" /> |
||||
<propertyregex property="version-type" override="true" input="${version-type}" regexp="BUILD-(.*)" replace="SNAPSHOT" /> |
||||
<stringutil string="${version-type}" property="profile"> |
||||
<lowercase /> |
||||
</stringutil> |
||||
<echo message="Writing settings for ${profile} profile" /> |
||||
<copy file=".settings-template.xml" tofile="settings.xml" overwrite="true"> |
||||
<filterset> |
||||
<filter token="profile" value="${profile}" /> |
||||
</filterset> |
||||
</copy> |
||||
</target> |
||||
</configuration> |
||||
</execution> |
||||
<execution> |
||||
<id>fixup-dependencies-pom</id> |
||||
<phase>verify</phase> |
||||
<goals> |
||||
<goal>run</goal> |
||||
</goals> |
||||
<inherited>false</inherited> |
||||
<configuration> |
||||
<target> |
||||
<property name="sourceFile" value="spring-boot-dependencies/pom.xml" /> |
||||
<xslt in="${sourceFile}" out="${sourceFile}.new" force="true"> |
||||
<style> |
||||
<string><![CDATA[ |
||||
<xsl:stylesheet version="2.0" |
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:m="http://maven.apache.org/POM/4.0.0" |
||||
exclude-result-prefixes="m"> |
||||
|
||||
<xsl:template match="node()|@*"> |
||||
<xsl:copy> |
||||
<xsl:apply-templates select="node()|@*" /> |
||||
</xsl:copy> |
||||
</xsl:template> |
||||
|
||||
<xsl:template |
||||
match="m:build/m:pluginManagement/m:plugins/m:plugin[m:groupId/text() = 'org.springframework.boot']/m:version/text()"> |
||||
<xsl:value-of select="/m:project/m:version/text()"/> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
||||
]]> |
||||
</string> |
||||
</style> |
||||
</xslt> |
||||
<move file="${sourceFile}" tofile="${sourceFile}.old" /> |
||||
<move file="${sourceFile}.new" tofile="${sourceFile}" /> |
||||
<delete file="${sourceFile}.old" /> |
||||
</target> |
||||
</configuration> |
||||
</execution> |
||||
<execution> |
||||
<id>fixup-starter-parent</id> |
||||
<phase>verify</phase> |
||||
<goals> |
||||
<goal>run</goal> |
||||
</goals> |
||||
<inherited>false</inherited> |
||||
<configuration> |
||||
<target> |
||||
<property name="sourceFile" value="spring-boot-starters/spring-boot-starter-parent/pom.xml" /> |
||||
<xslt in="${sourceFile}" out="${sourceFile}.new" force="true"> |
||||
<style> |
||||
<string><![CDATA[ |
||||
<xsl:stylesheet version="2.0" |
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:m="http://maven.apache.org/POM/4.0.0" |
||||
exclude-result-prefixes="m"> |
||||
|
||||
<xsl:template match="node()|@*"> |
||||
<xsl:copy> |
||||
<xsl:apply-templates select="node()|@*" /> |
||||
</xsl:copy> |
||||
</xsl:template> |
||||
|
||||
<xsl:template |
||||
match="m:build/m:pluginManagement/m:plugins/m:plugin[m:artifactId/text() = 'maven-shade-plugin']/m:dependencies/m:dependency[m:artifactId/text() = 'spring-boot-maven-plugin']/m:version/text()"> |
||||
<xsl:value-of select="/m:project/m:parent/m:version/text()"/> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
||||
]]> |
||||
</string> |
||||
</style> |
||||
</xslt> |
||||
<move file="${sourceFile}" tofile="${sourceFile}.old" /> |
||||
<move file="${sourceFile}.new" tofile="${sourceFile}" /> |
||||
<delete file="${sourceFile}.old" /> |
||||
</target> |
||||
</configuration> |
||||
</execution> |
||||
<execution> |
||||
<id>fixup-sample-ant</id> |
||||
<phase>verify</phase> |
||||
<goals> |
||||
<goal>run</goal> |
||||
</goals> |
||||
<inherited>false</inherited> |
||||
<configuration> |
||||
<target> |
||||
<property name="sourceFile" value="spring-boot-samples/spring-boot-sample-ant/pom.xml" /> |
||||
<xslt in="${sourceFile}" out="${sourceFile}.new" force="true"> |
||||
<style> |
||||
<string><![CDATA[ |
||||
<xsl:stylesheet version="2.0" |
||||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:m="http://maven.apache.org/POM/4.0.0" |
||||
exclude-result-prefixes="m"> |
||||
|
||||
<xsl:template match="node()|@*"> |
||||
<xsl:copy> |
||||
<xsl:apply-templates select="node()|@*" /> |
||||
</xsl:copy> |
||||
</xsl:template> |
||||
|
||||
<xsl:template |
||||
match="m:build/m:plugins/m:plugin[m:artifactId/text() = 'maven-antrun-plugin']/m:dependencies/m:dependency[m:artifactId/text() = 'spring-boot-antlib']/m:version/text()"> |
||||
<xsl:value-of select="/m:project/m:parent/m:version/text()"/> |
||||
</xsl:template> |
||||
</xsl:stylesheet> |
||||
]]> |
||||
</string> |
||||
</style> |
||||
</xslt> |
||||
<move file="${sourceFile}" tofile="${sourceFile}.old" /> |
||||
<move file="${sourceFile}.new" tofile="${sourceFile}" /> |
||||
<delete file="${sourceFile}.old" /> |
||||
</target> |
||||
</configuration> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-surefire-plugin</artifactId> |
||||
<configuration> |
||||
<skip>true</skip> |
||||
</configuration> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>com.google.code.maven-replacer-plugin</groupId> |
||||
<artifactId>replacer</artifactId> |
||||
<executions> |
||||
<execution> |
||||
<id>fixup-gradle-samples</id> |
||||
<phase>verify</phase> |
||||
<goals> |
||||
<goal>replace</goal> |
||||
</goals> |
||||
<configuration> |
||||
<includes> |
||||
<include>${basedir}/spring-boot-samples/**/build.gradle</include> |
||||
</includes> |
||||
<token>springBootVersion =\s+.*+</token> |
||||
<value>springBootVersion = '${project.version}'</value> |
||||
</configuration> |
||||
</execution> |
||||
<execution> |
||||
<id>fixup-ant-samples</id> |
||||
<phase>verify</phase> |
||||
<goals> |
||||
<goal>replace</goal> |
||||
</goals> |
||||
<configuration> |
||||
<includes> |
||||
<include>${basedir}/spring-boot-samples/**/build.xml</include> |
||||
</includes> |
||||
<token>spring-boot\.version\"\s.*+</token> |
||||
<value>spring-boot.version" value="${project.version}" /></value> |
||||
</configuration> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
</plugins> |
||||
</build> |
||||
</profile> |
||||
<profile> |
||||
<id>ci</id> |
||||
<build> |
||||
<plugins> |
||||
<plugin> |
||||
<groupId>com.google.code.maven-replacer-plugin</groupId> |
||||
<artifactId>replacer</artifactId> |
||||
<executions> |
||||
<execution> |
||||
<id>remove-repo-samples</id> |
||||
<goals> |
||||
<goal>replace</goal> |
||||
</goals> |
||||
<configuration> |
||||
<includes> |
||||
<include>${basedir}/spring-boot-dependencies/pom.xml</include> |
||||
</includes> |
||||
<regexFlags> |
||||
<regexFlag>DOTALL</regexFlag> |
||||
</regexFlags> |
||||
<token>\n\t<profiles>.*</profiles></token> |
||||
<value /> |
||||
</configuration> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
</plugins> |
||||
</build> |
||||
<id>repository</id> |
||||
<activation> |
||||
<property> |
||||
<name>repository</name> |
||||
</property> |
||||
</activation> |
||||
<repositories> |
||||
<repository> |
||||
<id>repository</id> |
||||
<url>${repository}</url> |
||||
<snapshots> |
||||
<enabled>true</enabled> |
||||
</snapshots> |
||||
</repository> |
||||
</repositories> |
||||
<pluginRepositories> |
||||
<pluginRepository> |
||||
<id>repository</id> |
||||
<url>${repository}</url> |
||||
<snapshots> |
||||
<enabled>true</enabled> |
||||
</snapshots> |
||||
</pluginRepository> |
||||
</pluginRepositories> |
||||
</profile> |
||||
</profiles> |
||||
<repositories> |
||||
<!-- Repositories to allow snapshot and milestone BOM imports during development. |
||||
This section is stripped by the flatten plugin during install/deploy. --> |
||||
<repository> |
||||
<id>central</id> |
||||
<url>https://repo.maven.apache.org/maven2</url> |
||||
<snapshots> |
||||
<enabled>false</enabled> |
||||
</snapshots> |
||||
</repository> |
||||
<repository> |
||||
<id>spring-milestone</id> |
||||
<name>Spring Milestone</name> |
||||
<url>http://repo.spring.io/milestone</url> |
||||
<snapshots> |
||||
<enabled>false</enabled> |
||||
</snapshots> |
||||
</repository> |
||||
<repository> |
||||
<id>spring-snapshot</id> |
||||
<name>Spring Snapshot</name> |
||||
<url>http://repo.spring.io/snapshot</url> |
||||
<snapshots> |
||||
<enabled>true</enabled> |
||||
</snapshots> |
||||
</repository> |
||||
<repository> |
||||
<id>rabbit-milestone</id> |
||||
<name>Rabbit Milestone</name> |
||||
<url>https://dl.bintray.com/rabbitmq/maven-milestones</url> |
||||
<snapshots> |
||||
<enabled>false</enabled> |
||||
</snapshots> |
||||
</repository> |
||||
</repositories> |
||||
<pluginRepositories> |
||||
<pluginRepository> |
||||
<id>central</id> |
||||
<url>https://repo.maven.apache.org/maven2</url> |
||||
<snapshots> |
||||
<enabled>false</enabled> |
||||
</snapshots> |
||||
</pluginRepository> |
||||
<pluginRepository> |
||||
<id>spring-milestone</id> |
||||
<name>Spring Milestone</name> |
||||
<url>http://repo.spring.io/milestone</url> |
||||
<snapshots> |
||||
<enabled>false</enabled> |
||||
</snapshots> |
||||
</pluginRepository> |
||||
<pluginRepository> |
||||
<id>spring-snapshot</id> |
||||
<name>Spring Snapshot</name> |
||||
<url>http://repo.spring.io/snapshot</url> |
||||
<snapshots> |
||||
<enabled>true</enabled> |
||||
</snapshots> |
||||
</pluginRepository> |
||||
</pluginRepositories> |
||||
</project> |
||||
|
||||
@ -1,428 +0,0 @@
@@ -1,428 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<parent> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-parent</artifactId> |
||||
<version>2.0.0.BUILD-SNAPSHOT</version> |
||||
<relativePath>../spring-boot-parent</relativePath> |
||||
</parent> |
||||
<artifactId>spring-boot-actuator-autoconfigure</artifactId> |
||||
<name>Spring Boot Actuator AutoConfigure</name> |
||||
<description>Spring Boot Actuator AutoConfigure</description> |
||||
<url>http://projects.spring.io/spring-boot/</url> |
||||
<organization> |
||||
<name>Pivotal Software, Inc.</name> |
||||
<url>http://www.spring.io</url> |
||||
</organization> |
||||
<properties> |
||||
<main.basedir>${basedir}/..</main.basedir> |
||||
</properties> |
||||
<dependencies> |
||||
<!-- Compile --> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-actuator</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-autoconfigure</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.fasterxml.jackson.core</groupId> |
||||
<artifactId>jackson-databind</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.micrometer</groupId> |
||||
<artifactId>micrometer-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-core</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-context</artifactId> |
||||
</dependency> |
||||
<!-- Optional --> |
||||
<dependency> |
||||
<groupId>com.fasterxml.jackson.dataformat</groupId> |
||||
<artifactId>jackson-dataformat-xml</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.github.ben-manes.caffeine</groupId> |
||||
<artifactId>caffeine</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.hazelcast</groupId> |
||||
<artifactId>hazelcast</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.hazelcast</groupId> |
||||
<artifactId>hazelcast-spring</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.sun.mail</groupId> |
||||
<artifactId>javax.mail</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.timgroup</groupId> |
||||
<artifactId>java-statsd-client</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.zaxxer</groupId> |
||||
<artifactId>HikariCP</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.dropwizard.metrics</groupId> |
||||
<artifactId>metrics-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.lettuce</groupId> |
||||
<artifactId>lettuce-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.micrometer</groupId> |
||||
<artifactId>micrometer-registry-atlas</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.micrometer</groupId> |
||||
<artifactId>micrometer-registry-datadog</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.micrometer</groupId> |
||||
<artifactId>micrometer-registry-ganglia</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.micrometer</groupId> |
||||
<artifactId>micrometer-registry-graphite</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.micrometer</groupId> |
||||
<artifactId>micrometer-registry-influx</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.micrometer</groupId> |
||||
<artifactId>micrometer-registry-jmx</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.micrometer</groupId> |
||||
<artifactId>micrometer-registry-prometheus</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.searchbox</groupId> |
||||
<artifactId>jest</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>javax.cache</groupId> |
||||
<artifactId>cache-api</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>javax.jms</groupId> |
||||
<artifactId>javax.jms-api</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>javax.servlet</groupId> |
||||
<artifactId>javax.servlet-api</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>net.sf.ehcache</groupId> |
||||
<artifactId>ehcache</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.activemq</groupId> |
||||
<artifactId>activemq-broker</artifactId> |
||||
<optional>true</optional> |
||||
<exclusions> |
||||
<exclusion> |
||||
<artifactId>geronimo-jms_1.1_spec</artifactId> |
||||
<groupId>org.apache.geronimo.specs</groupId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.commons</groupId> |
||||
<artifactId>commons-dbcp2</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.tomcat.embed</groupId> |
||||
<artifactId>tomcat-embed-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.tomcat.embed</groupId> |
||||
<artifactId>tomcat-embed-el</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.tomcat</groupId> |
||||
<artifactId>tomcat-jdbc</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.aspectj</groupId> |
||||
<artifactId>aspectjweaver</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.elasticsearch</groupId> |
||||
<artifactId>elasticsearch</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.flywaydb</groupId> |
||||
<artifactId>flyway-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.glassfish.jersey.core</groupId> |
||||
<artifactId>jersey-server</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.glassfish.jersey.containers</groupId> |
||||
<artifactId>jersey-container-servlet-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.hibernate.validator</groupId> |
||||
<artifactId>hibernate-validator</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.jolokia</groupId> |
||||
<artifactId>jolokia-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.infinispan</groupId> |
||||
<artifactId>infinispan-spring4-embedded</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.liquibase</groupId> |
||||
<artifactId>liquibase-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-jdbc</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-messaging</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-webflux</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-webmvc</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.amqp</groupId> |
||||
<artifactId>spring-rabbit</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-cassandra</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-couchbase</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-ldap</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-mongodb</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-neo4j</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-redis</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-solr</artifactId> |
||||
<optional>true</optional> |
||||
<exclusions> |
||||
<!-- the version of solr here is incompatible with jackson-xml because |
||||
of an old woodstox --> |
||||
<exclusion> |
||||
<artifactId>wstx-asl</artifactId> |
||||
<groupId>org.codehaus.woodstox</groupId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.integration</groupId> |
||||
<artifactId>spring-integration-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.security</groupId> |
||||
<artifactId>spring-security-config</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.security</groupId> |
||||
<artifactId>spring-security-web</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.session</groupId> |
||||
<artifactId>spring-session-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<!-- Annotation processing --> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-autoconfigure-processor</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-configuration-processor</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<!-- Test --> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-test</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-test-autoconfigure</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-test-support</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>ch.qos.logback</groupId> |
||||
<artifactId>logback-classic</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.jayway.jsonpath</groupId> |
||||
<artifactId>json-path</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.projectreactor.ipc</groupId> |
||||
<artifactId>reactor-netty</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.undertow</groupId> |
||||
<artifactId>undertow-core</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.undertow</groupId> |
||||
<artifactId>undertow-servlet</artifactId> |
||||
<scope>test</scope> |
||||
<exclusions> |
||||
<exclusion> |
||||
<groupId>org.jboss.spec.javax.servlet</groupId> |
||||
<artifactId>jboss-servlet-api_3.1_spec</artifactId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.aspectj</groupId> |
||||
<artifactId>aspectjrt</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.hsqldb</groupId> |
||||
<artifactId>hsqldb</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.glassfish.jersey.media</groupId> |
||||
<artifactId>jersey-media-json-jackson</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.skyscreamer</groupId> |
||||
<artifactId>jsonassert</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-elasticsearch</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-rest-webmvc</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.integration</groupId> |
||||
<artifactId>spring-integration-jmx</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.security</groupId> |
||||
<artifactId>spring-security-test</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.yaml</groupId> |
||||
<artifactId>snakeyaml</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>redis.clients</groupId> |
||||
<artifactId>jedis</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
</dependencies> |
||||
</project> |
||||
@ -1,296 +0,0 @@
@@ -1,296 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<parent> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-parent</artifactId> |
||||
<version>2.0.0.BUILD-SNAPSHOT</version> |
||||
<relativePath>../spring-boot-parent</relativePath> |
||||
</parent> |
||||
<artifactId>spring-boot-actuator</artifactId> |
||||
<name>Spring Boot Actuator</name> |
||||
<description>Spring Boot Actuator</description> |
||||
<url>http://projects.spring.io/spring-boot/</url> |
||||
<organization> |
||||
<name>Pivotal Software, Inc.</name> |
||||
<url>http://www.spring.io</url> |
||||
</organization> |
||||
<properties> |
||||
<main.basedir>${basedir}/..</main.basedir> |
||||
</properties> |
||||
<dependencies> |
||||
<!-- Compile --> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot</artifactId> |
||||
</dependency> |
||||
<!-- Optional --> |
||||
<dependency> |
||||
<groupId>com.fasterxml.jackson.core</groupId> |
||||
<artifactId>jackson-databind</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.sun.mail</groupId> |
||||
<artifactId>javax.mail</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.zaxxer</groupId> |
||||
<artifactId>HikariCP</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.lettuce</groupId> |
||||
<artifactId>lettuce-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.micrometer</groupId> |
||||
<artifactId>micrometer-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.micrometer</groupId> |
||||
<artifactId>micrometer-registry-prometheus</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.searchbox</groupId> |
||||
<artifactId>jest</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>javax.jms</groupId> |
||||
<artifactId>javax.jms-api</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.tomcat.embed</groupId> |
||||
<artifactId>tomcat-embed-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.aspectj</groupId> |
||||
<artifactId>aspectjweaver</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.elasticsearch</groupId> |
||||
<artifactId>elasticsearch</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.flywaydb</groupId> |
||||
<artifactId>flyway-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.glassfish.jersey.core</groupId> |
||||
<artifactId>jersey-server</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.glassfish.jersey.containers</groupId> |
||||
<artifactId>jersey-container-servlet-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.hibernate.validator</groupId> |
||||
<artifactId>hibernate-validator</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.infinispan</groupId> |
||||
<artifactId>infinispan-spring4-embedded</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.liquibase</groupId> |
||||
<artifactId>liquibase-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-jdbc</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-messaging</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-webflux</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-web</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-webmvc</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.amqp</groupId> |
||||
<artifactId>spring-rabbit</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-cassandra</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-couchbase</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-ldap</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-mongodb</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-neo4j</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-redis</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-solr</artifactId> |
||||
<optional>true</optional> |
||||
<exclusions> |
||||
<!-- the version of solr here is incompatible with jackson-xml because |
||||
of an old woodstox --> |
||||
<exclusion> |
||||
<artifactId>wstx-asl</artifactId> |
||||
<groupId>org.codehaus.woodstox</groupId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.integration</groupId> |
||||
<artifactId>spring-integration-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.security</groupId> |
||||
<artifactId>spring-security-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.security</groupId> |
||||
<artifactId>spring-security-web</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.session</groupId> |
||||
<artifactId>spring-session-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<!-- Annotation processing --> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-configuration-processor</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<!-- Test --> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-test</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-test-support</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-autoconfigure</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.logging.log4j</groupId> |
||||
<artifactId>log4j-slf4j-impl</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.logging.log4j</groupId> |
||||
<artifactId>log4j-api</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.logging.log4j</groupId> |
||||
<artifactId>log4j-core</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.glassfish.jersey.media</groupId> |
||||
<artifactId>jersey-media-json-jackson</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.jayway.jsonpath</groupId> |
||||
<artifactId>json-path</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.projectreactor</groupId> |
||||
<artifactId>reactor-test</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.projectreactor.ipc</groupId> |
||||
<artifactId>reactor-netty</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.undertow</groupId> |
||||
<artifactId>undertow-core</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.undertow</groupId> |
||||
<artifactId>undertow-servlet</artifactId> |
||||
<scope>test</scope> |
||||
<exclusions> |
||||
<exclusion> |
||||
<groupId>org.jboss.spec.javax.servlet</groupId> |
||||
<artifactId>jboss-servlet-api_3.1_spec</artifactId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.hsqldb</groupId> |
||||
<artifactId>hsqldb</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.glassfish.jersey.ext</groupId> |
||||
<artifactId>jersey-spring4</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.skyscreamer</groupId> |
||||
<artifactId>jsonassert</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
</dependencies> |
||||
</project> |
||||
@ -1,706 +0,0 @@
@@ -1,706 +0,0 @@
|
||||
/* |
||||
* Copyright 2012-2017 the original author or authors. |
||||
* |
||||
* Licensed under the Apache License, Version 2.0 (the "License"); |
||||
* you may not use this file except in compliance with the License. |
||||
* You may obtain a copy of the License at |
||||
* |
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* |
||||
* Unless required by applicable law or agreed to in writing, software |
||||
* distributed under the License is distributed on an "AS IS" BASIS, |
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
* See the License for the specific language governing permissions and |
||||
* limitations under the License. |
||||
*/ |
||||
|
||||
package org.springframework.boot.actuate.endpoint.web; |
||||
|
||||
import java.time.Duration; |
||||
import java.util.Collections; |
||||
import java.util.HashMap; |
||||
import java.util.List; |
||||
import java.util.Map; |
||||
import java.util.function.BiConsumer; |
||||
import java.util.function.Consumer; |
||||
|
||||
import org.junit.Test; |
||||
import reactor.core.publisher.Mono; |
||||
|
||||
import org.springframework.beans.factory.config.PropertyPlaceholderConfigurer; |
||||
import org.springframework.boot.actuate.endpoint.OperationParameterMapper; |
||||
import org.springframework.boot.actuate.endpoint.annotation.DeleteOperation; |
||||
import org.springframework.boot.actuate.endpoint.annotation.Endpoint; |
||||
import org.springframework.boot.actuate.endpoint.annotation.ReadOperation; |
||||
import org.springframework.boot.actuate.endpoint.annotation.Selector; |
||||
import org.springframework.boot.actuate.endpoint.annotation.WriteOperation; |
||||
import org.springframework.boot.actuate.endpoint.cache.CachingConfiguration; |
||||
import org.springframework.boot.actuate.endpoint.convert.ConversionServiceOperationParameterMapper; |
||||
import org.springframework.boot.actuate.endpoint.web.annotation.WebAnnotationEndpointDiscoverer; |
||||
import org.springframework.boot.web.embedded.tomcat.TomcatEmbeddedWebappClassLoader; |
||||
import org.springframework.context.ApplicationContext; |
||||
import org.springframework.context.ConfigurableApplicationContext; |
||||
import org.springframework.context.annotation.Bean; |
||||
import org.springframework.context.annotation.Configuration; |
||||
import org.springframework.context.annotation.Import; |
||||
import org.springframework.core.convert.support.DefaultConversionService; |
||||
import org.springframework.core.env.MapPropertySource; |
||||
import org.springframework.core.io.ByteArrayResource; |
||||
import org.springframework.core.io.Resource; |
||||
import org.springframework.http.MediaType; |
||||
import org.springframework.lang.Nullable; |
||||
import org.springframework.test.web.reactive.server.WebTestClient; |
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat; |
||||
import static org.mockito.Mockito.mock; |
||||
import static org.mockito.Mockito.verify; |
||||
|
||||
/** |
||||
* Abstract base class for web endpoint integration tests. |
||||
* |
||||
* @param <T> the type of application context used by the tests |
||||
* @author Andy Wilkinson |
||||
*/ |
||||
public abstract class AbstractWebEndpointIntegrationTests<T extends ConfigurableApplicationContext> { |
||||
|
||||
private static final Duration TIMEOUT = Duration.ofMinutes(2); |
||||
|
||||
private final Class<?> exporterConfiguration; |
||||
|
||||
protected AbstractWebEndpointIntegrationTests(Class<?> exporterConfiguration) { |
||||
this.exporterConfiguration = exporterConfiguration; |
||||
} |
||||
|
||||
@Test |
||||
public void readOperation() { |
||||
load(TestEndpointConfiguration.class, |
||||
(client) -> client.get().uri("/test").accept(MediaType.APPLICATION_JSON) |
||||
.exchange().expectStatus().isOk().expectBody().jsonPath("All") |
||||
.isEqualTo(true)); |
||||
} |
||||
|
||||
@Test |
||||
public void readOperationWithEndpointsMappedToTheRoot() { |
||||
load(TestEndpointConfiguration.class, "", |
||||
(client) -> client.get().uri("/test").accept(MediaType.APPLICATION_JSON) |
||||
.exchange().expectStatus().isOk().expectBody().jsonPath("All") |
||||
.isEqualTo(true)); |
||||
} |
||||
|
||||
@Test |
||||
public void readOperationWithSelector() { |
||||
load(TestEndpointConfiguration.class, |
||||
(client) -> client.get().uri("/test/one") |
||||
.accept(MediaType.APPLICATION_JSON).exchange().expectStatus() |
||||
.isOk().expectBody().jsonPath("part").isEqualTo("one")); |
||||
} |
||||
|
||||
@Test |
||||
public void readOperationWithSelectorContainingADot() { |
||||
load(TestEndpointConfiguration.class, |
||||
(client) -> client.get().uri("/test/foo.bar") |
||||
.accept(MediaType.APPLICATION_JSON).exchange().expectStatus() |
||||
.isOk().expectBody().jsonPath("part").isEqualTo("foo.bar")); |
||||
} |
||||
|
||||
@Test |
||||
public void linksToOtherEndpointsAreProvided() { |
||||
load(TestEndpointConfiguration.class, |
||||
(client) -> client.get().uri("").accept(MediaType.APPLICATION_JSON) |
||||
.exchange().expectStatus().isOk().expectBody() |
||||
.jsonPath("_links.length()").isEqualTo(3) |
||||
.jsonPath("_links.self.href").isNotEmpty() |
||||
.jsonPath("_links.self.templated").isEqualTo(false) |
||||
.jsonPath("_links.test.href").isNotEmpty() |
||||
.jsonPath("_links.test.templated").isEqualTo(false) |
||||
.jsonPath("_links.test-part.href").isNotEmpty() |
||||
.jsonPath("_links.test-part.templated").isEqualTo(true)); |
||||
} |
||||
|
||||
@Test |
||||
public void linksMappingIsDisabledWhenEndpointPathIsEmpty() { |
||||
load(TestEndpointConfiguration.class, "", |
||||
(client) -> client.get().uri("").accept(MediaType.APPLICATION_JSON) |
||||
.exchange().expectStatus().isNotFound()); |
||||
} |
||||
|
||||
@Test |
||||
public void readOperationWithSingleQueryParameters() { |
||||
load(QueryEndpointConfiguration.class, |
||||
(client) -> client.get().uri("/query?one=1&two=2") |
||||
.accept(MediaType.APPLICATION_JSON).exchange().expectStatus() |
||||
.isOk().expectBody().jsonPath("query").isEqualTo("1 2")); |
||||
} |
||||
|
||||
@Test |
||||
public void readOperationWithSingleQueryParametersAndMultipleValues() { |
||||
load(QueryEndpointConfiguration.class, |
||||
(client) -> client.get().uri("/query?one=1&one=1&two=2") |
||||
.accept(MediaType.APPLICATION_JSON).exchange().expectStatus() |
||||
.isOk().expectBody().jsonPath("query").isEqualTo("1,1 2")); |
||||
} |
||||
|
||||
@Test |
||||
public void readOperationWithListQueryParameterAndSingleValue() { |
||||
load(QueryWithListEndpointConfiguration.class, |
||||
(client) -> client.get().uri("/query?one=1&two=2") |
||||
.accept(MediaType.APPLICATION_JSON).exchange().expectStatus() |
||||
.isOk().expectBody().jsonPath("query").isEqualTo("1 [2]")); |
||||
} |
||||
|
||||
@Test |
||||
public void readOperationWithListQueryParameterAndMultipleValues() { |
||||
load(QueryWithListEndpointConfiguration.class, |
||||
(client) -> client.get().uri("/query?one=1&two=2&two=2") |
||||
.accept(MediaType.APPLICATION_JSON).exchange().expectStatus() |
||||
.isOk().expectBody().jsonPath("query").isEqualTo("1 [2, 2]")); |
||||
} |
||||
|
||||
@Test |
||||
public void readOperationWithMappingFailureProducesBadRequestResponse() { |
||||
load(QueryEndpointConfiguration.class, |
||||
(client) -> client.get().uri("/query?two=two") |
||||
.accept(MediaType.APPLICATION_JSON).exchange().expectStatus() |
||||
.isBadRequest()); |
||||
} |
||||
|
||||
@Test |
||||
public void writeOperation() { |
||||
load(TestEndpointConfiguration.class, (client) -> { |
||||
Map<String, Object> body = new HashMap<>(); |
||||
body.put("foo", "one"); |
||||
body.put("bar", "two"); |
||||
client.post().uri("/test").syncBody(body).accept(MediaType.APPLICATION_JSON) |
||||
.exchange().expectStatus().isNoContent().expectBody().isEmpty(); |
||||
}); |
||||
} |
||||
|
||||
@Test |
||||
public void writeOperationWithVoidResponse() { |
||||
load(VoidWriteResponseEndpointConfiguration.class, (context, client) -> { |
||||
client.post().uri("/voidwrite").accept(MediaType.APPLICATION_JSON).exchange() |
||||
.expectStatus().isNoContent().expectBody().isEmpty(); |
||||
verify(context.getBean(EndpointDelegate.class)).write(); |
||||
}); |
||||
} |
||||
|
||||
@Test |
||||
public void deleteOperation() { |
||||
load(TestEndpointConfiguration.class, |
||||
(client) -> client.delete().uri("/test/one") |
||||
.accept(MediaType.APPLICATION_JSON).exchange().expectStatus() |
||||
.isOk().expectBody().jsonPath("part").isEqualTo("one")); |
||||
} |
||||
|
||||
@Test |
||||
public void deleteOperationWithVoidResponse() { |
||||
load(VoidDeleteResponseEndpointConfiguration.class, (context, client) -> { |
||||
client.delete().uri("/voiddelete").accept(MediaType.APPLICATION_JSON) |
||||
.exchange().expectStatus().isNoContent().expectBody().isEmpty(); |
||||
verify(context.getBean(EndpointDelegate.class)).delete(); |
||||
}); |
||||
} |
||||
|
||||
@Test |
||||
public void nullIsPassedToTheOperationWhenArgumentIsNotFoundInPostRequestBody() { |
||||
load(TestEndpointConfiguration.class, (context, client) -> { |
||||
Map<String, Object> body = new HashMap<>(); |
||||
body.put("foo", "one"); |
||||
client.post().uri("/test").syncBody(body).accept(MediaType.APPLICATION_JSON) |
||||
.exchange().expectStatus().isNoContent().expectBody().isEmpty(); |
||||
verify(context.getBean(EndpointDelegate.class)).write("one", null); |
||||
}); |
||||
} |
||||
|
||||
@Test |
||||
public void nullsArePassedToTheOperationWhenPostRequestHasNoBody() { |
||||
load(TestEndpointConfiguration.class, (context, client) -> { |
||||
client.post().uri("/test").contentType(MediaType.APPLICATION_JSON) |
||||
.accept(MediaType.APPLICATION_JSON).exchange().expectStatus() |
||||
.isNoContent().expectBody().isEmpty(); |
||||
verify(context.getBean(EndpointDelegate.class)).write(null, null); |
||||
}); |
||||
} |
||||
|
||||
@Test |
||||
public void nullResponseFromReadOperationResultsInNotFoundResponseStatus() { |
||||
load(NullReadResponseEndpointConfiguration.class, |
||||
(context, client) -> client.get().uri("/nullread") |
||||
.accept(MediaType.APPLICATION_JSON).exchange().expectStatus() |
||||
.isNotFound()); |
||||
} |
||||
|
||||
@Test |
||||
public void nullResponseFromDeleteOperationResultsInNoContentResponseStatus() { |
||||
load(NullDeleteResponseEndpointConfiguration.class, |
||||
(context, client) -> client.delete().uri("/nulldelete") |
||||
.accept(MediaType.APPLICATION_JSON).exchange().expectStatus() |
||||
.isNoContent()); |
||||
} |
||||
|
||||
@Test |
||||
public void nullResponseFromWriteOperationResultsInNoContentResponseStatus() { |
||||
load(NullWriteResponseEndpointConfiguration.class, |
||||
(context, client) -> client.post().uri("/nullwrite") |
||||
.accept(MediaType.APPLICATION_JSON).exchange().expectStatus() |
||||
.isNoContent()); |
||||
} |
||||
|
||||
@Test |
||||
public void readOperationWithResourceResponse() { |
||||
load(ResourceEndpointConfiguration.class, (context, client) -> { |
||||
byte[] responseBody = client.get().uri("/resource").exchange().expectStatus() |
||||
.isOk().expectHeader().contentType(MediaType.APPLICATION_OCTET_STREAM) |
||||
.returnResult(byte[].class).getResponseBodyContent(); |
||||
assertThat(responseBody).containsExactly(0, 1, 2, 3, 4, 5, 6, 7, 8, 9); |
||||
}); |
||||
} |
||||
|
||||
@Test |
||||
public void readOperationWithResourceWebOperationResponse() { |
||||
load(ResourceWebEndpointResponseEndpointConfiguration.class, |
||||
(context, client) -> { |
||||
byte[] responseBody = client.get().uri("/resource").exchange() |
||||
.expectStatus().isOk().expectHeader() |
||||
.contentType(MediaType.APPLICATION_OCTET_STREAM) |
||||
.returnResult(byte[].class).getResponseBodyContent(); |
||||
assertThat(responseBody).containsExactly(0, 1, 2, 3, 4, 5, 6, 7, 8, |
||||
9); |
||||
}); |
||||
} |
||||
|
||||
@Test |
||||
public void readOperationWithMonoResponse() { |
||||
load(MonoResponseEndpointConfiguration.class, |
||||
(client) -> client.get().uri("/mono").accept(MediaType.APPLICATION_JSON) |
||||
.exchange().expectStatus().isOk().expectBody().jsonPath("a") |
||||
.isEqualTo("alpha")); |
||||
} |
||||
|
||||
@Test |
||||
public void readOperationWithCustomMediaType() { |
||||
load(CustomMediaTypesEndpointConfiguration.class, |
||||
(client) -> client.get().uri("/custommediatypes").exchange() |
||||
.expectStatus().isOk().expectHeader() |
||||
.valueMatches("Content-Type", "text/plain(;charset=.*)?")); |
||||
} |
||||
|
||||
@Test |
||||
public void readOperationWithMissingRequiredParametersReturnsBadRequestResponse() |
||||
throws Exception { |
||||
load(RequiredParameterEndpointConfiguration.class, (client) -> client.get() |
||||
.uri("/requiredparameters").exchange().expectStatus().isBadRequest()); |
||||
} |
||||
|
||||
@Test |
||||
public void readOperationWithMissingNullableParametersIsOk() throws Exception { |
||||
load(RequiredParameterEndpointConfiguration.class, (client) -> client.get() |
||||
.uri("/requiredparameters?foo=hello").exchange().expectStatus().isOk()); |
||||
} |
||||
|
||||
protected abstract T createApplicationContext(Class<?>... config); |
||||
|
||||
protected abstract int getPort(T context); |
||||
|
||||
private void load(Class<?> configuration, |
||||
BiConsumer<ApplicationContext, WebTestClient> consumer) { |
||||
load(configuration, "/endpoints", consumer); |
||||
} |
||||
|
||||
private void load(Class<?> configuration, String endpointPath, |
||||
BiConsumer<ApplicationContext, WebTestClient> consumer) { |
||||
T context = createApplicationContext(configuration, this.exporterConfiguration); |
||||
context.getEnvironment().getPropertySources().addLast(new MapPropertySource( |
||||
"test", Collections.singletonMap("endpointPath", endpointPath))); |
||||
context.refresh(); |
||||
try { |
||||
String url = "http://localhost:" + getPort(context) + endpointPath; |
||||
consumer.accept(context, WebTestClient.bindToServer().baseUrl(url) |
||||
.responseTimeout(TIMEOUT).build()); |
||||
} |
||||
finally { |
||||
context.close(); |
||||
} |
||||
} |
||||
|
||||
protected void load(Class<?> configuration, Consumer<WebTestClient> clientConsumer) { |
||||
load(configuration, "/endpoints", |
||||
(context, client) -> clientConsumer.accept(client)); |
||||
} |
||||
|
||||
protected void load(Class<?> configuration, String endpointPath, |
||||
Consumer<WebTestClient> clientConsumer) { |
||||
load(configuration, endpointPath, |
||||
(context, client) -> clientConsumer.accept(client)); |
||||
} |
||||
|
||||
@Configuration |
||||
static class BaseConfiguration { |
||||
|
||||
@Bean |
||||
public EndpointDelegate endpointDelegate() { |
||||
ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); |
||||
if (classLoader instanceof TomcatEmbeddedWebappClassLoader) { |
||||
Thread.currentThread().setContextClassLoader(classLoader.getParent()); |
||||
} |
||||
try { |
||||
return mock(EndpointDelegate.class); |
||||
} |
||||
finally { |
||||
Thread.currentThread().setContextClassLoader(classLoader); |
||||
} |
||||
} |
||||
|
||||
@Bean |
||||
public WebAnnotationEndpointDiscoverer webEndpointDiscoverer( |
||||
ApplicationContext applicationContext) { |
||||
OperationParameterMapper parameterMapper = new ConversionServiceOperationParameterMapper( |
||||
DefaultConversionService.getSharedInstance()); |
||||
return new WebAnnotationEndpointDiscoverer(applicationContext, |
||||
parameterMapper, (id) -> new CachingConfiguration(0), |
||||
Collections.singletonList("application/json"), |
||||
Collections.singletonList("application/json")); |
||||
} |
||||
|
||||
@Bean |
||||
public PropertyPlaceholderConfigurer propertyPlaceholderConfigurer() { |
||||
return new PropertyPlaceholderConfigurer(); |
||||
} |
||||
|
||||
} |
||||
|
||||
@Configuration |
||||
@Import(BaseConfiguration.class) |
||||
protected static class TestEndpointConfiguration { |
||||
|
||||
@Bean |
||||
public TestEndpoint testEndpoint(EndpointDelegate endpointDelegate) { |
||||
return new TestEndpoint(endpointDelegate); |
||||
} |
||||
|
||||
} |
||||
|
||||
@Configuration |
||||
@Import(BaseConfiguration.class) |
||||
static class QueryEndpointConfiguration { |
||||
|
||||
@Bean |
||||
public QueryEndpoint queryEndpoint() { |
||||
return new QueryEndpoint(); |
||||
} |
||||
|
||||
} |
||||
|
||||
@Configuration |
||||
@Import(BaseConfiguration.class) |
||||
static class QueryWithListEndpointConfiguration { |
||||
|
||||
@Bean |
||||
public QueryWithListEndpoint queryEndpoint() { |
||||
return new QueryWithListEndpoint(); |
||||
} |
||||
|
||||
} |
||||
|
||||
@Configuration |
||||
@Import(BaseConfiguration.class) |
||||
static class VoidWriteResponseEndpointConfiguration { |
||||
|
||||
@Bean |
||||
public VoidWriteResponseEndpoint voidWriteResponseEndpoint( |
||||
EndpointDelegate delegate) { |
||||
return new VoidWriteResponseEndpoint(delegate); |
||||
} |
||||
|
||||
} |
||||
|
||||
@Configuration |
||||
@Import(BaseConfiguration.class) |
||||
static class VoidDeleteResponseEndpointConfiguration { |
||||
|
||||
@Bean |
||||
public VoidDeleteResponseEndpoint voidDeleteResponseEndpoint( |
||||
EndpointDelegate delegate) { |
||||
return new VoidDeleteResponseEndpoint(delegate); |
||||
} |
||||
|
||||
} |
||||
|
||||
@Configuration |
||||
@Import(BaseConfiguration.class) |
||||
static class NullWriteResponseEndpointConfiguration { |
||||
|
||||
@Bean |
||||
public NullWriteResponseEndpoint nullWriteResponseEndpoint( |
||||
EndpointDelegate delegate) { |
||||
return new NullWriteResponseEndpoint(delegate); |
||||
} |
||||
|
||||
} |
||||
|
||||
@Configuration |
||||
@Import(BaseConfiguration.class) |
||||
static class NullReadResponseEndpointConfiguration { |
||||
|
||||
@Bean |
||||
public NullReadResponseEndpoint nullResponseEndpoint() { |
||||
return new NullReadResponseEndpoint(); |
||||
} |
||||
|
||||
} |
||||
|
||||
@Configuration |
||||
@Import(BaseConfiguration.class) |
||||
static class NullDeleteResponseEndpointConfiguration { |
||||
|
||||
@Bean |
||||
public NullDeleteResponseEndpoint nullDeleteResponseEndpoint() { |
||||
return new NullDeleteResponseEndpoint(); |
||||
} |
||||
|
||||
} |
||||
|
||||
@Configuration |
||||
@Import(BaseConfiguration.class) |
||||
protected static class ResourceEndpointConfiguration { |
||||
|
||||
@Bean |
||||
public ResourceEndpoint resourceEndpoint() { |
||||
return new ResourceEndpoint(); |
||||
} |
||||
|
||||
} |
||||
|
||||
@Configuration |
||||
@Import(BaseConfiguration.class) |
||||
static class ResourceWebEndpointResponseEndpointConfiguration { |
||||
|
||||
@Bean |
||||
public ResourceWebEndpointResponseEndpoint resourceEndpoint() { |
||||
return new ResourceWebEndpointResponseEndpoint(); |
||||
} |
||||
|
||||
} |
||||
|
||||
@Configuration |
||||
@Import(BaseConfiguration.class) |
||||
static class MonoResponseEndpointConfiguration { |
||||
|
||||
@Bean |
||||
public MonoResponseEndpoint testEndpoint(EndpointDelegate endpointDelegate) { |
||||
return new MonoResponseEndpoint(); |
||||
} |
||||
|
||||
} |
||||
|
||||
@Configuration |
||||
@Import(BaseConfiguration.class) |
||||
static class CustomMediaTypesEndpointConfiguration { |
||||
|
||||
@Bean |
||||
public CustomMediaTypesEndpoint customMediaTypesEndpoint() { |
||||
return new CustomMediaTypesEndpoint(); |
||||
} |
||||
|
||||
} |
||||
|
||||
@Configuration |
||||
@Import(BaseConfiguration.class) |
||||
static class RequiredParameterEndpointConfiguration { |
||||
|
||||
@Bean |
||||
public RequiredParametersEndpoint requiredParametersEndpoint() { |
||||
return new RequiredParametersEndpoint(); |
||||
} |
||||
|
||||
} |
||||
|
||||
@Endpoint(id = "test") |
||||
static class TestEndpoint { |
||||
|
||||
private final EndpointDelegate endpointDelegate; |
||||
|
||||
TestEndpoint(EndpointDelegate endpointDelegate) { |
||||
this.endpointDelegate = endpointDelegate; |
||||
} |
||||
|
||||
@ReadOperation |
||||
public Map<String, Object> readAll() { |
||||
return Collections.singletonMap("All", true); |
||||
} |
||||
|
||||
@ReadOperation |
||||
public Map<String, Object> readPart(@Selector String part) { |
||||
return Collections.singletonMap("part", part); |
||||
} |
||||
|
||||
@WriteOperation |
||||
public void write(@Nullable String foo, @Nullable String bar) { |
||||
this.endpointDelegate.write(foo, bar); |
||||
} |
||||
|
||||
@DeleteOperation |
||||
public Map<String, Object> deletePart(@Selector String part) { |
||||
return Collections.singletonMap("part", part); |
||||
} |
||||
|
||||
} |
||||
|
||||
@Endpoint(id = "query") |
||||
static class QueryEndpoint { |
||||
|
||||
@ReadOperation |
||||
public Map<String, String> query(String one, Integer two) { |
||||
return Collections.singletonMap("query", one + " " + two); |
||||
} |
||||
|
||||
@ReadOperation |
||||
public Map<String, String> queryWithParameterList(@Selector String list, |
||||
String one, List<String> two) { |
||||
return Collections.singletonMap("query", list + " " + one + " " + two); |
||||
} |
||||
|
||||
} |
||||
|
||||
@Endpoint(id = "query") |
||||
static class QueryWithListEndpoint { |
||||
|
||||
@ReadOperation |
||||
public Map<String, String> queryWithParameterList(String one, List<String> two) { |
||||
return Collections.singletonMap("query", one + " " + two); |
||||
} |
||||
|
||||
} |
||||
|
||||
@Endpoint(id = "voidwrite") |
||||
static class VoidWriteResponseEndpoint { |
||||
|
||||
private final EndpointDelegate delegate; |
||||
|
||||
VoidWriteResponseEndpoint(EndpointDelegate delegate) { |
||||
this.delegate = delegate; |
||||
} |
||||
|
||||
@WriteOperation |
||||
public void write() { |
||||
this.delegate.write(); |
||||
} |
||||
|
||||
} |
||||
|
||||
@Endpoint(id = "voiddelete") |
||||
static class VoidDeleteResponseEndpoint { |
||||
|
||||
private final EndpointDelegate delegate; |
||||
|
||||
VoidDeleteResponseEndpoint(EndpointDelegate delegate) { |
||||
this.delegate = delegate; |
||||
} |
||||
|
||||
@DeleteOperation |
||||
public void delete() { |
||||
this.delegate.delete(); |
||||
} |
||||
|
||||
} |
||||
|
||||
@Endpoint(id = "nullwrite") |
||||
static class NullWriteResponseEndpoint { |
||||
|
||||
private final EndpointDelegate delegate; |
||||
|
||||
NullWriteResponseEndpoint(EndpointDelegate delegate) { |
||||
this.delegate = delegate; |
||||
} |
||||
|
||||
@WriteOperation |
||||
public Object write() { |
||||
this.delegate.write(); |
||||
return null; |
||||
} |
||||
|
||||
} |
||||
|
||||
@Endpoint(id = "nullread") |
||||
static class NullReadResponseEndpoint { |
||||
|
||||
@ReadOperation |
||||
public String readReturningNull() { |
||||
return null; |
||||
} |
||||
|
||||
} |
||||
|
||||
@Endpoint(id = "nulldelete") |
||||
static class NullDeleteResponseEndpoint { |
||||
|
||||
@DeleteOperation |
||||
public String deleteReturningNull() { |
||||
return null; |
||||
} |
||||
|
||||
} |
||||
|
||||
@Endpoint(id = "resource") |
||||
static class ResourceEndpoint { |
||||
|
||||
@ReadOperation |
||||
public Resource read() { |
||||
return new ByteArrayResource(new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }); |
||||
} |
||||
|
||||
} |
||||
|
||||
@Endpoint(id = "resource") |
||||
static class ResourceWebEndpointResponseEndpoint { |
||||
|
||||
@ReadOperation |
||||
public WebEndpointResponse<Resource> read() { |
||||
return new WebEndpointResponse<>( |
||||
new ByteArrayResource(new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }), |
||||
200); |
||||
} |
||||
|
||||
} |
||||
|
||||
@Endpoint(id = "mono") |
||||
static class MonoResponseEndpoint { |
||||
|
||||
@ReadOperation |
||||
Mono<Map<String, String>> operation() { |
||||
return Mono.just(Collections.singletonMap("a", "alpha")); |
||||
} |
||||
|
||||
} |
||||
|
||||
@Endpoint(id = "custommediatypes") |
||||
static class CustomMediaTypesEndpoint { |
||||
|
||||
@ReadOperation(produces = "text/plain") |
||||
public String read() { |
||||
return "read"; |
||||
} |
||||
|
||||
} |
||||
|
||||
@Endpoint(id = "requiredparameters") |
||||
static class RequiredParametersEndpoint { |
||||
|
||||
@ReadOperation |
||||
public String read(String foo, @Nullable String bar) { |
||||
return foo; |
||||
} |
||||
|
||||
} |
||||
|
||||
public interface EndpointDelegate { |
||||
|
||||
void write(); |
||||
|
||||
void write(String foo, String bar); |
||||
|
||||
void delete(); |
||||
|
||||
} |
||||
|
||||
} |
||||
@ -1,229 +0,0 @@
@@ -1,229 +0,0 @@
|
||||
/* |
||||
* Copyright 2012-2017 the original author or authors. |
||||
* |
||||
* Licensed under the Apache License, Version 2.0 (the "License"); |
||||
* you may not use this file except in compliance with the License. |
||||
* You may obtain a copy of the License at |
||||
* |
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* |
||||
* Unless required by applicable law or agreed to in writing, software |
||||
* distributed under the License is distributed on an "AS IS" BASIS, |
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
* See the License for the specific language governing permissions and |
||||
* limitations under the License. |
||||
*/ |
||||
|
||||
package org.springframework.boot.actuate.endpoint.web.test; |
||||
|
||||
import java.lang.reflect.Modifier; |
||||
import java.time.Duration; |
||||
import java.util.ArrayList; |
||||
import java.util.List; |
||||
import java.util.stream.Collectors; |
||||
import java.util.stream.Stream; |
||||
|
||||
import org.junit.runners.BlockJUnit4ClassRunner; |
||||
import org.junit.runners.model.FrameworkMethod; |
||||
import org.junit.runners.model.InitializationError; |
||||
import org.junit.runners.model.Statement; |
||||
|
||||
import org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext; |
||||
import org.springframework.context.ConfigurableApplicationContext; |
||||
import org.springframework.context.annotation.Configuration; |
||||
import org.springframework.core.annotation.AnnotationUtils; |
||||
import org.springframework.core.env.MutablePropertySources; |
||||
import org.springframework.core.env.PropertySource; |
||||
import org.springframework.test.web.reactive.server.WebTestClient; |
||||
import org.springframework.util.ReflectionUtils; |
||||
import org.springframework.web.util.DefaultUriBuilderFactory; |
||||
import org.springframework.web.util.DefaultUriBuilderFactory.EncodingMode; |
||||
|
||||
/** |
||||
* Base class for web endpoint runners. |
||||
* |
||||
* @author Andy Wilkinson |
||||
* @author Phillip Webb |
||||
*/ |
||||
abstract class AbstractWebEndpointRunner extends BlockJUnit4ClassRunner { |
||||
|
||||
private final String name; |
||||
|
||||
private final TestContext testContext; |
||||
|
||||
protected AbstractWebEndpointRunner(Class<?> testClass, String name, |
||||
ContextFactory contextFactory) throws InitializationError { |
||||
super(testClass); |
||||
this.name = name; |
||||
this.testContext = new TestContext(testClass, contextFactory); |
||||
} |
||||
|
||||
@Override |
||||
protected final String getName() { |
||||
return this.name; |
||||
} |
||||
|
||||
@Override |
||||
protected String testName(FrameworkMethod method) { |
||||
return super.testName(method) + "[" + getName() + "]"; |
||||
} |
||||
|
||||
@Override |
||||
protected Statement withBeforeClasses(Statement statement) { |
||||
Statement delegate = super.withBeforeClasses(statement); |
||||
return new Statement() { |
||||
|
||||
@Override |
||||
public void evaluate() throws Throwable { |
||||
AbstractWebEndpointRunner.this.testContext.beforeClass(); |
||||
delegate.evaluate(); |
||||
} |
||||
|
||||
}; |
||||
} |
||||
|
||||
@Override |
||||
protected Statement withAfterClasses(Statement statement) { |
||||
Statement delegate = super.withAfterClasses(statement); |
||||
return new Statement() { |
||||
|
||||
@Override |
||||
public void evaluate() throws Throwable { |
||||
try { |
||||
delegate.evaluate(); |
||||
} |
||||
finally { |
||||
AbstractWebEndpointRunner.this.testContext.afterClass(); |
||||
} |
||||
} |
||||
|
||||
}; |
||||
} |
||||
|
||||
@Override |
||||
protected Statement withBefores(FrameworkMethod method, Object target, |
||||
Statement statement) { |
||||
Statement delegate = super.withBefores(method, target, statement); |
||||
return new Statement() { |
||||
|
||||
@Override |
||||
public void evaluate() throws Throwable { |
||||
AbstractWebEndpointRunner.this.testContext.beforeTest(); |
||||
delegate.evaluate(); |
||||
} |
||||
|
||||
}; |
||||
} |
||||
|
||||
@Override |
||||
protected Statement withAfters(FrameworkMethod method, Object target, |
||||
Statement statement) { |
||||
Statement delegate = super.withAfters(method, target, statement); |
||||
return new Statement() { |
||||
|
||||
@Override |
||||
public void evaluate() throws Throwable { |
||||
try { |
||||
delegate.evaluate(); |
||||
} |
||||
finally { |
||||
AbstractWebEndpointRunner.this.testContext.afterTest(); |
||||
} |
||||
} |
||||
|
||||
}; |
||||
} |
||||
|
||||
final class TestContext { |
||||
|
||||
private final Class<?> testClass; |
||||
|
||||
private final ContextFactory contextFactory; |
||||
|
||||
private ConfigurableApplicationContext applicationContext; |
||||
|
||||
private List<PropertySource<?>> propertySources; |
||||
|
||||
TestContext(Class<?> testClass, ContextFactory contextFactory) { |
||||
this.testClass = testClass; |
||||
this.contextFactory = contextFactory; |
||||
} |
||||
|
||||
void beforeClass() { |
||||
this.applicationContext = createApplicationContext(); |
||||
WebTestClient webTestClient = createWebTestClient(); |
||||
injectIfPossible(this.testClass, webTestClient); |
||||
injectIfPossible(this.testClass, this.applicationContext); |
||||
} |
||||
|
||||
void beforeTest() { |
||||
capturePropertySources(); |
||||
} |
||||
|
||||
void afterTest() { |
||||
restorePropertySources(); |
||||
} |
||||
|
||||
void afterClass() { |
||||
if (this.applicationContext != null) { |
||||
this.applicationContext.close(); |
||||
} |
||||
} |
||||
|
||||
private ConfigurableApplicationContext createApplicationContext() { |
||||
Class<?>[] members = this.testClass.getDeclaredClasses(); |
||||
List<Class<?>> configurationClasses = Stream.of(members) |
||||
.filter(this::isConfiguration).collect(Collectors.toList()); |
||||
return this.contextFactory |
||||
.createContext(new ArrayList<>(configurationClasses)); |
||||
} |
||||
|
||||
private boolean isConfiguration(Class<?> candidate) { |
||||
return AnnotationUtils.findAnnotation(candidate, Configuration.class) != null; |
||||
} |
||||
|
||||
private WebTestClient createWebTestClient() { |
||||
DefaultUriBuilderFactory uriBuilderFactory = new DefaultUriBuilderFactory( |
||||
"http://localhost:" + determinePort()); |
||||
uriBuilderFactory.setEncodingMode(EncodingMode.NONE); |
||||
return WebTestClient.bindToServer().uriBuilderFactory(uriBuilderFactory) |
||||
.responseTimeout(Duration.ofSeconds(30)).build(); |
||||
} |
||||
|
||||
private int determinePort() { |
||||
if (this.applicationContext instanceof AnnotationConfigServletWebServerApplicationContext) { |
||||
return ((AnnotationConfigServletWebServerApplicationContext) this.applicationContext) |
||||
.getWebServer().getPort(); |
||||
} |
||||
return this.applicationContext.getBean(PortHolder.class).getPort(); |
||||
} |
||||
|
||||
private void injectIfPossible(Class<?> target, Object value) { |
||||
ReflectionUtils.doWithFields(target, (field) -> { |
||||
if (Modifier.isStatic(field.getModifiers()) |
||||
&& field.getType().isInstance(value)) { |
||||
ReflectionUtils.makeAccessible(field); |
||||
ReflectionUtils.setField(field, null, value); |
||||
} |
||||
}); |
||||
} |
||||
|
||||
private void capturePropertySources() { |
||||
this.propertySources = new ArrayList<>(); |
||||
this.applicationContext.getEnvironment().getPropertySources() |
||||
.forEach(this.propertySources::add); |
||||
} |
||||
|
||||
private void restorePropertySources() { |
||||
List<String> names = new ArrayList<>(); |
||||
MutablePropertySources propertySources = this.applicationContext |
||||
.getEnvironment().getPropertySources(); |
||||
propertySources |
||||
.forEach((propertySource) -> names.add(propertySource.getName())); |
||||
names.forEach(propertySources::remove); |
||||
this.propertySources.forEach(propertySources::addLast); |
||||
} |
||||
|
||||
} |
||||
|
||||
} |
||||
@ -1,804 +0,0 @@
@@ -1,804 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<parent> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-parent</artifactId> |
||||
<version>2.0.0.BUILD-SNAPSHOT</version> |
||||
<relativePath>../spring-boot-parent</relativePath> |
||||
</parent> |
||||
<artifactId>spring-boot-autoconfigure</artifactId> |
||||
<name>Spring Boot AutoConfigure</name> |
||||
<description>Spring Boot AutoConfigure</description> |
||||
<url>http://projects.spring.io/spring-boot/</url> |
||||
<organization> |
||||
<name>Pivotal Software, Inc.</name> |
||||
<url>http://www.spring.io</url> |
||||
</organization> |
||||
<properties> |
||||
<main.basedir>${basedir}/..</main.basedir> |
||||
</properties> |
||||
<dependencies> |
||||
<!-- Compile --> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot</artifactId> |
||||
</dependency> |
||||
<!-- Optional --> |
||||
<dependency> |
||||
<groupId>com.atomikos</groupId> |
||||
<artifactId>transactions-jdbc</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.atomikos</groupId> |
||||
<artifactId>transactions-jta</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.couchbase.client</groupId> |
||||
<artifactId>couchbase-spring-cache</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.fasterxml.jackson.core</groupId> |
||||
<artifactId>jackson-databind</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.fasterxml.jackson.dataformat</groupId> |
||||
<artifactId>jackson-dataformat-xml</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.fasterxml.jackson.datatype</groupId> |
||||
<artifactId>jackson-datatype-joda</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.fasterxml.jackson.datatype</groupId> |
||||
<artifactId>jackson-datatype-jsr310</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.fasterxml.jackson.module</groupId> |
||||
<artifactId>jackson-module-parameter-names</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.google.code.gson</groupId> |
||||
<artifactId>gson</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.hazelcast</groupId> |
||||
<artifactId>hazelcast</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.hazelcast</groupId> |
||||
<artifactId>hazelcast-client</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.hazelcast</groupId> |
||||
<artifactId>hazelcast-spring</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.h2database</groupId> |
||||
<artifactId>h2</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.samskivert</groupId> |
||||
<artifactId>jmustache</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.sun.mail</groupId> |
||||
<artifactId>javax.mail</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>de.flapdoodle.embed</groupId> |
||||
<artifactId>de.flapdoodle.embed.mongo</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.lettuce</groupId> |
||||
<artifactId>lettuce-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.projectreactor.ipc</groupId> |
||||
<artifactId>reactor-netty</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>javax.cache</groupId> |
||||
<artifactId>cache-api</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>javax.json.bind</groupId> |
||||
<artifactId>javax.json.bind-api</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.searchbox</groupId> |
||||
<artifactId>jest</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.flywaydb</groupId> |
||||
<artifactId>flyway-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.glassfish.jersey.core</groupId> |
||||
<artifactId>jersey-server</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.glassfish.jersey.containers</groupId> |
||||
<artifactId>jersey-container-servlet-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.glassfish.jersey.containers</groupId> |
||||
<artifactId>jersey-container-servlet</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.glassfish.jersey.ext</groupId> |
||||
<artifactId>jersey-spring4</artifactId> |
||||
<optional>true</optional> |
||||
<exclusions> |
||||
<exclusion> |
||||
<groupId>org.hibernate</groupId> |
||||
<artifactId>hibernate-validator</artifactId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.glassfish.jersey.media</groupId> |
||||
<artifactId>jersey-media-json-jackson</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.activemq</groupId> |
||||
<artifactId>activemq-broker</artifactId> |
||||
<optional>true</optional> |
||||
<exclusions> |
||||
<exclusion> |
||||
<artifactId>geronimo-jms_1.1_spec</artifactId> |
||||
<groupId>org.apache.geronimo.specs</groupId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.activemq</groupId> |
||||
<artifactId>activemq-pool</artifactId> |
||||
<optional>true</optional> |
||||
<exclusions> |
||||
<exclusion> |
||||
<artifactId>geronimo-jms_1.1_spec</artifactId> |
||||
<groupId>org.apache.geronimo.specs</groupId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.activemq</groupId> |
||||
<artifactId>artemis-jms-client</artifactId> |
||||
<optional>true</optional> |
||||
<exclusions> |
||||
<exclusion> |
||||
<artifactId>geronimo-jms_2.0_spec</artifactId> |
||||
<groupId>org.apache.geronimo.specs</groupId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.activemq</groupId> |
||||
<artifactId>artemis-jms-server</artifactId> |
||||
<optional>true</optional> |
||||
<exclusions> |
||||
<exclusion> |
||||
<artifactId>geronimo-jms_2.0_spec</artifactId> |
||||
<groupId>org.apache.geronimo.specs</groupId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.commons</groupId> |
||||
<artifactId>commons-dbcp2</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.solr</groupId> |
||||
<artifactId>solr-solrj</artifactId> |
||||
<optional>true</optional> |
||||
<exclusions> |
||||
<exclusion> |
||||
<groupId>org.codehaus.woodstox</groupId> |
||||
<artifactId>wstx-asl</artifactId> |
||||
</exclusion> |
||||
<exclusion> |
||||
<artifactId>log4j</artifactId> |
||||
<groupId>log4j</groupId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.tomcat.embed</groupId> |
||||
<artifactId>tomcat-embed-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.tomcat.embed</groupId> |
||||
<artifactId>tomcat-embed-el</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.tomcat.embed</groupId> |
||||
<artifactId>tomcat-embed-websocket</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.tomcat</groupId> |
||||
<artifactId>tomcat-jdbc</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.codehaus.btm</groupId> |
||||
<artifactId>btm</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.codehaus.groovy</groupId> |
||||
<artifactId>groovy-templates</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.sendgrid</groupId> |
||||
<artifactId>sendgrid-java</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.unboundid</groupId> |
||||
<artifactId>unboundid-ldapsdk</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.zaxxer</groupId> |
||||
<artifactId>HikariCP</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.eclipse.jetty</groupId> |
||||
<artifactId>jetty-webapp</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.eclipse.jetty.websocket</groupId> |
||||
<artifactId>javax-websocket-server-impl</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.undertow</groupId> |
||||
<artifactId>undertow-servlet</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.undertow</groupId> |
||||
<artifactId>undertow-websockets-jsr</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.ehcache</groupId> |
||||
<artifactId>ehcache</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.freemarker</groupId> |
||||
<artifactId>freemarker</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.hibernate</groupId> |
||||
<artifactId>hibernate-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.hibernate.validator</groupId> |
||||
<artifactId>hibernate-validator</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.infinispan</groupId> |
||||
<artifactId>infinispan-jcache</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.infinispan</groupId> |
||||
<artifactId>infinispan-spring4-embedded</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.jboss</groupId> |
||||
<artifactId>jboss-transaction-spi</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.mongodb</groupId> |
||||
<artifactId>mongodb-driver-async</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.mongodb</groupId> |
||||
<artifactId>mongodb-driver-reactivestreams</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-jdbc</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.integration</groupId> |
||||
<artifactId>spring-integration-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.integration</groupId> |
||||
<artifactId>spring-integration-jdbc</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.integration</groupId> |
||||
<artifactId>spring-integration-jmx</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-jms</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-orm</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-tx</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-web</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-websocket</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-webflux</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-webmvc</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.batch</groupId> |
||||
<artifactId>spring-batch-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-couchbase</artifactId> |
||||
<optional>true</optional> |
||||
<exclusions> |
||||
<exclusion> |
||||
<groupId>org.slf4j</groupId> |
||||
<artifactId>jcl-over-slf4j</artifactId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-jpa</artifactId> |
||||
<optional>true</optional> |
||||
<exclusions> |
||||
<exclusion> |
||||
<artifactId>jcl-over-slf4j</artifactId> |
||||
<groupId>org.slf4j</groupId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-rest-webmvc</artifactId> |
||||
<optional>true</optional> |
||||
<exclusions> |
||||
<exclusion> |
||||
<artifactId>jcl-over-slf4j</artifactId> |
||||
<groupId>org.slf4j</groupId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-cassandra</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-ldap</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-mongodb</artifactId> |
||||
<optional>true</optional> |
||||
<exclusions> |
||||
<exclusion> |
||||
<artifactId>jcl-over-slf4j</artifactId> |
||||
<groupId>org.slf4j</groupId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-neo4j</artifactId> |
||||
<optional>true</optional> |
||||
<exclusions> |
||||
<exclusion> |
||||
<artifactId>jcl-over-slf4j</artifactId> |
||||
<groupId>org.slf4j</groupId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-redis</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-elasticsearch</artifactId> |
||||
<optional>true</optional> |
||||
<exclusions> |
||||
<exclusion> |
||||
<artifactId>jcl-over-slf4j</artifactId> |
||||
<groupId>org.slf4j</groupId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-solr</artifactId> |
||||
<optional>true</optional> |
||||
<exclusions> |
||||
<exclusion> |
||||
<artifactId>jcl-over-slf4j</artifactId> |
||||
<groupId>org.slf4j</groupId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.hateoas</groupId> |
||||
<artifactId>spring-hateoas</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>redis.clients</groupId> |
||||
<artifactId>jedis</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.liquibase</groupId> |
||||
<artifactId>liquibase-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.security</groupId> |
||||
<artifactId>spring-security-acl</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.security</groupId> |
||||
<artifactId>spring-security-web</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.security</groupId> |
||||
<artifactId>spring-security-config</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.security</groupId> |
||||
<artifactId>spring-security-data</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.security</groupId> |
||||
<artifactId>spring-security-webflux</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.security</groupId> |
||||
<artifactId>spring-security-jwt-jose</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.security</groupId> |
||||
<artifactId>spring-security-oauth2-client</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.session</groupId> |
||||
<artifactId>spring-session-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.session</groupId> |
||||
<artifactId>spring-session-data-mongodb</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.session</groupId> |
||||
<artifactId>spring-session-data-redis</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.session</groupId> |
||||
<artifactId>spring-session-hazelcast</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.session</groupId> |
||||
<artifactId>spring-session-jdbc</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.amqp</groupId> |
||||
<artifactId>spring-rabbit</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.kafka</groupId> |
||||
<artifactId>spring-kafka</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.cloud</groupId> |
||||
<artifactId>spring-cloud-spring-service-connector</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.mobile</groupId> |
||||
<artifactId>spring-mobile-device</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.social</groupId> |
||||
<artifactId>spring-social-config</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.social</groupId> |
||||
<artifactId>spring-social-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.social</groupId> |
||||
<artifactId>spring-social-web</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.social</groupId> |
||||
<artifactId>spring-social-facebook</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.social</groupId> |
||||
<artifactId>spring-social-twitter</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.social</groupId> |
||||
<artifactId>spring-social-linkedin</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.ws</groupId> |
||||
<artifactId>spring-ws-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.thymeleaf</groupId> |
||||
<artifactId>thymeleaf</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.thymeleaf</groupId> |
||||
<artifactId>thymeleaf-spring5</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>nz.net.ultraq.thymeleaf</groupId> |
||||
<artifactId>thymeleaf-layout-dialect</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.github.ben-manes.caffeine</groupId> |
||||
<artifactId>caffeine</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.github.mxab.thymeleaf.extras</groupId> |
||||
<artifactId>thymeleaf-extras-data-attribute</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.thymeleaf.extras</groupId> |
||||
<artifactId>thymeleaf-extras-java8time</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.thymeleaf.extras</groupId> |
||||
<artifactId>thymeleaf-extras-springsecurity4</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>javax.jms</groupId> |
||||
<artifactId>javax.jms-api</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>javax.mail</groupId> |
||||
<artifactId>javax.mail-api</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>net.sf.ehcache</groupId> |
||||
<artifactId>ehcache</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.aspectj</groupId> |
||||
<artifactId>aspectjweaver</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.influxdb</groupId> |
||||
<artifactId>influxdb-java</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.jooq</groupId> |
||||
<artifactId>jooq</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.jboss.narayana.jta</groupId> |
||||
<artifactId>jms</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.jboss.narayana.jta</groupId> |
||||
<artifactId>jta</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.jboss.narayana.jts</groupId> |
||||
<artifactId>narayana-jts-integration</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.quartz-scheduler</groupId> |
||||
<artifactId>quartz</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<!-- Annotation processing --> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-autoconfigure-processor</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-configuration-processor</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<!-- Test --> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-test-support</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-test</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>ch.qos.logback</groupId> |
||||
<artifactId>logback-classic</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.atomikos</groupId> |
||||
<artifactId>transactions-jms</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.jayway.jsonpath</groupId> |
||||
<artifactId>json-path</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>javax.json</groupId> |
||||
<artifactId>javax.json-api</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>mysql</groupId> |
||||
<artifactId>mysql-connector-java</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.johnzon</groupId> |
||||
<artifactId>johnzon-jsonb</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.hsqldb</groupId> |
||||
<artifactId>hsqldb</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.neo4j</groupId> |
||||
<artifactId>neo4j-ogm-http-driver</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.slf4j</groupId> |
||||
<artifactId>log4j-over-slf4j</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-test</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.kafka</groupId> |
||||
<artifactId>spring-kafka-test</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.security</groupId> |
||||
<artifactId>spring-security-test</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.yaml</groupId> |
||||
<artifactId>snakeyaml</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.tomcat.embed</groupId> |
||||
<artifactId>tomcat-embed-jasper</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
</dependencies> |
||||
</project> |
||||
@ -1,394 +0,0 @@
@@ -1,394 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<parent> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-parent</artifactId> |
||||
<version>2.0.0.BUILD-SNAPSHOT</version> |
||||
<relativePath>../spring-boot-parent</relativePath> |
||||
</parent> |
||||
<artifactId>spring-boot-cli</artifactId> |
||||
<name>Spring Boot CLI</name> |
||||
<description>Spring Boot CLI</description> |
||||
<url>http://projects.spring.io/spring-boot/</url> |
||||
<organization> |
||||
<name>Pivotal Software, Inc.</name> |
||||
<url>http://www.spring.io</url> |
||||
</organization> |
||||
<properties> |
||||
<main.basedir>${basedir}/..</main.basedir> |
||||
<start-class>org.springframework.boot.cli.SpringCli</start-class> |
||||
<spring.profiles.active>default</spring.profiles.active> |
||||
<generated.pom.dir>${project.build.directory}/generated-resources/org/springframework/boot/cli/compiler/dependencies</generated.pom.dir> |
||||
</properties> |
||||
<profiles> |
||||
<profile> |
||||
<id>integration</id> |
||||
<activation> |
||||
<activeByDefault>true</activeByDefault> |
||||
</activation> |
||||
<properties> |
||||
<spring.profiles.active>integration</spring.profiles.active> |
||||
</properties> |
||||
</profile> |
||||
</profiles> |
||||
<dependencies> |
||||
<!-- Compile --> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-loader-tools</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.vaadin.external.google</groupId> |
||||
<artifactId>android-json</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>jline</groupId> |
||||
<artifactId>jline</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>net.sf.jopt-simple</groupId> |
||||
<artifactId>jopt-simple</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.codehaus.groovy</groupId> |
||||
<artifactId>groovy</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-core</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.maven</groupId> |
||||
<artifactId>maven-aether-provider</artifactId> |
||||
<exclusions> |
||||
<exclusion> |
||||
<artifactId>org.eclipse.sisu.plexus</artifactId> |
||||
<groupId>org.eclipse.sisu</groupId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.maven</groupId> |
||||
<artifactId>maven-settings-builder</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.codehaus.plexus</groupId> |
||||
<artifactId>plexus-component-api</artifactId> |
||||
<exclusions> |
||||
<exclusion> |
||||
<groupId>*</groupId> |
||||
<artifactId>*</artifactId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.eclipse.aether</groupId> |
||||
<artifactId>aether-api</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.eclipse.aether</groupId> |
||||
<artifactId>aether-connector-basic</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.eclipse.aether</groupId> |
||||
<artifactId>aether-impl</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.eclipse.aether</groupId> |
||||
<artifactId>aether-spi</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.eclipse.aether</groupId> |
||||
<artifactId>aether-transport-file</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.eclipse.aether</groupId> |
||||
<artifactId>aether-transport-http</artifactId> |
||||
<exclusions> |
||||
<exclusion> |
||||
<artifactId>jcl-over-slf4j</artifactId> |
||||
<groupId>org.slf4j</groupId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.eclipse.aether</groupId> |
||||
<artifactId>aether-util</artifactId> |
||||
</dependency> |
||||
<!-- Provided --> |
||||
<dependency> |
||||
<groupId>org.codehaus.groovy</groupId> |
||||
<artifactId>groovy-templates</artifactId> |
||||
<scope>provided</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot</artifactId> |
||||
<scope>provided</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-web</artifactId> |
||||
<scope>provided</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>javax.servlet</groupId> |
||||
<artifactId>javax.servlet-api</artifactId> |
||||
<scope>provided</scope> |
||||
</dependency> |
||||
<!-- Test --> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-test-support</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-test</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>junit</groupId> |
||||
<artifactId>junit</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
</dependencies> |
||||
<build> |
||||
<resources> |
||||
<resource> |
||||
<directory>${project.build.directory}/generated-resources</directory> |
||||
</resource> |
||||
<resource> |
||||
<directory>${basedir}/src/main/resources</directory> |
||||
</resource> |
||||
</resources> |
||||
<plugins> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-failsafe-plugin</artifactId> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-surefire-plugin</artifactId> |
||||
<configuration> |
||||
<additionalClasspathElements> |
||||
<additionalClasspathElement>${project.build.directory}/generated-resources</additionalClasspathElement> |
||||
</additionalClasspathElements> |
||||
<systemPropertyVariables> |
||||
<spring.profiles.active>${spring.profiles.active}</spring.profiles.active> |
||||
</systemPropertyVariables> |
||||
</configuration> |
||||
</plugin> |
||||
<!-- Build an executable JAR manually since we can't easily depend on |
||||
a maven plugin that is part of the reactor --> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-dependency-plugin</artifactId> |
||||
<executions> |
||||
<execution> |
||||
<id>copy-effective-pom</id> |
||||
<phase>generate-resources</phase> |
||||
<goals> |
||||
<goal>copy</goal> |
||||
</goals> |
||||
<configuration> |
||||
<artifactItems> |
||||
<artifactItem> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-dependencies</artifactId> |
||||
<version>${project.version}</version> |
||||
<type>effective-pom</type> |
||||
<overWrite>true</overWrite> |
||||
<outputDirectory>${generated.pom.dir}</outputDirectory> |
||||
<destFileName>effective-pom.xml</destFileName> |
||||
</artifactItem> |
||||
</artifactItems> |
||||
</configuration> |
||||
</execution> |
||||
<execution> |
||||
<id>unpack</id> |
||||
<phase>prepare-package</phase> |
||||
<goals> |
||||
<goal>unpack</goal> |
||||
</goals> |
||||
<configuration> |
||||
<artifactItems> |
||||
<artifactItem> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-loader</artifactId> |
||||
<version>${project.version}</version> |
||||
<type>jar</type> |
||||
</artifactItem> |
||||
</artifactItems> |
||||
<outputDirectory>${project.build.directory}/assembly</outputDirectory> |
||||
</configuration> |
||||
</execution> |
||||
<execution> |
||||
<id>copy</id> |
||||
<phase>prepare-package</phase> |
||||
<goals> |
||||
<goal>copy-dependencies</goal> |
||||
</goals> |
||||
<configuration> |
||||
<outputDirectory>${project.build.directory}/assembly/BOOT-INF/lib</outputDirectory> |
||||
<includeScope>runtime</includeScope> |
||||
</configuration> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-assembly-plugin</artifactId> |
||||
<executions> |
||||
<execution> |
||||
<id>jar-with-dependencies</id> |
||||
<phase>package</phase> |
||||
<goals> |
||||
<goal>single</goal> |
||||
</goals> |
||||
<configuration> |
||||
<descriptors> |
||||
<descriptor>src/main/assembly/jar-with-dependencies.xml</descriptor> |
||||
</descriptors> |
||||
<archive> |
||||
<manifest> |
||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
||||
<mainClass>org.springframework.boot.loader.JarLauncher</mainClass> |
||||
</manifest> |
||||
<manifestEntries> |
||||
<Start-Class>${start-class}</Start-Class> |
||||
<Class-Loader>groovy.lang.GroovyClassLoader</Class-Loader> |
||||
</manifestEntries> |
||||
</archive> |
||||
</configuration> |
||||
</execution> |
||||
<execution> |
||||
<id>bin-package</id> |
||||
<phase>package</phase> |
||||
<goals> |
||||
<goal>single</goal> |
||||
</goals> |
||||
<configuration> |
||||
<descriptors> |
||||
<descriptor>src/main/assembly/bin-package.xml</descriptor> |
||||
</descriptors> |
||||
</configuration> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-antrun-plugin</artifactId> |
||||
<dependencies> |
||||
<dependency> |
||||
<groupId>ant-contrib</groupId> |
||||
<artifactId>ant-contrib</artifactId> |
||||
<version>1.0b3</version> |
||||
<exclusions> |
||||
<exclusion> |
||||
<groupId>ant</groupId> |
||||
<artifactId>ant</artifactId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.ant</groupId> |
||||
<artifactId>ant-nodeps</artifactId> |
||||
<version>1.8.1</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.tigris.antelope</groupId> |
||||
<artifactId>antelopetasks</artifactId> |
||||
<version>3.2.10</version> |
||||
</dependency> |
||||
</dependencies> |
||||
<executions> |
||||
<execution> |
||||
<id>homebrew</id> |
||||
<phase>package</phase> |
||||
<goals> |
||||
<goal>run</goal> |
||||
</goals> |
||||
<inherited>false</inherited> |
||||
<configuration> |
||||
<target> |
||||
<taskdef resource="net/sf/antcontrib/antcontrib.properties" /> |
||||
<taskdef name="stringutil" classname="ise.antelope.tasks.StringUtilTask" /> |
||||
<var name="version-type" value="${project.version}" /> |
||||
<propertyregex property="version-type" override="true" input="${version-type}" regexp=".*\.(.*)" replace="\1" /> |
||||
<propertyregex property="version-type" override="true" input="${version-type}" regexp="(M)\d+" replace="MILESTONE" /> |
||||
<propertyregex property="version-type" override="true" input="${version-type}" regexp="(RC)\d+" replace="MILESTONE" /> |
||||
<propertyregex property="version-type" override="true" input="${version-type}" regexp="BUILD-(.*)" replace="SNAPSHOT" /> |
||||
<stringutil string="${version-type}" property="repo"> |
||||
<lowercase /> |
||||
</stringutil> |
||||
<checksum algorithm="sha-256" file="${project.build.directory}/spring-boot-cli-${project.version}-bin.tar.gz" property="checksum" /> |
||||
<echo message="Customizing homebrew for ${project.version} with checksum ${checksum} in ${repo} repo" /> |
||||
<copy file="${basedir}/src/main/homebrew/springboot.rb" tofile="${project.build.directory}/springboot.rb" overwrite="true"> |
||||
<filterchain> |
||||
<expandproperties /> |
||||
</filterchain> |
||||
</copy> |
||||
<attachartifact file="${project.build.directory}/springboot.rb" classifier="homebrew" type="rb" /> |
||||
</target> |
||||
</configuration> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.codehaus.mojo</groupId> |
||||
<artifactId>build-helper-maven-plugin</artifactId> |
||||
<executions> |
||||
<execution> |
||||
<id>add-test-source</id> |
||||
<phase>process-resources</phase> |
||||
<goals> |
||||
<goal>add-test-source</goal> |
||||
</goals> |
||||
<configuration> |
||||
<sources> |
||||
<source>src/it/java</source> |
||||
</sources> |
||||
</configuration> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
</plugins> |
||||
<pluginManagement> |
||||
<plugins> |
||||
<plugin> |
||||
<groupId>org.eclipse.m2e</groupId> |
||||
<artifactId>lifecycle-mapping</artifactId> |
||||
<version>1.0.0</version> |
||||
<configuration> |
||||
<lifecycleMappingMetadata> |
||||
<pluginExecutions> |
||||
<pluginExecution> |
||||
<pluginExecutionFilter> |
||||
<groupId> |
||||
org.apache.maven.plugins |
||||
</groupId> |
||||
<artifactId> |
||||
maven-dependency-plugin |
||||
</artifactId> |
||||
<versionRange> |
||||
[1.0.0,) |
||||
</versionRange> |
||||
<goals> |
||||
<goal>unpack</goal> |
||||
<goal>copy-dependencies</goal> |
||||
</goals> |
||||
</pluginExecutionFilter> |
||||
<action> |
||||
<ignore /> |
||||
</action> |
||||
</pluginExecution> |
||||
</pluginExecutions> |
||||
</lifecycleMappingMetadata> |
||||
</configuration> |
||||
</plugin> |
||||
</plugins> |
||||
</pluginManagement> |
||||
</build> |
||||
</project> |
||||
File diff suppressed because it is too large
Load Diff
@ -1,77 +0,0 @@
@@ -1,77 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<parent> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-parent</artifactId> |
||||
<version>2.0.0.BUILD-SNAPSHOT</version> |
||||
<relativePath>../spring-boot-parent</relativePath> |
||||
</parent> |
||||
<artifactId>spring-boot-deployment-tests</artifactId> |
||||
<packaging>pom</packaging> |
||||
<name>Spring Boot Deployment Tests</name> |
||||
<description>Spring Boot Deployment Tests</description> |
||||
<url>http://projects.spring.io/spring-boot/</url> |
||||
<organization> |
||||
<name>Pivotal Software, Inc.</name> |
||||
<url>http://www.spring.io</url> |
||||
</organization> |
||||
<properties> |
||||
<main.basedir>${basedir}/..</main.basedir> |
||||
<java.version>1.7</java.version> |
||||
<cargo.timeout>300000</cargo.timeout> |
||||
<cargo.container.download-dir>${java.io.tmpdir}/cargo/installs</cargo.container.download-dir> |
||||
</properties> |
||||
<modules> |
||||
<module>spring-boot-deployment-test-glassfish</module> |
||||
<module>spring-boot-deployment-test-tomee</module> |
||||
<module>spring-boot-deployment-test-tomcat</module> |
||||
<module>spring-boot-deployment-test-wildfly</module> |
||||
<module>spring-boot-deployment-test-wlp</module> |
||||
</modules> |
||||
<build> |
||||
<pluginManagement> |
||||
<plugins> |
||||
<plugin> |
||||
<groupId>org.codehaus.cargo</groupId> |
||||
<artifactId>cargo-maven2-plugin</artifactId> |
||||
<configuration> |
||||
<container> |
||||
<containerId>${cargo.container.id}</containerId> |
||||
<timeout>${cargo.timeout}</timeout> |
||||
<zipUrlInstaller> |
||||
<url>${cargo.container.url}</url> |
||||
<downloadDir>${cargo.container.download-dir}</downloadDir> |
||||
</zipUrlInstaller> |
||||
</container> |
||||
<deployables> |
||||
<deployable> |
||||
<properties> |
||||
<context>/bootapp</context> |
||||
</properties> |
||||
<pingURL>http://localhost:${appserver.port}/bootapp</pingURL> |
||||
<pingTimeout>30000</pingTimeout> |
||||
</deployable> |
||||
</deployables> |
||||
</configuration> |
||||
<executions> |
||||
<execution> |
||||
<id>start-cargo</id> |
||||
<phase>pre-integration-test</phase> |
||||
<goals> |
||||
<goal>start</goal> |
||||
</goals> |
||||
</execution> |
||||
<execution> |
||||
<id>stop-cargo</id> |
||||
<phase>post-integration-test</phase> |
||||
<goals> |
||||
<goal>stop</goal> |
||||
</goals> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
</plugins> |
||||
</pluginManagement> |
||||
</build> |
||||
</project> |
||||
@ -1,117 +0,0 @@
@@ -1,117 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<parent> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-deployment-tests</artifactId> |
||||
<version>2.0.0.BUILD-SNAPSHOT</version> |
||||
</parent> |
||||
<artifactId>spring-boot-deployment-test-glassfish</artifactId> |
||||
<packaging>war</packaging> |
||||
<name>Spring Boot Glassfish Deployment Test</name> |
||||
<description>Spring Boot Glassfish Deployment Test</description> |
||||
<url>http://projects.spring.io/spring-boot/</url> |
||||
<organization> |
||||
<name>Pivotal Software, Inc.</name> |
||||
<url>http://www.spring.io</url> |
||||
</organization> |
||||
<properties> |
||||
<main.basedir>${basedir}/../..</main.basedir> |
||||
<glassfish.version>4.1.1</glassfish.version> |
||||
<cargo.container.id>glassfish4x</cargo.container.id> |
||||
<cargo.container.url>http://download.oracle.com/glassfish/${glassfish.version}/release/glassfish-${glassfish.version}.zip</cargo.container.url> |
||||
</properties> |
||||
<dependencies> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-web</artifactId> |
||||
<exclusions> |
||||
<exclusion> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-tomcat</artifactId> |
||||
</exclusion> |
||||
<exclusion> |
||||
<groupId>org.hibernate.validator</groupId> |
||||
<artifactId>hibernate-validator</artifactId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>javax.servlet</groupId> |
||||
<artifactId>javax.servlet-api</artifactId> |
||||
<scope>provided</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-test</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
</dependencies> |
||||
<profiles> |
||||
<profile> |
||||
<activation> |
||||
<jdk>1.8</jdk> |
||||
</activation> |
||||
<build> |
||||
<plugins> |
||||
<plugin> |
||||
<groupId>org.codehaus.mojo</groupId> |
||||
<artifactId>build-helper-maven-plugin</artifactId> |
||||
<executions> |
||||
<execution> |
||||
<id>reserve-network-port</id> |
||||
<goals> |
||||
<goal>reserve-network-port</goal> |
||||
</goals> |
||||
<phase>process-resources</phase> |
||||
<configuration> |
||||
<portNames> |
||||
<portName>appserver.port</portName> |
||||
<portName>appserver.admin.port</portName> |
||||
<portName>appserver.jms.port</portName> |
||||
<portName>appserver.iiop.port</portName> |
||||
<portName>appserver.https.port</portName> |
||||
<portName>appserver.iiops.port</portName> |
||||
<portName>appserver.iiopmutualauth.port</portName> |
||||
<portName>appserver.jmx.port</portName> |
||||
<portName>appserver.osgishell.port</portName> |
||||
<portName>appserver.debugger.port</portName> |
||||
</portNames> |
||||
</configuration> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.codehaus.cargo</groupId> |
||||
<artifactId>cargo-maven2-plugin</artifactId> |
||||
<configuration> |
||||
<configuration> |
||||
<properties> |
||||
<cargo.servlet.port>${appserver.port}</cargo.servlet.port> |
||||
<cargo.glassfish.admin.port>${appserver.admin.port}</cargo.glassfish.admin.port> |
||||
<cargo.glassfish.domain.jmxPort>${appserver.jmx.port}</cargo.glassfish.domain.jmxPort> |
||||
<cargo.glassfish.http.ssl.port>${appserver.https.port}</cargo.glassfish.http.ssl.port> |
||||
<cargo.glassfish.java.debugger.port>${appserver.debugger.port}</cargo.glassfish.java.debugger.port> |
||||
<cargo.glassfish.jms.port>${appserver.jms.port}</cargo.glassfish.jms.port> |
||||
<cargo.glassfish.orb.listener.port>${appserver.iiop.port}</cargo.glassfish.orb.listener.port> |
||||
<cargo.glassfish.orb.mutualauth.port>${appserver.iiopmutualauth.port}</cargo.glassfish.orb.mutualauth.port> |
||||
<cargo.glassfish.orb.ssl.port>${appserver.iiops.port}</cargo.glassfish.orb.ssl.port> |
||||
<cargo.glassfish.osgi.shell.telnet.port>${appserver.osgishell.port}</cargo.glassfish.osgi.shell.telnet.port> |
||||
</properties> |
||||
</configuration> |
||||
</configuration> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-failsafe-plugin</artifactId> |
||||
<configuration> |
||||
<systemPropertyVariables> |
||||
<port>${appserver.port}</port> |
||||
</systemPropertyVariables> |
||||
</configuration> |
||||
</plugin> |
||||
</plugins> |
||||
</build> |
||||
</profile> |
||||
</profiles> |
||||
</project> |
||||
@ -1,98 +0,0 @@
@@ -1,98 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<parent> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-deployment-tests</artifactId> |
||||
<version>2.0.0.BUILD-SNAPSHOT</version> |
||||
</parent> |
||||
<artifactId>spring-boot-deployment-test-tomcat</artifactId> |
||||
<packaging>war</packaging> |
||||
<name>Spring Boot Tomcat Deployment Test</name> |
||||
<description>Spring Boot Tomcat Deployment Test</description> |
||||
<url>http://projects.spring.io/spring-boot/</url> |
||||
<organization> |
||||
<name>Pivotal Software, Inc.</name> |
||||
<url>http://www.spring.io</url> |
||||
</organization> |
||||
<properties> |
||||
<main.basedir>${basedir}/../..</main.basedir> |
||||
<cargo.container.id>tomcat8x</cargo.container.id> |
||||
<cargo.container.url> |
||||
http://central.maven.org/maven2/org/apache/tomcat/tomcat/${tomcat.version}/tomcat-${tomcat.version}.zip |
||||
</cargo.container.url> |
||||
</properties> |
||||
<dependencies> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-web</artifactId> |
||||
<exclusions> |
||||
<exclusion> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-tomcat</artifactId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>javax.servlet</groupId> |
||||
<artifactId>javax.servlet-api</artifactId> |
||||
<scope>provided</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-test</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
</dependencies> |
||||
<profiles> |
||||
<profile> |
||||
<activation> |
||||
<jdk>1.8</jdk> |
||||
</activation> |
||||
<build> |
||||
<plugins> |
||||
<plugin> |
||||
<groupId>org.codehaus.mojo</groupId> |
||||
<artifactId>build-helper-maven-plugin</artifactId> |
||||
<executions> |
||||
<execution> |
||||
<id>reserve-network-port</id> |
||||
<goals> |
||||
<goal>reserve-network-port</goal> |
||||
</goals> |
||||
<phase>process-resources</phase> |
||||
<configuration> |
||||
<portNames> |
||||
<portName>appserver.port</portName> |
||||
<portName>appserver.ajp.port</portName> |
||||
</portNames> |
||||
</configuration> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.codehaus.cargo</groupId> |
||||
<artifactId>cargo-maven2-plugin</artifactId> |
||||
<configuration> |
||||
<configuration> |
||||
<properties> |
||||
<cargo.servlet.port>${appserver.port}</cargo.servlet.port> |
||||
<cargo.tomcat.ajp.port>${appserver.ajp.port}</cargo.tomcat.ajp.port> |
||||
</properties> |
||||
</configuration> |
||||
</configuration> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-failsafe-plugin</artifactId> |
||||
<configuration> |
||||
<systemPropertyVariables> |
||||
<port>${appserver.port}</port> |
||||
</systemPropertyVariables> |
||||
</configuration> |
||||
</plugin> |
||||
</plugins> |
||||
</build> |
||||
</profile> |
||||
</profiles> |
||||
</project> |
||||
@ -1,103 +0,0 @@
@@ -1,103 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<parent> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-deployment-tests</artifactId> |
||||
<version>2.0.0.BUILD-SNAPSHOT</version> |
||||
</parent> |
||||
<artifactId>spring-boot-deployment-test-tomee</artifactId> |
||||
<packaging>war</packaging> |
||||
<name>Spring Boot TomEE Deployment Test</name> |
||||
<description>Spring Boot TomEE Deployment Test</description> |
||||
<url>http://projects.spring.io/spring-boot/</url> |
||||
<organization> |
||||
<name>Pivotal Software, Inc.</name> |
||||
<url>http://www.spring.io</url> |
||||
</organization> |
||||
<properties> |
||||
<main.basedir>${basedir}/../..</main.basedir> |
||||
<tomee.version>7.0.2</tomee.version> |
||||
<cargo.container.id>tomee1x</cargo.container.id> |
||||
<cargo.container.url> |
||||
https://archive.apache.org/dist/tomee/tomee-${tomee.version}/apache-tomee-${tomee.version}-webprofile.zip |
||||
</cargo.container.url> |
||||
</properties> |
||||
<dependencies> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-web</artifactId> |
||||
<exclusions> |
||||
<exclusion> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-tomcat</artifactId> |
||||
</exclusion> |
||||
<exclusion> |
||||
<groupId>org.hibernate.validator</groupId> |
||||
<artifactId>hibernate-validator</artifactId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>javax.servlet</groupId> |
||||
<artifactId>javax.servlet-api</artifactId> |
||||
<scope>provided</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-test</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
</dependencies> |
||||
<profiles> |
||||
<profile> |
||||
<activation> |
||||
<jdk>1.8</jdk> |
||||
</activation> |
||||
<build> |
||||
<plugins> |
||||
<plugin> |
||||
<groupId>org.codehaus.mojo</groupId> |
||||
<artifactId>build-helper-maven-plugin</artifactId> |
||||
<executions> |
||||
<execution> |
||||
<id>reserve-network-port</id> |
||||
<goals> |
||||
<goal>reserve-network-port</goal> |
||||
</goals> |
||||
<phase>process-resources</phase> |
||||
<configuration> |
||||
<portNames> |
||||
<portName>appserver.port</portName> |
||||
<portName>appserver.ajp.port</portName> |
||||
</portNames> |
||||
</configuration> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.codehaus.cargo</groupId> |
||||
<artifactId>cargo-maven2-plugin</artifactId> |
||||
<configuration> |
||||
<configuration> |
||||
<properties> |
||||
<cargo.servlet.port>${appserver.port}</cargo.servlet.port> |
||||
<cargo.tomcat.ajp.port>${appserver.ajp.port}</cargo.tomcat.ajp.port> |
||||
</properties> |
||||
</configuration> |
||||
</configuration> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-failsafe-plugin</artifactId> |
||||
<configuration> |
||||
<systemPropertyVariables> |
||||
<port>${appserver.port}</port> |
||||
</systemPropertyVariables> |
||||
</configuration> |
||||
</plugin> |
||||
</plugins> |
||||
</build> |
||||
</profile> |
||||
</profiles> |
||||
</project> |
||||
@ -1,103 +0,0 @@
@@ -1,103 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<parent> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-deployment-tests</artifactId> |
||||
<version>2.0.0.BUILD-SNAPSHOT</version> |
||||
</parent> |
||||
<artifactId>spring-boot-deployment-test-wildfly</artifactId> |
||||
<packaging>war</packaging> |
||||
<name>Spring Boot WildFly Deployment Test</name> |
||||
<description>Spring Boot WildFly Deployment Test</description> |
||||
<url>http://projects.spring.io/spring-boot/</url> |
||||
<organization> |
||||
<name>Pivotal Software, Inc.</name> |
||||
<url>http://www.spring.io</url> |
||||
</organization> |
||||
<properties> |
||||
<main.basedir>${basedir}/../..</main.basedir> |
||||
<wildfly.version>9.0.2.Final</wildfly.version> |
||||
<cargo.container.id>wildfly9x</cargo.container.id> |
||||
<cargo.container.url>http://download.jboss.org/wildfly/${wildfly.version}/wildfly-${wildfly.version}.zip |
||||
</cargo.container.url> |
||||
</properties> |
||||
<dependencies> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-web</artifactId> |
||||
<exclusions> |
||||
<exclusion> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-tomcat</artifactId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>javax.servlet</groupId> |
||||
<artifactId>javax.servlet-api</artifactId> |
||||
<scope>provided</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-test</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
</dependencies> |
||||
<profiles> |
||||
<profile> |
||||
<activation> |
||||
<jdk>1.8</jdk> |
||||
</activation> |
||||
<build> |
||||
<plugins> |
||||
<plugin> |
||||
<groupId>org.codehaus.mojo</groupId> |
||||
<artifactId>build-helper-maven-plugin</artifactId> |
||||
<executions> |
||||
<execution> |
||||
<id>reserve-network-port</id> |
||||
<goals> |
||||
<goal>reserve-network-port</goal> |
||||
</goals> |
||||
<phase>process-resources</phase> |
||||
<configuration> |
||||
<portNames> |
||||
<portName>appserver.port</portName> |
||||
<portName>appserver.ajp.port</portName> |
||||
<portName>appserver.transaction.port</portName> |
||||
</portNames> |
||||
</configuration> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.codehaus.cargo</groupId> |
||||
<artifactId>cargo-maven2-plugin</artifactId> |
||||
<configuration> |
||||
<configuration> |
||||
<properties> |
||||
<cargo.servlet.port>${appserver.port}</cargo.servlet.port> |
||||
<cargo.jboss.ajp.port>${appserver.ajp.port}</cargo.jboss.ajp.port> |
||||
<cargo.jboss.transaction.statusManager.port> |
||||
${appserver.transaction.port} |
||||
</cargo.jboss.transaction.statusManager.port> |
||||
<cargo.jboss.configuration>standalone-full</cargo.jboss.configuration> |
||||
</properties> |
||||
</configuration> |
||||
</configuration> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-failsafe-plugin</artifactId> |
||||
<configuration> |
||||
<systemPropertyVariables> |
||||
<port>${appserver.port}</port> |
||||
</systemPropertyVariables> |
||||
</configuration> |
||||
</plugin> |
||||
</plugins> |
||||
</build> |
||||
</profile> |
||||
</profiles> |
||||
</project> |
||||
@ -1,95 +0,0 @@
@@ -1,95 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<parent> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-deployment-tests</artifactId> |
||||
<version>2.0.0.BUILD-SNAPSHOT</version> |
||||
</parent> |
||||
<artifactId>spring-boot-deployment-test-wlp</artifactId> |
||||
<packaging>war</packaging> |
||||
<name>Spring Boot WebSphere Liberty Profile Deployment Test</name> |
||||
<description>Spring Boot WebSphere Liberty Profile Deployment Test</description> |
||||
<url>http://projects.spring.io/spring-boot/</url> |
||||
<organization> |
||||
<name>Pivotal Software, Inc.</name> |
||||
<url>http://www.spring.io</url> |
||||
</organization> |
||||
<properties> |
||||
<main.basedir>${basedir}/../..</main.basedir> |
||||
<wlp.version>16.0.0.4</wlp.version> |
||||
<cargo.container.id>liberty</cargo.container.id> |
||||
<cargo.container.url>http://central.maven.org/maven2/com/ibm/websphere/appserver/runtime/wlp-webProfile7/${wlp.version}/wlp-webProfile7-${wlp.version}.zip</cargo.container.url> |
||||
</properties> |
||||
<dependencies> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-web</artifactId> |
||||
<exclusions> |
||||
<exclusion> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-tomcat</artifactId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>javax.servlet</groupId> |
||||
<artifactId>javax.servlet-api</artifactId> |
||||
<scope>provided</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-test</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
</dependencies> |
||||
<profiles> |
||||
<profile> |
||||
<activation> |
||||
<jdk>1.8</jdk> |
||||
</activation> |
||||
<build> |
||||
<plugins> |
||||
<plugin> |
||||
<groupId>org.codehaus.mojo</groupId> |
||||
<artifactId>build-helper-maven-plugin</artifactId> |
||||
<executions> |
||||
<execution> |
||||
<id>reserve-network-port</id> |
||||
<goals> |
||||
<goal>reserve-network-port</goal> |
||||
</goals> |
||||
<phase>process-resources</phase> |
||||
<configuration> |
||||
<portNames> |
||||
<portName>appserver.port</portName> |
||||
</portNames> |
||||
</configuration> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.codehaus.cargo</groupId> |
||||
<artifactId>cargo-maven2-plugin</artifactId> |
||||
<configuration> |
||||
<configuration> |
||||
<properties> |
||||
<cargo.servlet.port>${appserver.port}</cargo.servlet.port> |
||||
</properties> |
||||
</configuration> |
||||
</configuration> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-failsafe-plugin</artifactId> |
||||
<configuration> |
||||
<systemPropertyVariables> |
||||
<port>${appserver.port}</port> |
||||
</systemPropertyVariables> |
||||
</configuration> |
||||
</plugin> |
||||
</plugins> |
||||
</build> |
||||
</profile> |
||||
</profiles> |
||||
</project> |
||||
@ -1,186 +0,0 @@
@@ -1,186 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<parent> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-parent</artifactId> |
||||
<version>2.0.0.BUILD-SNAPSHOT</version> |
||||
<relativePath>../spring-boot-parent</relativePath> |
||||
</parent> |
||||
<artifactId>spring-boot-devtools</artifactId> |
||||
<name>Spring Boot Developer Tools</name> |
||||
<description>Spring Boot Developer Tools</description> |
||||
<url>http://projects.spring.io/spring-boot/</url> |
||||
<organization> |
||||
<name>Pivotal Software, Inc.</name> |
||||
<url>http://www.spring.io</url> |
||||
</organization> |
||||
<properties> |
||||
<main.basedir>${basedir}/..</main.basedir> |
||||
</properties> |
||||
<dependencies> |
||||
<!-- Compile --> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-autoconfigure</artifactId> |
||||
</dependency> |
||||
<!-- Optional --> |
||||
<dependency> |
||||
<groupId>javax.servlet</groupId> |
||||
<artifactId>javax.servlet-api</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-jdbc</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-orm</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.hibernate</groupId> |
||||
<artifactId>hibernate-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-web</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.security</groupId> |
||||
<artifactId>spring-security-config</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.security</groupId> |
||||
<artifactId>spring-security-web</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-redis</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.session</groupId> |
||||
<artifactId>spring-session-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<!-- Annotation processing --> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-autoconfigure-processor</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-configuration-processor</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<!-- Test --> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-test-support</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-test</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>ch.qos.logback</groupId> |
||||
<artifactId>logback-classic</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.h2database</groupId> |
||||
<artifactId>h2</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.zaxxer</groupId> |
||||
<artifactId>HikariCP</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-webmvc</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-websocket</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.hateoas</groupId> |
||||
<artifactId>spring-hateoas</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.derby</groupId> |
||||
<artifactId>derby</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.derby</groupId> |
||||
<artifactId>derbyclient</artifactId> |
||||
<version>${derby.version}</version> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.tomcat.embed</groupId> |
||||
<artifactId>tomcat-embed-websocket</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.tomcat.embed</groupId> |
||||
<artifactId>tomcat-embed-core</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.tomcat.embed</groupId> |
||||
<artifactId>tomcat-embed-jasper</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.eclipse.jetty.websocket</groupId> |
||||
<artifactId>websocket-client</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.hsqldb</groupId> |
||||
<artifactId>hsqldb</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.postgresql</groupId> |
||||
<artifactId>postgresql</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.thymeleaf</groupId> |
||||
<artifactId>thymeleaf</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.thymeleaf</groupId> |
||||
<artifactId>thymeleaf-spring5</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>nz.net.ultraq.thymeleaf</groupId> |
||||
<artifactId>thymeleaf-layout-dialect</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
</dependencies> |
||||
</project> |
||||
@ -1,70 +0,0 @@
@@ -1,70 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-full-build</artifactId> |
||||
<version>2.0.0.BUILD-SNAPSHOT</version> |
||||
<packaging>pom</packaging> |
||||
<name>Spring Boot Full Build</name> |
||||
<description>Spring Boot Full Build</description> |
||||
<url>http://projects.spring.io/spring-boot/</url> |
||||
<organization> |
||||
<name>Pivotal Software, Inc.</name> |
||||
<url>http://www.spring.io</url> |
||||
</organization> |
||||
<licenses> |
||||
<license> |
||||
<name>Apache License, Version 2.0</name> |
||||
<url>http://www.apache.org/licenses/LICENSE-2.0</url> |
||||
</license> |
||||
</licenses> |
||||
<scm> |
||||
<url>https://github.com/spring-projects/spring-boot</url> |
||||
</scm> |
||||
<developers> |
||||
<developer> |
||||
<id>pwebb</id> |
||||
<name>Phillip Webb</name> |
||||
<email>pwebb at pivotal.io</email> |
||||
<organization>Pivotal Software, Inc.</organization> |
||||
<organizationUrl>http://www.spring.io</organizationUrl> |
||||
<roles> |
||||
<role>Project lead</role> |
||||
</roles> |
||||
</developer> |
||||
<developer> |
||||
<id>dsyer</id> |
||||
<name>Dave Syer</name> |
||||
<email>dsyer at pivotal.io</email> |
||||
<organization>Pivotal Software, Inc.</organization> |
||||
<organizationUrl>http://www.spring.io</organizationUrl> |
||||
<roles> |
||||
<role>Project lead</role> |
||||
</roles> |
||||
</developer> |
||||
</developers> |
||||
<modules> |
||||
<module>../</module> |
||||
<module>../spring-boot-dependencies</module> |
||||
<module>../spring-boot-parent</module> |
||||
<module>../spring-boot-tools</module> |
||||
<module>../spring-boot</module> |
||||
<module>../spring-boot-test</module> |
||||
<module>../spring-boot-autoconfigure</module> |
||||
<module>../spring-boot-test-autoconfigure</module> |
||||
<module>../spring-boot-actuator</module> |
||||
<module>../spring-boot-actuator-autoconfigure</module> |
||||
<module>../spring-boot-devtools</module> |
||||
<module>../spring-boot-starters</module> |
||||
<module>../spring-boot-cli</module> |
||||
<module>../spring-boot-samples</module> |
||||
<module>../spring-boot-deployment-tests</module> |
||||
<module>../spring-boot-integration-tests</module> |
||||
<module>../spring-boot-docs</module> |
||||
</modules> |
||||
<profiles> |
||||
<profile> |
||||
<id>full</id> |
||||
</profile> |
||||
</profiles> |
||||
</project> |
||||
@ -1,110 +0,0 @@
@@ -1,110 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<parent> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-parent</artifactId> |
||||
<version>2.0.0.BUILD-SNAPSHOT</version> |
||||
<relativePath>../spring-boot-parent</relativePath> |
||||
</parent> |
||||
<artifactId>spring-boot-integration-tests</artifactId> |
||||
<packaging>pom</packaging> |
||||
<name>Spring Boot Integration Tests</name> |
||||
<description>Spring Boot Integration Tests</description> |
||||
<url>http://projects.spring.io/spring-boot/</url> |
||||
<organization> |
||||
<name>Pivotal Software, Inc.</name> |
||||
<url>http://www.spring.io</url> |
||||
</organization> |
||||
<properties> |
||||
<main.basedir>${basedir}/..</main.basedir> |
||||
<java.version>1.8</java.version> |
||||
</properties> |
||||
<modules> |
||||
<module>spring-boot-devtools-tests</module> |
||||
<module>spring-boot-integration-tests-embedded-servlet-container</module> |
||||
<module>spring-boot-launch-script-tests</module> |
||||
<module>spring-boot-security-tests</module> |
||||
</modules> |
||||
<profiles> |
||||
<profile> |
||||
<id>default</id> |
||||
<activation> |
||||
<activeByDefault>true</activeByDefault> |
||||
</activation> |
||||
<build> |
||||
<plugins> |
||||
<plugin> |
||||
<!-- Invoke integration tests in the install phase, after the maven-plugin |
||||
is available --> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-invoker-plugin</artifactId> |
||||
<inherited>false</inherited> |
||||
<configuration> |
||||
<settingsFile>src/it/settings.xml</settingsFile> |
||||
<projectsDirectory>${main.basedir}/spring-boot-samples/</projectsDirectory> |
||||
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath> |
||||
<skipInvocation>${skipTests}</skipInvocation> |
||||
<streamLogs>true</streamLogs> |
||||
<profiles> |
||||
<profile>integration-test</profile> |
||||
</profiles> |
||||
<localRepositoryPath> </localRepositoryPath> |
||||
<pomIncludes> |
||||
<pomInclude>*/pom.xml</pomInclude> |
||||
</pomIncludes> |
||||
</configuration> |
||||
<executions> |
||||
<execution> |
||||
<id>integration-test</id> |
||||
<phase>install</phase> |
||||
<goals> |
||||
<goal>install</goal> |
||||
<goal>run</goal> |
||||
</goals> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-antrun-plugin</artifactId> |
||||
<inherited>false</inherited> |
||||
<executions> |
||||
<execution> |
||||
<id>clean-samples</id> |
||||
<phase>clean</phase> |
||||
<goals> |
||||
<goal>run</goal> |
||||
</goals> |
||||
<configuration> |
||||
<target> |
||||
<delete includeemptydirs="true"> |
||||
<fileset dir="${main.basedir}/spring-boot-samples" includes="**/target/" /> |
||||
</delete> |
||||
</target> |
||||
</configuration> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-clean-plugin</artifactId> |
||||
<inherited>false</inherited> |
||||
<executions> |
||||
<execution> |
||||
<id>clean-samples</id> |
||||
<phase>clean</phase> |
||||
<goals> |
||||
<goal>clean</goal> |
||||
</goals> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
</plugins> |
||||
</build> |
||||
</profile> |
||||
<profile> |
||||
<id>full</id> |
||||
</profile> |
||||
</profiles> |
||||
</project> |
||||
@ -1,90 +0,0 @@
@@ -1,90 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<parent> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-integration-tests</artifactId> |
||||
<version>2.0.0.BUILD-SNAPSHOT</version> |
||||
</parent> |
||||
<artifactId>spring-boot-devtools-tests</artifactId> |
||||
<name>Spring Boot DevTools Tests</name> |
||||
<description>${project.name}</description> |
||||
<url>http://projects.spring.io/spring-boot/</url> |
||||
<organization> |
||||
<name>Pivotal Software, Inc.</name> |
||||
<url>http://www.spring.io</url> |
||||
</organization> |
||||
<properties> |
||||
<main.basedir>${basedir}/../..</main.basedir> |
||||
</properties> |
||||
<dependencies> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-devtools</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-web</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-test</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>net.bytebuddy</groupId> |
||||
<artifactId>byte-buddy</artifactId> |
||||
</dependency> |
||||
</dependencies> |
||||
<build> |
||||
<plugins> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-dependency-plugin</artifactId> |
||||
<executions> |
||||
<execution> |
||||
<id>copy-dependencies</id> |
||||
<phase>process-test-resources</phase> |
||||
<goals> |
||||
<goal>copy-dependencies</goal> |
||||
</goals> |
||||
<configuration> |
||||
<includeScope>runtime</includeScope> |
||||
<outputDirectory>${project.build.directory}/dependencies</outputDirectory> |
||||
<overWriteSnapshots>true</overWriteSnapshots> |
||||
<overWriteIfNewer>true</overWriteIfNewer> |
||||
</configuration> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
</plugins> |
||||
<pluginManagement> |
||||
<plugins> |
||||
<plugin> |
||||
<groupId>org.eclipse.m2e</groupId> |
||||
<artifactId>lifecycle-mapping</artifactId> |
||||
<version>1.0.0</version> |
||||
<configuration> |
||||
<lifecycleMappingMetadata> |
||||
<pluginExecutions> |
||||
<pluginExecution> |
||||
<pluginExecutionFilter> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-dependency-plugin</artifactId> |
||||
<versionRange>[2.10,)</versionRange> |
||||
<goals> |
||||
<goal>copy-dependencies</goal> |
||||
</goals> |
||||
</pluginExecutionFilter> |
||||
<action> |
||||
<ignore></ignore> |
||||
</action> |
||||
</pluginExecution> |
||||
</pluginExecutions> |
||||
</lifecycleMappingMetadata> |
||||
</configuration> |
||||
</plugin> |
||||
</plugins> |
||||
</pluginManagement> |
||||
</build> |
||||
</project> |
||||
@ -1,66 +0,0 @@
@@ -1,66 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<parent> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-integration-tests</artifactId> |
||||
<version>2.0.0.BUILD-SNAPSHOT</version> |
||||
</parent> |
||||
<artifactId>spring-boot-integration-tests-embedded-servlet-container</artifactId> |
||||
<packaging>jar</packaging> |
||||
<name>Spring Boot Embedded Servlet Container Integration Tests</name> |
||||
<url>http://projects.spring.io/spring-boot/</url> |
||||
<organization> |
||||
<name>Pivotal Software, Inc.</name> |
||||
<url>http://www.spring.io</url> |
||||
</organization> |
||||
<properties> |
||||
<main.basedir>${basedir}/../..</main.basedir> |
||||
</properties> |
||||
<dependencies> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-logging</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-test</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.samskivert</groupId> |
||||
<artifactId>jmustache</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>javax.servlet</groupId> |
||||
<artifactId>javax.servlet-api</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.maven.shared</groupId> |
||||
<artifactId>maven-invoker</artifactId> |
||||
<version>3.0.0</version> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-web</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
</dependencies> |
||||
<build> |
||||
<plugins> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-surefire-plugin</artifactId> |
||||
<configuration> |
||||
<systemPropertyVariables> |
||||
<maven.home>${maven.home}</maven.home> |
||||
</systemPropertyVariables> |
||||
</configuration> |
||||
</plugin> |
||||
</plugins> |
||||
</build> |
||||
</project> |
||||
@ -1,135 +0,0 @@
@@ -1,135 +0,0 @@
|
||||
/* |
||||
* Copyright 2012-2017 the original author or authors. |
||||
* |
||||
* Licensed under the Apache License, Version 2.0 (the "License"); |
||||
* you may not use this file except in compliance with the License. |
||||
* You may obtain a copy of the License at |
||||
* |
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* |
||||
* Unless required by applicable law or agreed to in writing, software |
||||
* distributed under the License is distributed on an "AS IS" BASIS, |
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
* See the License for the specific language governing permissions and |
||||
* limitations under the License. |
||||
*/ |
||||
|
||||
package org.springframework.boot.context.embedded; |
||||
|
||||
import java.io.File; |
||||
import java.io.FileNotFoundException; |
||||
import java.io.FileOutputStream; |
||||
import java.io.FileReader; |
||||
import java.io.FileWriter; |
||||
import java.io.IOException; |
||||
import java.util.Collections; |
||||
import java.util.HashMap; |
||||
import java.util.Map; |
||||
import java.util.jar.JarOutputStream; |
||||
import java.util.zip.ZipEntry; |
||||
|
||||
import com.samskivert.mustache.Mustache; |
||||
import org.apache.maven.shared.invoker.DefaultInvocationRequest; |
||||
import org.apache.maven.shared.invoker.DefaultInvoker; |
||||
import org.apache.maven.shared.invoker.InvocationRequest; |
||||
import org.apache.maven.shared.invoker.InvocationResult; |
||||
import org.apache.maven.shared.invoker.MavenInvocationException; |
||||
import org.junit.rules.TemporaryFolder; |
||||
|
||||
import org.springframework.util.FileCopyUtils; |
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat; |
||||
|
||||
/** |
||||
* Builds a Spring Boot application using Maven. To use this class, the {@code maven.home} |
||||
* system property must be set. |
||||
* |
||||
* @author Andy Wilkinson |
||||
*/ |
||||
class ApplicationBuilder { |
||||
|
||||
private final TemporaryFolder temp; |
||||
|
||||
private final String packaging; |
||||
|
||||
private final String container; |
||||
|
||||
ApplicationBuilder(TemporaryFolder temp, String packaging, String container) { |
||||
this.temp = temp; |
||||
this.packaging = packaging; |
||||
this.container = container; |
||||
} |
||||
|
||||
File buildApplication() throws Exception { |
||||
File containerFolder = new File(this.temp.getRoot(), this.container); |
||||
if (containerFolder.exists()) { |
||||
return new File(containerFolder, "app/target/app-0.0.1." + this.packaging); |
||||
} |
||||
return doBuildApplication(containerFolder); |
||||
} |
||||
|
||||
private File doBuildApplication(File containerFolder) |
||||
throws IOException, FileNotFoundException, MavenInvocationException { |
||||
File resourcesJar = createResourcesJar(); |
||||
File appFolder = new File(containerFolder, "app"); |
||||
appFolder.mkdirs(); |
||||
writePom(appFolder, resourcesJar); |
||||
copyApplicationSource(appFolder); |
||||
packageApplication(appFolder); |
||||
return new File(appFolder, "target/app-0.0.1." + this.packaging); |
||||
} |
||||
|
||||
private File createResourcesJar() throws IOException, FileNotFoundException { |
||||
File resourcesJar = new File(this.temp.getRoot(), "resources.jar"); |
||||
if (resourcesJar.exists()) { |
||||
return resourcesJar; |
||||
} |
||||
JarOutputStream resourcesJarStream = new JarOutputStream( |
||||
new FileOutputStream(resourcesJar)); |
||||
resourcesJarStream.putNextEntry(new ZipEntry("META-INF/resources/")); |
||||
resourcesJarStream.closeEntry(); |
||||
resourcesJarStream.putNextEntry( |
||||
new ZipEntry("META-INF/resources/nested-meta-inf-resource.txt")); |
||||
resourcesJarStream.write("nested".getBytes()); |
||||
resourcesJarStream.closeEntry(); |
||||
resourcesJarStream.close(); |
||||
return resourcesJar; |
||||
} |
||||
|
||||
private void writePom(File appFolder, File resourcesJar) |
||||
throws FileNotFoundException, IOException { |
||||
Map<String, Object> context = new HashMap<>(); |
||||
context.put("packaging", this.packaging); |
||||
context.put("container", this.container); |
||||
context.put("bootVersion", Versions.getBootVersion()); |
||||
context.put("resourcesJarPath", resourcesJar.getAbsolutePath()); |
||||
FileWriter out = new FileWriter(new File(appFolder, "pom.xml")); |
||||
Mustache.compiler().escapeHTML(false) |
||||
.compile(new FileReader("src/test/resources/pom-template.xml")) |
||||
.execute(context, out); |
||||
out.close(); |
||||
} |
||||
|
||||
private void copyApplicationSource(File appFolder) throws IOException { |
||||
File examplePackage = new File(appFolder, "src/main/java/com/example"); |
||||
examplePackage.mkdirs(); |
||||
FileCopyUtils.copy( |
||||
new File("src/test/java/com/example/ResourceHandlingApplication.java"), |
||||
new File(examplePackage, "ResourceHandlingApplication.java")); |
||||
if ("war".equals(this.packaging)) { |
||||
File srcMainWebapp = new File(appFolder, "src/main/webapp"); |
||||
srcMainWebapp.mkdirs(); |
||||
FileCopyUtils.copy("webapp resource", |
||||
new FileWriter(new File(srcMainWebapp, "webapp-resource.txt"))); |
||||
} |
||||
} |
||||
|
||||
private void packageApplication(File appFolder) throws MavenInvocationException { |
||||
InvocationRequest invocation = new DefaultInvocationRequest(); |
||||
invocation.setBaseDirectory(appFolder); |
||||
invocation.setGoals(Collections.singletonList("package")); |
||||
InvocationResult execute = new DefaultInvoker().execute(invocation); |
||||
assertThat(execute.getExitCode()).isEqualTo(0); |
||||
} |
||||
|
||||
} |
||||
@ -1,56 +0,0 @@
@@ -1,56 +0,0 @@
|
||||
/* |
||||
* Copyright 2012-2017 the original author or authors. |
||||
* |
||||
* Licensed under the Apache License, Version 2.0 (the "License"); |
||||
* you may not use this file except in compliance with the License. |
||||
* You may obtain a copy of the License at |
||||
* |
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* |
||||
* Unless required by applicable law or agreed to in writing, software |
||||
* distributed under the License is distributed on an "AS IS" BASIS, |
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||||
* See the License for the specific language governing permissions and |
||||
* limitations under the License. |
||||
*/ |
||||
|
||||
package org.springframework.boot.context.embedded; |
||||
|
||||
import java.io.FileReader; |
||||
|
||||
import javax.xml.xpath.XPath; |
||||
import javax.xml.xpath.XPathExpression; |
||||
import javax.xml.xpath.XPathFactory; |
||||
|
||||
import org.xml.sax.InputSource; |
||||
|
||||
/** |
||||
* Provides access to dependency versions by querying the project's pom. |
||||
* |
||||
* @author Andy Wilkinson |
||||
*/ |
||||
final class Versions { |
||||
|
||||
private Versions() { |
||||
} |
||||
|
||||
public static String getBootVersion() { |
||||
return evaluateExpression( |
||||
"/*[local-name()='project']/*[local-name()='parent']/*[local-name()='version']" |
||||
+ "/text()"); |
||||
} |
||||
|
||||
private static String evaluateExpression(String expression) { |
||||
try { |
||||
XPathFactory xPathFactory = XPathFactory.newInstance(); |
||||
XPath xpath = xPathFactory.newXPath(); |
||||
XPathExpression expr = xpath.compile(expression); |
||||
String version = expr.evaluate(new InputSource(new FileReader("pom.xml"))); |
||||
return version; |
||||
} |
||||
catch (Exception ex) { |
||||
throw new IllegalStateException("Failed to evaluate expression", ex); |
||||
} |
||||
} |
||||
|
||||
} |
||||
@ -1,64 +0,0 @@
@@ -1,64 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<parent> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-parent</artifactId> |
||||
<version>{{bootVersion}}</version> |
||||
<relativePath /> |
||||
</parent> |
||||
<groupId>com.example</groupId> |
||||
<artifactId>app</artifactId> |
||||
<version>0.0.1</version> |
||||
<packaging>{{packaging}}</packaging> |
||||
<properties> |
||||
<resourcesJarPath>{{resourcesJarPath}}</resourcesJarPath> |
||||
</properties> |
||||
<dependencies> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-{{container}}</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-web</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>javax.servlet</groupId> |
||||
<artifactId>javax.servlet-api</artifactId> |
||||
<scope>provided</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.example</groupId> |
||||
<artifactId>resources</artifactId> |
||||
<version>1.0</version> |
||||
<scope>system</scope> |
||||
<systemPath>${resourcesJarPath}</systemPath> |
||||
</dependency> |
||||
</dependencies> |
||||
<build> |
||||
<plugins> |
||||
<plugin> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-maven-plugin</artifactId> |
||||
<configuration> |
||||
<includeSystemScope>true</includeSystemScope> |
||||
</configuration> |
||||
</plugin> |
||||
</plugins> |
||||
</build> |
||||
<repositories> |
||||
<repository> |
||||
<id>spring-snapshots</id> |
||||
<url>https://repo.spring.io/libs-snapshot</url> |
||||
<snapshots> |
||||
<enabled>true</enabled> |
||||
</snapshots> |
||||
</repository> |
||||
</repositories> |
||||
</project> |
||||
@ -1,84 +0,0 @@
@@ -1,84 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<parent> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-integration-tests</artifactId> |
||||
<version>2.0.0.BUILD-SNAPSHOT</version> |
||||
</parent> |
||||
<artifactId>spring-boot-launch-script-tests</artifactId> |
||||
<packaging>jar</packaging> |
||||
<name>Spring Boot Launch Script Integration Tests</name> |
||||
<description>Spring Boot Launch Script Integration Tests</description> |
||||
<url>http://projects.spring.io/spring-boot/</url> |
||||
<organization> |
||||
<name>Pivotal Software, Inc.</name> |
||||
<url>http://www.spring.io</url> |
||||
</organization> |
||||
<properties> |
||||
<main.basedir>${basedir}/../..</main.basedir> |
||||
<jersey.version>2.11</jersey.version> |
||||
</properties> |
||||
<dependencies> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-web</artifactId> |
||||
<exclusions> |
||||
<exclusion> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-tomcat</artifactId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-undertow</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.github.docker-java</groupId> |
||||
<artifactId>docker-java</artifactId> |
||||
<version>2.2.3</version> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-test</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
</dependencies> |
||||
<profiles> |
||||
<profile> |
||||
<id>docker</id> |
||||
<build> |
||||
<plugins> |
||||
<plugin> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-maven-plugin</artifactId> |
||||
<configuration> |
||||
<executable>true</executable> |
||||
</configuration> |
||||
<executions> |
||||
<execution> |
||||
<goals> |
||||
<goal>repackage</goal> |
||||
</goals> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-failsafe-plugin</artifactId> |
||||
<executions> |
||||
<execution> |
||||
<goals> |
||||
<goal>integration-test</goal> |
||||
<goal>verify</goal> |
||||
</goals> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
</plugins> |
||||
</build> |
||||
</profile> |
||||
</profiles> |
||||
</project> |
||||
@ -1,24 +0,0 @@
@@ -1,24 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<parent> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-integration-tests</artifactId> |
||||
<version>2.0.0.BUILD-SNAPSHOT</version> |
||||
</parent> |
||||
<artifactId>spring-boot-security-tests</artifactId> |
||||
<packaging>pom</packaging> |
||||
<name>Spring Boot Security Tests</name> |
||||
<description>${project.name}</description> |
||||
<url>http://projects.spring.io/spring-boot/</url> |
||||
<organization> |
||||
<name>Pivotal Software, Inc.</name> |
||||
<url>http://www.spring.io</url> |
||||
</organization> |
||||
<properties> |
||||
<main.basedir>${basedir}/../..</main.basedir> |
||||
</properties> |
||||
<modules> |
||||
<module>spring-boot-security-test-web-helloworld</module> |
||||
</modules> |
||||
</project> |
||||
@ -1,40 +0,0 @@
@@ -1,40 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<parent> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-security-tests</artifactId> |
||||
<version>2.0.0.BUILD-SNAPSHOT</version> |
||||
<relativePath>../</relativePath> |
||||
</parent> |
||||
<artifactId>spring-boot-security-test-web-helloworld</artifactId> |
||||
<name>Spring Boot Security Tests - Web Hello World</name> |
||||
<description>${project.name}</description> |
||||
<url>http://projects.spring.io/spring-boot/</url> |
||||
<organization> |
||||
<name>Pivotal Software, Inc.</name> |
||||
<url>http://www.spring.io</url> |
||||
</organization> |
||||
<properties> |
||||
<main.basedir>${basedir}/../../..</main.basedir> |
||||
</properties> |
||||
<dependencies> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-web</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-security</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-starter-test</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
</dependencies> |
||||
</project> |
||||
@ -1,947 +0,0 @@
@@ -1,947 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<parent> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-dependencies</artifactId> |
||||
<version>2.0.0.BUILD-SNAPSHOT</version> |
||||
<relativePath>../spring-boot-dependencies</relativePath> |
||||
</parent> |
||||
<artifactId>spring-boot-parent</artifactId> |
||||
<packaging>pom</packaging> |
||||
<name>Spring Boot Parent</name> |
||||
<description>Spring Boot Parent</description> |
||||
<url>http://projects.spring.io/spring-boot/</url> |
||||
<organization> |
||||
<name>Pivotal Software, Inc.</name> |
||||
<url>http://www.spring.io</url> |
||||
</organization> |
||||
<properties> |
||||
<main.basedir>${basedir}/..</main.basedir> |
||||
<disable.checks>false</disable.checks> |
||||
<java.version>1.8</java.version> |
||||
<aether.version>1.0.2.v20150114</aether.version> |
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
||||
<maven.version>3.1.1</maven.version> |
||||
<spock.version>1.0-groovy-2.4</spock.version> |
||||
</properties> |
||||
<scm> |
||||
<url>http://github.com/spring-projects/spring-boot</url> |
||||
<connection>scm:git:git://github.com/spring-projects/spring-boot.git</connection> |
||||
<developerConnection>scm:git:ssh://git@github.com/spring-projects/spring-boot.git</developerConnection> |
||||
</scm> |
||||
<issueManagement> |
||||
<system>Github</system> |
||||
<url>https://github.com/spring-projects/spring-boot/issues</url> |
||||
</issueManagement> |
||||
<ciManagement> |
||||
<system>Bamboo</system> |
||||
<url>https://build.spring.io/browse/BOOT-PUB</url> |
||||
</ciManagement> |
||||
<dependencyManagement> |
||||
<dependencies> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-test-support</artifactId> |
||||
<version>2.0.0.BUILD-SNAPSHOT</version> |
||||
</dependency> |
||||
|
||||
<!-- Additional Dependencies the consumers of spring-boot-dependencies |
||||
will generally not need --> |
||||
<dependency> <!-- deprecated but recent version required by 3rd party libs --> |
||||
<groupId>log4j</groupId> |
||||
<artifactId>log4j</artifactId> |
||||
<version>1.2.17</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.squareup.okhttp</groupId> |
||||
<artifactId>okhttp</artifactId> |
||||
<version>2.7.5</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.squareup.okhttp3</groupId> |
||||
<artifactId>okhttp</artifactId> |
||||
<version>3.4.1</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.vaadin.external.google</groupId> |
||||
<artifactId>android-json</artifactId> |
||||
<version>0.0.20131108.vaadin1</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.spring.gradle</groupId> |
||||
<artifactId>dependency-management-plugin</artifactId> |
||||
<version>1.0.3.RELEASE</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>jline</groupId> |
||||
<artifactId>jline</artifactId> |
||||
<version>2.11</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>net.sf.jopt-simple</groupId> |
||||
<artifactId>jopt-simple</artifactId> |
||||
<version>4.6</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.commons</groupId> |
||||
<artifactId>commons-compress</artifactId> |
||||
<version>1.14</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.ivy</groupId> |
||||
<artifactId>ivy</artifactId> |
||||
<version>2.3.0</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.maven</groupId> |
||||
<artifactId>maven-aether-provider</artifactId> |
||||
<version>3.2.1</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.maven</groupId> |
||||
<artifactId>maven-archiver</artifactId> |
||||
<version>2.6</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.maven</groupId> |
||||
<artifactId>maven-artifact</artifactId> |
||||
<version>${maven.version}</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.maven</groupId> |
||||
<artifactId>maven-core</artifactId> |
||||
<version>${maven.version}</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.maven</groupId> |
||||
<artifactId>maven-model</artifactId> |
||||
<version>${maven.version}</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.maven</groupId> |
||||
<artifactId>maven-plugin-api</artifactId> |
||||
<version>${maven.version}</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.maven</groupId> |
||||
<artifactId>maven-settings</artifactId> |
||||
<version>${maven.version}</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.maven</groupId> |
||||
<artifactId>maven-settings-builder</artifactId> |
||||
<version>${maven.version}</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.maven.shared</groupId> |
||||
<artifactId>maven-common-artifact-filters</artifactId> |
||||
<version>1.4</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-shade-plugin</artifactId> |
||||
<version>2.2</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.maven.plugin-tools</groupId> |
||||
<artifactId>maven-plugin-annotations</artifactId> |
||||
<version>3.2</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.codehaus.plexus</groupId> |
||||
<artifactId>plexus-archiver</artifactId> |
||||
<version>2.8.1</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.codehaus.plexus</groupId> |
||||
<artifactId>plexus-component-api</artifactId> |
||||
<version>1.0-alpha-33</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.codehaus.plexus</groupId> |
||||
<artifactId>plexus-utils</artifactId> |
||||
<version>3.0.20</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.eclipse.aether</groupId> |
||||
<artifactId>aether-api</artifactId> |
||||
<version>${aether.version}</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.eclipse.aether</groupId> |
||||
<artifactId>aether-connector-basic</artifactId> |
||||
<version>${aether.version}</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.eclipse.aether</groupId> |
||||
<artifactId>aether-impl</artifactId> |
||||
<version>${aether.version}</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.eclipse.aether</groupId> |
||||
<artifactId>aether-spi</artifactId> |
||||
<version>${aether.version}</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.eclipse.aether</groupId> |
||||
<artifactId>aether-transport-file</artifactId> |
||||
<version>${aether.version}</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.eclipse.aether</groupId> |
||||
<artifactId>aether-transport-http</artifactId> |
||||
<version>${aether.version}</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.eclipse.aether</groupId> |
||||
<artifactId>aether-util</artifactId> |
||||
<version>${aether.version}</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.jetbrains.kotlin</groupId> |
||||
<artifactId>kotlin-runtime</artifactId> |
||||
<version>1.1.4-3</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.sonatype.plexus</groupId> |
||||
<artifactId>plexus-build-api</artifactId> |
||||
<version>0.0.7</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.spockframework</groupId> |
||||
<artifactId>spock-core</artifactId> |
||||
<version>${spock.version}</version> |
||||
<exclusions> |
||||
<exclusion> |
||||
<groupId>org.codehaus.groovy</groupId> |
||||
<artifactId>groovy-all</artifactId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.spockframework</groupId> |
||||
<artifactId>spock-spring</artifactId> |
||||
<version>${spock.version}</version> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.zeroturnaround</groupId> |
||||
<artifactId>zt-zip</artifactId> |
||||
<version>1.7</version> |
||||
</dependency> |
||||
</dependencies> |
||||
</dependencyManagement> |
||||
<dependencies> |
||||
<!-- Generally Useful Test Dependencies --> |
||||
<dependency> |
||||
<groupId>junit</groupId> |
||||
<artifactId>junit</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.assertj</groupId> |
||||
<artifactId>assertj-core</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.mockito</groupId> |
||||
<artifactId>mockito-core</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.hamcrest</groupId> |
||||
<artifactId>hamcrest-library</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-test</artifactId> |
||||
<scope>test</scope> |
||||
<exclusions> |
||||
<exclusion> |
||||
<groupId>commons-logging</groupId> |
||||
<artifactId>commons-logging</artifactId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
</dependencies> |
||||
<build> |
||||
<pluginManagement> |
||||
<plugins> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-checkstyle-plugin</artifactId> |
||||
<version>2.17</version> |
||||
<dependencies> |
||||
<dependency> |
||||
<groupId>com.puppycrawl.tools</groupId> |
||||
<artifactId>checkstyle</artifactId> |
||||
<version>7.6</version> |
||||
</dependency> |
||||
</dependencies> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-failsafe-plugin</artifactId> |
||||
<version>2.18</version> |
||||
<executions> |
||||
<execution> |
||||
<goals> |
||||
<goal>integration-test</goal> |
||||
<goal>verify</goal> |
||||
</goals> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-plugin-plugin</artifactId> |
||||
<version>3.3</version> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-antrun-plugin</artifactId> |
||||
<version>1.7</version> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-site-plugin</artifactId> |
||||
<version>3.4</version> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.codehaus.cargo</groupId> |
||||
<artifactId>cargo-maven2-plugin</artifactId> |
||||
<version>1.6.2</version> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.codehaus.gmavenplus</groupId> |
||||
<artifactId>gmavenplus-plugin</artifactId> |
||||
<version>1.2</version> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.codehaus.mojo</groupId> |
||||
<artifactId>sonar-maven-plugin</artifactId> |
||||
<version>2.4</version> |
||||
</plugin> |
||||
<!--This plugin's configuration is used to store Eclipse m2e settings |
||||
only. It has no influence on the Maven build itself. --> |
||||
<plugin> |
||||
<groupId>org.eclipse.m2e</groupId> |
||||
<artifactId>lifecycle-mapping</artifactId> |
||||
<version>1.0.0</version> |
||||
<configuration> |
||||
<lifecycleMappingMetadata> |
||||
<pluginExecutions> |
||||
<pluginExecution> |
||||
<pluginExecutionFilter> |
||||
<groupId> |
||||
org.apache.maven.plugins |
||||
</groupId> |
||||
<artifactId> |
||||
maven-enforcer-plugin |
||||
</artifactId> |
||||
<versionRange> |
||||
[1.3.1,) |
||||
</versionRange> |
||||
<goals> |
||||
<goal>enforce</goal> |
||||
</goals> |
||||
</pluginExecutionFilter> |
||||
<action> |
||||
<ignore /> |
||||
</action> |
||||
</pluginExecution> |
||||
<pluginExecution> |
||||
<pluginExecutionFilter> |
||||
<groupId> |
||||
org.apache.maven.plugins |
||||
</groupId> |
||||
<artifactId> |
||||
maven-dependency-plugin |
||||
</artifactId> |
||||
<versionRange> |
||||
[2.8,) |
||||
</versionRange> |
||||
<goals> |
||||
<goal>copy</goal> |
||||
</goals> |
||||
</pluginExecutionFilter> |
||||
<action> |
||||
<ignore /> |
||||
</action> |
||||
</pluginExecution> |
||||
<pluginExecution> |
||||
<pluginExecutionFilter> |
||||
<groupId> |
||||
org.apache.maven.plugins |
||||
</groupId> |
||||
<artifactId> |
||||
maven-plugin-plugin |
||||
</artifactId> |
||||
<versionRange> |
||||
[3.2,) |
||||
</versionRange> |
||||
<goals> |
||||
<goal>descriptor</goal> |
||||
<goal>helpmojo</goal> |
||||
</goals> |
||||
</pluginExecutionFilter> |
||||
<action> |
||||
<ignore /> |
||||
</action> |
||||
</pluginExecution> |
||||
<pluginExecution> |
||||
<pluginExecutionFilter> |
||||
<groupId> |
||||
org.codehaus.mojo |
||||
</groupId> |
||||
<artifactId> |
||||
build-helper-maven-plugin |
||||
</artifactId> |
||||
<versionRange> |
||||
[1.9.1,) |
||||
</versionRange> |
||||
<goals> |
||||
<goal> |
||||
reserve-network-port |
||||
</goal> |
||||
</goals> |
||||
</pluginExecutionFilter> |
||||
<action> |
||||
<ignore /> |
||||
</action> |
||||
</pluginExecution> |
||||
<pluginExecution> |
||||
<pluginExecutionFilter> |
||||
<groupId> |
||||
org.apache.maven.plugins |
||||
</groupId> |
||||
<artifactId> |
||||
maven-checkstyle-plugin |
||||
</artifactId> |
||||
<versionRange> |
||||
[2.16,) |
||||
</versionRange> |
||||
<goals> |
||||
<goal> |
||||
check |
||||
</goal> |
||||
</goals> |
||||
</pluginExecutionFilter> |
||||
<action> |
||||
<ignore /> |
||||
</action> |
||||
</pluginExecution> |
||||
<pluginExecution> |
||||
<pluginExecutionFilter> |
||||
<groupId> |
||||
org.apache.maven.plugins |
||||
</groupId> |
||||
<artifactId> |
||||
maven-invoker-plugin |
||||
</artifactId> |
||||
<versionRange> |
||||
[1.0.0,) |
||||
</versionRange> |
||||
<goals> |
||||
<goal> |
||||
install |
||||
</goal> |
||||
</goals> |
||||
</pluginExecutionFilter> |
||||
<action> |
||||
<ignore /> |
||||
</action> |
||||
</pluginExecution> |
||||
</pluginExecutions> |
||||
</lifecycleMappingMetadata> |
||||
</configuration> |
||||
</plugin> |
||||
</plugins> |
||||
</pluginManagement> |
||||
<plugins> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-checkstyle-plugin</artifactId> |
||||
<executions> |
||||
<execution> |
||||
<id>checkstyle-validation</id> |
||||
<phase>validate</phase> |
||||
<configuration> |
||||
<skip>${disable.checks}</skip> |
||||
<configLocation>src/checkstyle/checkstyle.xml</configLocation> |
||||
<suppressionsLocation>src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation> |
||||
<headerLocation>src/checkstyle/checkstyle-header.txt</headerLocation> |
||||
<propertyExpansion>main.basedir=${main.basedir}</propertyExpansion> |
||||
<encoding>UTF-8</encoding> |
||||
<consoleOutput>true</consoleOutput> |
||||
<failOnViolation>true</failOnViolation> |
||||
<includeTestSourceDirectory>true</includeTestSourceDirectory> |
||||
</configuration> |
||||
<goals> |
||||
<goal>check</goal> |
||||
</goals> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-compiler-plugin</artifactId> |
||||
<configuration> |
||||
<source>${java.version}</source> |
||||
<target>${java.version}</target> |
||||
<parameters>true</parameters> |
||||
</configuration> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-eclipse-plugin</artifactId> |
||||
<configuration> |
||||
<useProjectReferences>false</useProjectReferences> |
||||
<additionalConfig> |
||||
<file> |
||||
<name>.settings/org.eclipse.jdt.ui.prefs</name> |
||||
<location>${main.basedir}/eclipse/org.eclipse.jdt.ui.prefs</location> |
||||
</file> |
||||
<file> |
||||
<name>.settings/org.eclipse.jdt.core.prefs</name> |
||||
<location>${main.basedir}/eclipse/org.eclipse.jdt.core.prefs</location> |
||||
</file> |
||||
</additionalConfig> |
||||
</configuration> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-enforcer-plugin</artifactId> |
||||
<executions> |
||||
<execution> |
||||
<id>enforce-rules</id> |
||||
<goals> |
||||
<goal>enforce</goal> |
||||
</goals> |
||||
<configuration> |
||||
<rules> |
||||
<requireJavaVersion> |
||||
<version>[1.8,)</version> |
||||
</requireJavaVersion> |
||||
<requireProperty> |
||||
<property>main.basedir</property> |
||||
</requireProperty> |
||||
<requireProperty> |
||||
<property>project.organization.name</property> |
||||
</requireProperty> |
||||
<requireProperty> |
||||
<property>project.name</property> |
||||
</requireProperty> |
||||
<requireProperty> |
||||
<property>project.description</property> |
||||
</requireProperty> |
||||
</rules> |
||||
<fail>true</fail> |
||||
</configuration> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-jar-plugin</artifactId> |
||||
<configuration> |
||||
<archive> |
||||
<manifest> |
||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries> |
||||
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> |
||||
</manifest> |
||||
</archive> |
||||
</configuration> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-surefire-plugin</artifactId> |
||||
<configuration> |
||||
<includes> |
||||
<include>**/*Tests.java</include> |
||||
</includes> |
||||
<excludes> |
||||
<exclude>**/Abstract*.java</exclude> |
||||
</excludes> |
||||
<systemPropertyVariables> |
||||
<java.security.egd>file:/dev/./urandom</java.security.egd> |
||||
<java.awt.headless>true</java.awt.headless> |
||||
</systemPropertyVariables> |
||||
<argLine>-Xmx1024m</argLine> |
||||
<trimStackTrace>false</trimStackTrace> |
||||
</configuration> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-war-plugin</artifactId> |
||||
</plugin> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-source-plugin</artifactId> |
||||
<executions> |
||||
<execution> |
||||
<id>attach-sources</id> |
||||
<goals> |
||||
<goal>jar-no-fork</goal> |
||||
</goals> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
</plugins> |
||||
</build> |
||||
<profiles> |
||||
<profile> |
||||
<id>default</id> |
||||
<activation> |
||||
<activeByDefault>true</activeByDefault> |
||||
</activation> |
||||
<repositories> |
||||
<repository> |
||||
<id>spring-ext</id> |
||||
<url>http://repo.spring.io/ext-release-local/</url> |
||||
<releases> |
||||
<enabled>true</enabled> |
||||
</releases> |
||||
<snapshots> |
||||
<enabled>false</enabled> |
||||
</snapshots> |
||||
</repository> |
||||
<repository> |
||||
<id>spring-milestones</id> |
||||
<name>Spring Milestones</name> |
||||
<url>http://repo.spring.io/milestone</url> |
||||
<snapshots> |
||||
<enabled>false</enabled> |
||||
</snapshots> |
||||
</repository> |
||||
<repository> |
||||
<id>spring-snapshots</id> |
||||
<name>Spring Snapshots</name> |
||||
<url>http://repo.spring.io/snapshot</url> |
||||
<snapshots> |
||||
<enabled>true</enabled> |
||||
</snapshots> |
||||
</repository> |
||||
<repository> |
||||
<id>rabbit-milestones</id> |
||||
<name>Rabbit Milestones</name> |
||||
<url>https://dl.bintray.com/rabbitmq/maven-milestones</url> |
||||
<snapshots> |
||||
<enabled>false</enabled> |
||||
</snapshots> |
||||
</repository> |
||||
</repositories> |
||||
<pluginRepositories> |
||||
<pluginRepository> |
||||
<id>spring-milestones</id> |
||||
<name>Spring Milestones</name> |
||||
<url>http://repo.spring.io/milestone</url> |
||||
<snapshots> |
||||
<enabled>false</enabled> |
||||
</snapshots> |
||||
</pluginRepository> |
||||
<pluginRepository> |
||||
<id>spring-snapshots</id> |
||||
<name>Spring Snapshots</name> |
||||
<url>http://repo.spring.io/snapshot</url> |
||||
<snapshots> |
||||
<enabled>true</enabled> |
||||
</snapshots> |
||||
</pluginRepository> |
||||
</pluginRepositories> |
||||
</profile> |
||||
<profile> |
||||
<id>fast</id> |
||||
<activation> |
||||
<property> |
||||
<name>fast</name> |
||||
</property> |
||||
</activation> |
||||
<properties> |
||||
<disable.checks>true</disable.checks> |
||||
</properties> |
||||
<repositories> |
||||
<repository> |
||||
<id>spring-ext</id> |
||||
<url>http://repo.spring.io/ext-release-local/</url> |
||||
<releases> |
||||
<enabled>true</enabled> |
||||
</releases> |
||||
<snapshots> |
||||
<enabled>false</enabled> |
||||
</snapshots> |
||||
</repository> |
||||
<repository> |
||||
<id>spring-milestones</id> |
||||
<name>Spring Milestones</name> |
||||
<url>http://repo.spring.io/milestone</url> |
||||
<snapshots> |
||||
<enabled>false</enabled> |
||||
</snapshots> |
||||
</repository> |
||||
<repository> |
||||
<id>spring-snapshots</id> |
||||
<name>Spring Snapshots</name> |
||||
<url>http://repo.spring.io/snapshot</url> |
||||
<snapshots> |
||||
<enabled>true</enabled> |
||||
</snapshots> |
||||
</repository> |
||||
<repository> |
||||
<id>rabbit-milestones</id> |
||||
<name>Rabbit Milestones</name> |
||||
<url>https://dl.bintray.com/rabbitmq/maven-milestones</url> |
||||
<snapshots> |
||||
<enabled>false</enabled> |
||||
</snapshots> |
||||
</repository> |
||||
</repositories> |
||||
<pluginRepositories> |
||||
<pluginRepository> |
||||
<id>spring-milestones</id> |
||||
<name>Spring Milestones</name> |
||||
<url>http://repo.spring.io/milestone</url> |
||||
<snapshots> |
||||
<enabled>false</enabled> |
||||
</snapshots> |
||||
</pluginRepository> |
||||
<pluginRepository> |
||||
<id>spring-snapshots</id> |
||||
<name>Spring Snapshots</name> |
||||
<url>http://repo.spring.io/snapshot</url> |
||||
<snapshots> |
||||
<enabled>true</enabled> |
||||
</snapshots> |
||||
</pluginRepository> |
||||
</pluginRepositories> |
||||
</profile> |
||||
<profile> |
||||
<id>eclipse.profile</id> |
||||
<activation> |
||||
<property> |
||||
<name>m2e.version</name> |
||||
</property> |
||||
</activation> |
||||
<properties> |
||||
<m2e.jaxrs.activation>false</m2e.jaxrs.activation> |
||||
<m2e.jpa.activation>false</m2e.jpa.activation> |
||||
<m2e.jsf.activation>false</m2e.jsf.activation> |
||||
<m2e.cdi.activation>false</m2e.cdi.activation> |
||||
</properties> |
||||
<build> |
||||
<plugins> |
||||
<plugin> |
||||
<!-- Up the compiler version so the correct execution environment is |
||||
used --> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-compiler-plugin</artifactId> |
||||
<configuration> |
||||
<source>1.8</source> |
||||
<target>1.8</target> |
||||
<parameters>true</parameters> |
||||
</configuration> |
||||
</plugin> |
||||
</plugins> |
||||
</build> |
||||
<repositories> |
||||
<repository> |
||||
<id>spring-ext</id> |
||||
<url>http://repo.spring.io/ext-release-local/</url> |
||||
<releases> |
||||
<enabled>true</enabled> |
||||
</releases> |
||||
<snapshots> |
||||
<enabled>false</enabled> |
||||
</snapshots> |
||||
</repository> |
||||
<repository> |
||||
<id>spring-milestones</id> |
||||
<name>Spring Milestones</name> |
||||
<url>http://repo.spring.io/milestone</url> |
||||
<snapshots> |
||||
<enabled>false</enabled> |
||||
</snapshots> |
||||
</repository> |
||||
<repository> |
||||
<id>spring-snapshots</id> |
||||
<name>Spring Snapshots</name> |
||||
<url>http://repo.spring.io/snapshot</url> |
||||
<snapshots> |
||||
<enabled>true</enabled> |
||||
</snapshots> |
||||
</repository> |
||||
<repository> |
||||
<id>rabbit-milestones</id> |
||||
<name>Rabbit Milestones</name> |
||||
<url>https://dl.bintray.com/rabbitmq/maven-milestones</url> |
||||
<snapshots> |
||||
<enabled>false</enabled> |
||||
</snapshots> |
||||
</repository> |
||||
</repositories> |
||||
<pluginRepositories> |
||||
<pluginRepository> |
||||
<id>spring-milestones</id> |
||||
<name>Spring Milestones</name> |
||||
<url>http://repo.spring.io/milestone</url> |
||||
<snapshots> |
||||
<enabled>false</enabled> |
||||
</snapshots> |
||||
</pluginRepository> |
||||
<pluginRepository> |
||||
<id>spring-snapshots</id> |
||||
<name>Spring Snapshots</name> |
||||
<url>http://repo.spring.io/snapshot</url> |
||||
<snapshots> |
||||
<enabled>true</enabled> |
||||
</snapshots> |
||||
</pluginRepository> |
||||
</pluginRepositories> |
||||
</profile> |
||||
<profile> |
||||
<id>prepare</id> |
||||
<repositories> |
||||
<repository> |
||||
<id>spring-ext</id> |
||||
<url>http://repo.spring.io/ext-release-local/</url> |
||||
<releases> |
||||
<enabled>true</enabled> |
||||
</releases> |
||||
<snapshots> |
||||
<enabled>false</enabled> |
||||
</snapshots> |
||||
</repository> |
||||
</repositories> |
||||
</profile> |
||||
<profile> |
||||
<id>full</id> |
||||
<build> |
||||
<plugins> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-javadoc-plugin</artifactId> |
||||
<executions> |
||||
<execution> |
||||
<id>attach-javadocs</id> |
||||
<goals> |
||||
<goal>jar</goal> |
||||
</goals> |
||||
<inherited>true</inherited> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
</plugins> |
||||
</build> |
||||
<pluginRepositories> |
||||
<pluginRepository> |
||||
<id>objectstyle</id> |
||||
<name>ObjectStyle.org Repository</name> |
||||
<url>http://objectstyle.org/maven2/</url> |
||||
<snapshots> |
||||
<enabled>false</enabled> |
||||
</snapshots> |
||||
</pluginRepository> |
||||
<pluginRepository> |
||||
<id>spring-milestones</id> |
||||
<name>Spring Milestones</name> |
||||
<url>http://repo.spring.io/milestone</url> |
||||
<snapshots> |
||||
<enabled>false</enabled> |
||||
</snapshots> |
||||
</pluginRepository> |
||||
<pluginRepository> |
||||
<id>spring-snapshots</id> |
||||
<name>Spring Snapshots</name> |
||||
<url>http://repo.spring.io/snapshot</url> |
||||
<snapshots> |
||||
<enabled>true</enabled> |
||||
</snapshots> |
||||
</pluginRepository> |
||||
</pluginRepositories> |
||||
</profile> |
||||
<profile> |
||||
<id>snapshot</id> |
||||
</profile> |
||||
<profile> |
||||
<id>milestone</id> |
||||
<build> |
||||
<plugins> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-enforcer-plugin</artifactId> |
||||
<executions> |
||||
<execution> |
||||
<id>enforce-milestone-rules</id> |
||||
<goals> |
||||
<goal>enforce</goal> |
||||
</goals> |
||||
<configuration> |
||||
<rules> |
||||
<requireJavaVersion> |
||||
<version>(1.8,1.9)</version> |
||||
</requireJavaVersion> |
||||
<requireReleaseDeps /> |
||||
<requireReleaseVersion /> |
||||
</rules> |
||||
<fail>true</fail> |
||||
</configuration> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
</plugins> |
||||
</build> |
||||
</profile> |
||||
<profile> |
||||
<id>release</id> |
||||
<build> |
||||
<plugins> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-enforcer-plugin</artifactId> |
||||
<executions> |
||||
<execution> |
||||
<id>enforce-release-rules</id> |
||||
<goals> |
||||
<goal>enforce</goal> |
||||
</goals> |
||||
<configuration> |
||||
<rules> |
||||
<requireJavaVersion> |
||||
<version>(1.8,1.9)</version> |
||||
</requireJavaVersion> |
||||
<requireReleaseDeps /> |
||||
<requireReleaseVersion /> |
||||
</rules> |
||||
<fail>true</fail> |
||||
</configuration> |
||||
</execution> |
||||
</executions> |
||||
</plugin> |
||||
</plugins> |
||||
</build> |
||||
</profile> |
||||
<profile> |
||||
<id>java9</id> |
||||
<activation> |
||||
<jdk>9</jdk> |
||||
</activation> |
||||
<properties> |
||||
<aspectj.version>1.9.0.BETA-7</aspectj.version> |
||||
</properties> |
||||
<build> |
||||
<plugins> |
||||
<plugin> |
||||
<groupId>org.apache.maven.plugins</groupId> |
||||
<artifactId>maven-surefire-plugin</artifactId> |
||||
<configuration> |
||||
<argLine>--add-modules java.base,java.xml.bind</argLine> |
||||
</configuration> |
||||
</plugin> |
||||
</plugins> |
||||
</build> |
||||
</profile> |
||||
</profiles> |
||||
</project> |
||||
@ -1,171 +0,0 @@
@@ -1,171 +0,0 @@
|
||||
<?xml version="1.0"?> |
||||
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "http://www.puppycrawl.com/dtds/configuration_1_2.dtd"> |
||||
<module name="com.puppycrawl.tools.checkstyle.Checker"> |
||||
<!-- Root Checks --> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.header.RegexpHeaderCheck"> |
||||
<property name="headerFile" value="${checkstyle.header.file}" /> |
||||
<property name="fileExtensions" value="java" /> |
||||
</module> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.NewlineAtEndOfFileCheck"> |
||||
<property name="lineSeparator" value="lf"/> |
||||
</module> |
||||
|
||||
<!-- TreeWalker Checks --> |
||||
<module name="com.puppycrawl.tools.checkstyle.TreeWalker"> |
||||
<!-- Annotations --> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.annotation.AnnotationUseStyleCheck"> |
||||
<property name="elementStyle" value="compact" /> |
||||
</module> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.annotation.MissingOverrideCheck" /> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.annotation.PackageAnnotationCheck" /> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.annotation.AnnotationLocationCheck"> |
||||
<property name="allowSamelineSingleParameterlessAnnotation" |
||||
value="false" /> |
||||
</module> |
||||
|
||||
<!-- Block Checks --> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.blocks.EmptyBlockCheck"> |
||||
<property name="option" value="text" /> |
||||
</module> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.blocks.LeftCurlyCheck" /> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.blocks.RightCurlyCheck"> |
||||
<property name="option" value="alone" /> |
||||
</module> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck" /> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.blocks.AvoidNestedBlocksCheck" /> |
||||
|
||||
<!-- Class Design --> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.design.FinalClassCheck" /> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.design.InterfaceIsTypeCheck" /> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.design.HideUtilityClassConstructorCheck" /> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.design.MutableExceptionCheck" /> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.design.InnerTypeLastCheck" /> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.design.OneTopLevelClassCheck" /> |
||||
|
||||
<!-- Coding --> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.coding.CovariantEqualsCheck" /> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.coding.EmptyStatementCheck" /> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.coding.EqualsHashCodeCheck" /> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.coding.InnerAssignmentCheck" /> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanExpressionCheck" /> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanReturnCheck" /> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.coding.StringLiteralEqualityCheck" /> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.coding.NestedForDepthCheck"> |
||||
<property name="max" value="3" /> |
||||
</module> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.coding.NestedIfDepthCheck"> |
||||
<property name="max" value="3" /> |
||||
</module> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.coding.NestedTryDepthCheck"> |
||||
<property name="max" value="3" /> |
||||
</module> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.coding.MultipleVariableDeclarationsCheck" /> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck"> |
||||
<property name="checkMethods" value="false" /> |
||||
<property name="validateOnlyOverlapping" value="false" /> |
||||
</module> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.coding.OneStatementPerLineCheck" /> |
||||
|
||||
<!-- Imports --> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.imports.AvoidStarImportCheck" /> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.imports.AvoidStaticImportCheck"> |
||||
<property name="excludes" |
||||
value="io.restassured.RestAssured.*, org.assertj.core.api.Assertions.*, org.junit.Assert.*, org.junit.Assume.*, org.junit.internal.matchers.ThrowableMessageMatcher.*, org.hamcrest.CoreMatchers.*, org.hamcrest.Matchers.*, org.springframework.boot.configurationprocessor.ConfigurationMetadataMatchers.*, org.springframework.boot.configurationprocessor.TestCompiler.*, org.springframework.boot.test.autoconfigure.AutoConfigurationImportedCondition.*, org.mockito.Mockito.*, org.mockito.BDDMockito.*, org.mockito.ArgumentMatchers.*, org.mockito.Matchers.*, org.springframework.restdocs.hypermedia.HypermediaDocumentation.*, org.springframework.restdocs.mockmvc.MockMvcRestDocumentation.*, org.springframework.restdocs.operation.preprocess.Preprocessors.*, org.springframework.restdocs.restassured3.operation.preprocess.RestAssuredPreprocessors.*, org.springframework.restdocs.restassured3.RestAssuredRestDocumentation.*, org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*, org.springframework.test.web.servlet.result.MockMvcResultMatchers.*, org.springframework.security.test.web.servlet.request.SecurityMockMvcRequestPostProcessors.*, org.springframework.security.test.web.servlet.setup.SecurityMockMvcConfigurers.*, org.springframework.hateoas.mvc.ControllerLinkBuilder.linkTo, org.springframework.test.web.client.ExpectedCount.*, org.springframework.test.web.client.match.MockRestRequestMatchers.*, org.springframework.test.web.client.response.MockRestResponseCreators.*" /> |
||||
</module> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.imports.IllegalImportCheck" > |
||||
<property name="illegalPkgs" value="com.google.common"/> |
||||
</module> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.imports.RedundantImportCheck" /> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.imports.UnusedImportsCheck"> |
||||
<property name="processJavadoc" value="true" /> |
||||
</module> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.imports.ImportControlCheck"> |
||||
<property name="file" value="${main.basedir}/spring-boot-parent/src/checkstyle/import-control.xml" /> |
||||
<property name="path" value="^.*[\\/]src[\\/]main[\\/].*$" /> |
||||
</module> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck"> |
||||
<property name="groups" value="java,/^javax?\./,*,org.springframework" /> |
||||
<property name="ordered" value="true" /> |
||||
<property name="separated" value="true" /> |
||||
<property name="option" value="bottom" /> |
||||
<property name="sortStaticImportsAlphabetically" value="true" /> |
||||
</module> |
||||
|
||||
<!-- Javadoc Comments --> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTypeCheck"> |
||||
<property name="scope" value="package"/> |
||||
<property name="authorFormat" value=".+\s.+"/> |
||||
</module> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck"> |
||||
<property name="allowMissingJavadoc" value="true" /> |
||||
</module> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck"> |
||||
<property name="scope" value="public"/> |
||||
</module> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocStyleCheck"> |
||||
<property name="checkEmptyJavadoc" value="true"/> |
||||
</module> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.javadoc.NonEmptyAtclauseDescriptionCheck" /> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTagContinuationIndentationCheck"> |
||||
<property name="offset" value="0"/> |
||||
</module> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.javadoc.AtclauseOrderCheck"> |
||||
<property name="target" value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF"/> |
||||
<property name="tagOrder" value="@param, @author, @since, @see, @version, @serial, @deprecated"/> |
||||
</module> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.javadoc.AtclauseOrderCheck"> |
||||
<property name="target" value="METHOD_DEF, CTOR_DEF, VARIABLE_DEF"/> |
||||
<property name="tagOrder" value="@param, @return, @throws, @since, @deprecated, @see"/> |
||||
</module> |
||||
|
||||
<!-- Miscellaneous --> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.indentation.CommentsIndentationCheck"> |
||||
<property name="tokens" value="BLOCK_COMMENT_BEGIN"/> |
||||
</module> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.UpperEllCheck" /> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.ArrayTypeStyleCheck" /> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.OuterTypeFilenameCheck" /> |
||||
|
||||
<!-- Modifiers --> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.modifier.RedundantModifierCheck" /> |
||||
|
||||
<!-- Regexp --> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck"> |
||||
<property name="format" value="^\t* +\t*\S" /> |
||||
<property name="message" |
||||
value="Line has leading space characters; indentation should be performed with tabs only." /> |
||||
<property name="ignoreComments" value="true" /> |
||||
</module> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck"> |
||||
<property name="maximum" value="0"/> |
||||
<property name="format" value="org\.mockito\.Mockito\.(when|doThrow|doAnswer)" /> |
||||
<property name="message" |
||||
value="Please use BDDMockito imports." /> |
||||
<property name="ignoreComments" value="true" /> |
||||
</module> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck"> |
||||
<property name="maximum" value="0"/> |
||||
<property name="format" value="org\.junit\.Assert\.assert" /> |
||||
<property name="message" |
||||
value="Please use AssertJ imports." /> |
||||
<property name="ignoreComments" value="true" /> |
||||
</module> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.regexp.RegexpCheck"> |
||||
<property name="format" value="[ \t]+$" /> |
||||
<property name="illegalPattern" value="true" /> |
||||
<property name="message" value="Trailing whitespace" /> |
||||
</module> |
||||
|
||||
<!-- Whitespace --> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.whitespace.GenericWhitespaceCheck" /> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.whitespace.MethodParamPadCheck" /> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.whitespace.NoWhitespaceAfterCheck" > |
||||
<property name="tokens" value="BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS, ARRAY_DECLARATOR"/> |
||||
</module> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.whitespace.NoWhitespaceBeforeCheck" /> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.whitespace.ParenPadCheck" /> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.whitespace.TypecastParenPadCheck" /> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAfterCheck" /> |
||||
<module name="com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck" /> |
||||
</module> |
||||
</module> |
||||
@ -0,0 +1,32 @@
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<parent> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-build</artifactId> |
||||
<version>${revision}</version> |
||||
</parent> |
||||
<artifactId>spring-boot-project</artifactId> |
||||
<packaging>pom</packaging> |
||||
<name>Spring Boot Build</name> |
||||
<description>Spring Boot Build</description> |
||||
<properties> |
||||
<main.basedir>${basedir}/../..</main.basedir> |
||||
</properties> |
||||
<modules> |
||||
<module>spring-boot-dependencies</module> |
||||
<module>spring-boot-parent</module> |
||||
<module>spring-boot</module> |
||||
<module>spring-boot-actuator</module> |
||||
<module>spring-boot-actuator-autoconfigure</module> |
||||
<module>spring-boot-autoconfigure</module> |
||||
<module>spring-boot-cli</module> |
||||
<module>spring-boot-devtools</module> |
||||
<module>spring-boot-test</module> |
||||
<module>spring-boot-test-autoconfigure</module> |
||||
<module>spring-boot-tools</module> |
||||
<module>spring-boot-starters</module> |
||||
<module>spring-boot-docs</module> |
||||
</modules> |
||||
</project> |
||||
@ -0,0 +1,423 @@
@@ -0,0 +1,423 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
||||
<modelVersion>4.0.0</modelVersion> |
||||
<parent> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-parent</artifactId> |
||||
<version>${revision}</version> |
||||
<relativePath>../spring-boot-parent</relativePath> |
||||
</parent> |
||||
<artifactId>spring-boot-actuator-autoconfigure</artifactId> |
||||
<name>Spring Boot Actuator AutoConfigure</name> |
||||
<description>Spring Boot Actuator AutoConfigure</description> |
||||
<properties> |
||||
<main.basedir>${basedir}/../..</main.basedir> |
||||
</properties> |
||||
<dependencies> |
||||
<!-- Compile --> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-actuator</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-autoconfigure</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.fasterxml.jackson.core</groupId> |
||||
<artifactId>jackson-databind</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.micrometer</groupId> |
||||
<artifactId>micrometer-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-core</artifactId> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-context</artifactId> |
||||
</dependency> |
||||
<!-- Optional --> |
||||
<dependency> |
||||
<groupId>com.fasterxml.jackson.dataformat</groupId> |
||||
<artifactId>jackson-dataformat-xml</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.github.ben-manes.caffeine</groupId> |
||||
<artifactId>caffeine</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.hazelcast</groupId> |
||||
<artifactId>hazelcast</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.hazelcast</groupId> |
||||
<artifactId>hazelcast-spring</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.sun.mail</groupId> |
||||
<artifactId>javax.mail</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.timgroup</groupId> |
||||
<artifactId>java-statsd-client</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.zaxxer</groupId> |
||||
<artifactId>HikariCP</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.dropwizard.metrics</groupId> |
||||
<artifactId>metrics-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.lettuce</groupId> |
||||
<artifactId>lettuce-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.micrometer</groupId> |
||||
<artifactId>micrometer-registry-atlas</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.micrometer</groupId> |
||||
<artifactId>micrometer-registry-datadog</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.micrometer</groupId> |
||||
<artifactId>micrometer-registry-ganglia</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.micrometer</groupId> |
||||
<artifactId>micrometer-registry-graphite</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.micrometer</groupId> |
||||
<artifactId>micrometer-registry-influx</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.micrometer</groupId> |
||||
<artifactId>micrometer-registry-jmx</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.micrometer</groupId> |
||||
<artifactId>micrometer-registry-prometheus</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.searchbox</groupId> |
||||
<artifactId>jest</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>javax.cache</groupId> |
||||
<artifactId>cache-api</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>javax.jms</groupId> |
||||
<artifactId>javax.jms-api</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>javax.servlet</groupId> |
||||
<artifactId>javax.servlet-api</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>net.sf.ehcache</groupId> |
||||
<artifactId>ehcache</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.activemq</groupId> |
||||
<artifactId>activemq-broker</artifactId> |
||||
<optional>true</optional> |
||||
<exclusions> |
||||
<exclusion> |
||||
<artifactId>geronimo-jms_1.1_spec</artifactId> |
||||
<groupId>org.apache.geronimo.specs</groupId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.commons</groupId> |
||||
<artifactId>commons-dbcp2</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.tomcat.embed</groupId> |
||||
<artifactId>tomcat-embed-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.tomcat.embed</groupId> |
||||
<artifactId>tomcat-embed-el</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.apache.tomcat</groupId> |
||||
<artifactId>tomcat-jdbc</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.aspectj</groupId> |
||||
<artifactId>aspectjweaver</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.elasticsearch</groupId> |
||||
<artifactId>elasticsearch</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.flywaydb</groupId> |
||||
<artifactId>flyway-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.glassfish.jersey.core</groupId> |
||||
<artifactId>jersey-server</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.glassfish.jersey.containers</groupId> |
||||
<artifactId>jersey-container-servlet-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.hibernate.validator</groupId> |
||||
<artifactId>hibernate-validator</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.jolokia</groupId> |
||||
<artifactId>jolokia-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.infinispan</groupId> |
||||
<artifactId>infinispan-spring4-embedded</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.liquibase</groupId> |
||||
<artifactId>liquibase-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-jdbc</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-messaging</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-webflux</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework</groupId> |
||||
<artifactId>spring-webmvc</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.amqp</groupId> |
||||
<artifactId>spring-rabbit</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-cassandra</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-couchbase</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-ldap</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-mongodb</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-neo4j</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-redis</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-solr</artifactId> |
||||
<optional>true</optional> |
||||
<exclusions> |
||||
<!-- the version of solr here is incompatible with jackson-xml because |
||||
of an old woodstox --> |
||||
<exclusion> |
||||
<artifactId>wstx-asl</artifactId> |
||||
<groupId>org.codehaus.woodstox</groupId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.integration</groupId> |
||||
<artifactId>spring-integration-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.security</groupId> |
||||
<artifactId>spring-security-config</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.security</groupId> |
||||
<artifactId>spring-security-web</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.session</groupId> |
||||
<artifactId>spring-session-core</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<!-- Annotation processing --> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-autoconfigure-processor</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-configuration-processor</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
<!-- Test --> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-test</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-test-autoconfigure</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.boot</groupId> |
||||
<artifactId>spring-boot-test-support</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>ch.qos.logback</groupId> |
||||
<artifactId>logback-classic</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>com.jayway.jsonpath</groupId> |
||||
<artifactId>json-path</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.projectreactor.ipc</groupId> |
||||
<artifactId>reactor-netty</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.undertow</groupId> |
||||
<artifactId>undertow-core</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>io.undertow</groupId> |
||||
<artifactId>undertow-servlet</artifactId> |
||||
<scope>test</scope> |
||||
<exclusions> |
||||
<exclusion> |
||||
<groupId>org.jboss.spec.javax.servlet</groupId> |
||||
<artifactId>jboss-servlet-api_3.1_spec</artifactId> |
||||
</exclusion> |
||||
</exclusions> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.aspectj</groupId> |
||||
<artifactId>aspectjrt</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.hsqldb</groupId> |
||||
<artifactId>hsqldb</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.glassfish.jersey.media</groupId> |
||||
<artifactId>jersey-media-json-jackson</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.skyscreamer</groupId> |
||||
<artifactId>jsonassert</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-elasticsearch</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.data</groupId> |
||||
<artifactId>spring-data-rest-webmvc</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.integration</groupId> |
||||
<artifactId>spring-integration-jmx</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.springframework.security</groupId> |
||||
<artifactId>spring-security-test</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>org.yaml</groupId> |
||||
<artifactId>snakeyaml</artifactId> |
||||
<scope>test</scope> |
||||
</dependency> |
||||
<dependency> |
||||
<groupId>redis.clients</groupId> |
||||
<artifactId>jedis</artifactId> |
||||
<optional>true</optional> |
||||
</dependency> |
||||
</dependencies> |
||||
</project> |
||||
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/amqp/RabbitHealthIndicatorAutoConfiguration.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/amqp/RabbitHealthIndicatorAutoConfiguration.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/amqp/RabbitHealthIndicatorAutoConfiguration.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/amqp/RabbitHealthIndicatorAutoConfiguration.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/audit/AuditEventsEndpointAutoConfiguration.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/audit/AuditEventsEndpointAutoConfiguration.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/audit/AuditEventsEndpointAutoConfiguration.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/audit/AuditEventsEndpointAutoConfiguration.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cassandra/CassandraHealthIndicatorAutoConfiguration.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cassandra/CassandraHealthIndicatorAutoConfiguration.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cassandra/CassandraHealthIndicatorAutoConfiguration.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cassandra/CassandraHealthIndicatorAutoConfiguration.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/CloudFoundryActuatorAutoConfiguration.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/CloudFoundryActuatorAutoConfiguration.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/CloudFoundryActuatorAutoConfiguration.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/CloudFoundryActuatorAutoConfiguration.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/CloudFoundryAuthorizationException.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/CloudFoundryAuthorizationException.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/CloudFoundryAuthorizationException.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/CloudFoundryAuthorizationException.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/CloudFoundrySecurityInterceptor.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/CloudFoundrySecurityInterceptor.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/CloudFoundrySecurityInterceptor.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/CloudFoundrySecurityInterceptor.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/CloudFoundrySecurityService.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/CloudFoundrySecurityService.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/CloudFoundrySecurityService.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/CloudFoundrySecurityService.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/CloudFoundryWebEndpointServletHandlerMapping.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/CloudFoundryWebEndpointServletHandlerMapping.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/CloudFoundryWebEndpointServletHandlerMapping.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/CloudFoundryWebEndpointServletHandlerMapping.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/SkipSslVerificationHttpRequestFactory.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/SkipSslVerificationHttpRequestFactory.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/SkipSslVerificationHttpRequestFactory.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/cloudfoundry/SkipSslVerificationHttpRequestFactory.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/condition/AutoConfigurationReportEndpoint.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/condition/AutoConfigurationReportEndpoint.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/condition/AutoConfigurationReportEndpoint.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/condition/AutoConfigurationReportEndpoint.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/condition/AutoConfigurationReportEndpointAutoConfiguration.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/condition/AutoConfigurationReportEndpointAutoConfiguration.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/condition/AutoConfigurationReportEndpointAutoConfiguration.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/condition/AutoConfigurationReportEndpointAutoConfiguration.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/context/ShutdownEndpointAutoConfiguration.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/context/ShutdownEndpointAutoConfiguration.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/context/ShutdownEndpointAutoConfiguration.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/context/ShutdownEndpointAutoConfiguration.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/context/properties/ConfigurationPropertiesReportEndpointAutoConfiguration.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/context/properties/ConfigurationPropertiesReportEndpointAutoConfiguration.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/context/properties/ConfigurationPropertiesReportEndpointAutoConfiguration.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/context/properties/ConfigurationPropertiesReportEndpointAutoConfiguration.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/context/properties/ConfigurationPropertiesReportEndpointProperties.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/context/properties/ConfigurationPropertiesReportEndpointProperties.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/context/properties/ConfigurationPropertiesReportEndpointProperties.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/context/properties/ConfigurationPropertiesReportEndpointProperties.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/couchbase/CouchbaseHealthIndicatorAutoConfiguration.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/couchbase/CouchbaseHealthIndicatorAutoConfiguration.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/couchbase/CouchbaseHealthIndicatorAutoConfiguration.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/couchbase/CouchbaseHealthIndicatorAutoConfiguration.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/elasticsearch/ElasticsearchHealthIndicatorAutoConfiguration.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/elasticsearch/ElasticsearchHealthIndicatorAutoConfiguration.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/elasticsearch/ElasticsearchHealthIndicatorAutoConfiguration.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/elasticsearch/ElasticsearchHealthIndicatorAutoConfiguration.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/elasticsearch/ElasticsearchHealthIndicatorProperties.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/elasticsearch/ElasticsearchHealthIndicatorProperties.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/elasticsearch/ElasticsearchHealthIndicatorProperties.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/elasticsearch/ElasticsearchHealthIndicatorProperties.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/DefaultCachingConfigurationFactory.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/DefaultCachingConfigurationFactory.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/DefaultCachingConfigurationFactory.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/DefaultCachingConfigurationFactory.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/condition/ConditionalOnEnabledEndpoint.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/condition/ConditionalOnEnabledEndpoint.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/condition/ConditionalOnEnabledEndpoint.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/condition/ConditionalOnEnabledEndpoint.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/condition/OnEnabledEndpointCondition.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/condition/OnEnabledEndpointCondition.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/condition/OnEnabledEndpointCondition.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/condition/OnEnabledEndpointCondition.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/jmx/DefaultEndpointObjectNameFactory.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/jmx/DefaultEndpointObjectNameFactory.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/jmx/DefaultEndpointObjectNameFactory.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/jmx/DefaultEndpointObjectNameFactory.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/jmx/JmxEndpointAutoConfiguration.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/jmx/JmxEndpointAutoConfiguration.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/jmx/JmxEndpointAutoConfiguration.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/jmx/JmxEndpointAutoConfiguration.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/jmx/JmxEndpointExporterProperties.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/jmx/JmxEndpointExporterProperties.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/jmx/JmxEndpointExporterProperties.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/jmx/JmxEndpointExporterProperties.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/DefaultEndpointPathProvider.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/DefaultEndpointPathProvider.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/DefaultEndpointPathProvider.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/DefaultEndpointPathProvider.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/jersey/JerseyWebEndpointManagementContextConfiguration.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/jersey/JerseyWebEndpointManagementContextConfiguration.java
0
spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/jersey/JerseyWebEndpointManagementContextConfiguration.java → spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/jersey/JerseyWebEndpointManagementContextConfiguration.java
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue