Move smoke tests under spring-boot-test

See gh-17393
pull/17418/head
Madhura Bhave 5 years ago
parent 40f66c80f8
commit d9466f5659

@ -5,5 +5,5 @@ source $(dirname $0)/common.sh
repository=$(pwd)/distribution-repository repository=$(pwd)/distribution-repository
pushd git-repo > /dev/null pushd git-repo > /dev/null
run_maven -f spring-boot-smoke-tests/pom.xml clean install -U -Dfull -Drepository=file://${repository} run_maven -f spring-boot-tests/spring-boot-smoke-tests/pom.xml clean install -U -Dfull -Drepository=file://${repository}
popd > /dev/null popd > /dev/null

@ -36,7 +36,7 @@ git commit -m"Release v$stageVersion" > /dev/null
git tag -a "v$stageVersion" -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-project/pom.xml clean deploy -U -Dfull -DaltDeploymentRepository=distribution::default::file://${repository}
run_maven -f spring-boot-smoke-tests/pom.xml clean install -U -Dfull -Drepository=file://${repository} run_maven -f spring-boot-tests/spring-boot-smoke-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-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} run_maven -f spring-boot-tests/spring-boot-deployment-tests/pom.xml clean install -U -Dfull -Drepository=file://${repository}

@ -107,7 +107,6 @@
<modules> <modules>
<module>spring-boot-project</module> <module>spring-boot-project</module>
<!-- Smoke tests are built via the invoker plugin --> <!-- Smoke tests are built via the invoker plugin -->
<module>spring-boot-smoke-tests-invoker</module>
<module>spring-boot-tests</module> <module>spring-boot-tests</module>
</modules> </modules>
</profile> </profile>
@ -121,7 +120,6 @@
</activation> </activation>
<modules> <modules>
<module>spring-boot-project</module> <module>spring-boot-project</module>
<module>spring-boot-smoke-tests</module>
<module>spring-boot-tests</module> <module>spring-boot-tests</module>
</modules> </modules>
</profile> </profile>

@ -17,6 +17,7 @@
</properties> </properties>
<modules> <modules>
<!-- Deployment tests are slow so don't include by default --> <!-- Deployment tests are slow so don't include by default -->
<module>spring-boot-smoke-tests-invoker</module>
<module>spring-boot-integration-tests</module> <module>spring-boot-integration-tests</module>
</modules> </modules>
<profiles> <profiles>
@ -29,6 +30,7 @@
</property> </property>
</activation> </activation>
<modules> <modules>
<module>spring-boot-smoke-tests-invoker</module>
<module>spring-boot-integration-tests</module> <module>spring-boot-integration-tests</module>
<module>spring-boot-deployment-tests</module> <module>spring-boot-deployment-tests</module>
</modules> </modules>

@ -6,14 +6,14 @@
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-parent</artifactId> <artifactId>spring-boot-parent</artifactId>
<version>${revision}</version> <version>${revision}</version>
<relativePath>../spring-boot-project/spring-boot-parent</relativePath> <relativePath>../../spring-boot-project/spring-boot-parent</relativePath>
</parent> </parent>
<artifactId>spring-boot-smoke-tests-invoker</artifactId> <artifactId>spring-boot-smoke-tests-invoker</artifactId>
<packaging>pom</packaging> <packaging>pom</packaging>
<name>Spring Boot Smoke Tests Invoker</name> <name>Spring Boot Smoke Tests Invoker</name>
<description>Spring Boot Smoke Tests Invoker</description> <description>Spring Boot Smoke Tests Invoker</description>
<properties> <properties>
<main.basedir>${basedir}/..</main.basedir> <main.basedir>${basedir}/../..</main.basedir>
</properties> </properties>
<build> <build>
<plugins> <plugins>
@ -23,7 +23,7 @@
<artifactId>maven-invoker-plugin</artifactId> <artifactId>maven-invoker-plugin</artifactId>
<inherited>false</inherited> <inherited>false</inherited>
<configuration> <configuration>
<projectsDirectory>${main.basedir}/spring-boot-smoke-tests</projectsDirectory> <projectsDirectory>${main.basedir}/spring-boot-tests/spring-boot-smoke-tests</projectsDirectory>
<skipInvocation>${skipTests}</skipInvocation> <skipInvocation>${skipTests}</skipInvocation>
<streamLogs>true</streamLogs> <streamLogs>true</streamLogs>
<pomIncludes> <pomIncludes>
@ -54,7 +54,7 @@
<configuration> <configuration>
<target> <target>
<delete includeemptydirs="true"> <delete includeemptydirs="true">
<fileset dir="${main.basedir}/spring-boot-smoke-tests" <fileset dir="${main.basedir}/spring-boot-tests/spring-boot-smoke-tests"
includes="**/target/" /> includes="**/target/" />
</delete> </delete>
</target> </target>

@ -6,14 +6,14 @@
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId> <artifactId>spring-boot-starter-parent</artifactId>
<version>${revision}</version> <version>${revision}</version>
<relativePath>../spring-boot-project/spring-boot-starters/spring-boot-starter-parent</relativePath> <relativePath>../../spring-boot-project/spring-boot-starters/spring-boot-starter-parent</relativePath>
</parent> </parent>
<artifactId>spring-boot-smoke-tests</artifactId> <artifactId>spring-boot-smoke-tests</artifactId>
<packaging>pom</packaging> <packaging>pom</packaging>
<name>Spring Boot Smoke Tests</name> <name>Spring Boot Smoke Tests</name>
<description>Spring Boot Smoke Tests</description> <description>Spring Boot Smoke Tests</description>
<properties> <properties>
<main.basedir>${basedir}/..</main.basedir> <main.basedir>${basedir}/../..</main.basedir>
<java.version>1.8</java.version> <java.version>1.8</java.version>
<disable.checks>false</disable.checks> <disable.checks>false</disable.checks>
</properties> </properties>

@ -12,7 +12,7 @@
<name>Spring Boot ActiveMQ Smoke Test</name> <name>Spring Boot ActiveMQ Smoke Test</name>
<description>Spring Boot ActiveMQ Smoke Test</description> <description>Spring Boot ActiveMQ Smoke Test</description>
<properties> <properties>
<main.basedir>${basedir}/../..</main.basedir> <main.basedir>${basedir}/../../..</main.basedir>
</properties> </properties>
<dependencies> <dependencies>
<!-- Compile --> <!-- Compile -->

@ -12,7 +12,7 @@
<name>Spring Boot Actuator Custom Security Smoke Test</name> <name>Spring Boot Actuator Custom Security Smoke Test</name>
<description>Spring Boot Actuator Custom Security Smoke Test</description> <description>Spring Boot Actuator Custom Security Smoke Test</description>
<properties> <properties>
<main.basedir>${basedir}/../..</main.basedir> <main.basedir>${basedir}/../../..</main.basedir>
</properties> </properties>
<dependencies> <dependencies>
<!-- Compile --> <!-- Compile -->

@ -12,7 +12,7 @@
<name>Spring Boot Actuator Log4j 2 Smoke Test</name> <name>Spring Boot Actuator Log4j 2 Smoke Test</name>
<description>Spring Boot Actuator Log4j 2 Smoke Test</description> <description>Spring Boot Actuator Log4j 2 Smoke Test</description>
<properties> <properties>
<main.basedir>${basedir}/../..</main.basedir> <main.basedir>${basedir}/../../..</main.basedir>
</properties> </properties>
<dependencies> <dependencies>
<!-- Compile --> <!-- Compile -->

@ -12,7 +12,7 @@
<name>Spring Boot Actuator Non-Web Smoke Test</name> <name>Spring Boot Actuator Non-Web Smoke Test</name>
<description>Spring Boot Actuator Non-Web Smoke Test</description> <description>Spring Boot Actuator Non-Web Smoke Test</description>
<properties> <properties>
<main.basedir>${basedir}/../..</main.basedir> <main.basedir>${basedir}/../../..</main.basedir>
</properties> </properties>
<dependencies> <dependencies>
<!-- Compile --> <!-- Compile -->

@ -12,7 +12,7 @@
<name>Spring Boot Actuator UI Smoke Test</name> <name>Spring Boot Actuator UI Smoke Test</name>
<description>Spring Boot Actuator UI Smoke Test</description> <description>Spring Boot Actuator UI Smoke Test</description>
<properties> <properties>
<main.basedir>${basedir}/../..</main.basedir> <main.basedir>${basedir}/../../..</main.basedir>
</properties> </properties>
<dependencies> <dependencies>
<!-- Compile --> <!-- Compile -->

@ -12,7 +12,7 @@
<name>Spring Boot Actuator Smoke Test</name> <name>Spring Boot Actuator Smoke Test</name>
<description>Spring Boot Actuator Smoke Test</description> <description>Spring Boot Actuator Smoke Test</description>
<properties> <properties>
<main.basedir>${basedir}/../..</main.basedir> <main.basedir>${basedir}/../../..</main.basedir>
</properties> </properties>
<dependencies> <dependencies>
<!-- Compile --> <!-- Compile -->

@ -13,7 +13,7 @@
<name>Spring Boot AMQP Smoke Test</name> <name>Spring Boot AMQP Smoke Test</name>
<description>Spring Boot AMQP Smoke Test</description> <description>Spring Boot AMQP Smoke Test</description>
<properties> <properties>
<main.basedir>${basedir}/../..</main.basedir> <main.basedir>${basedir}/../../..</main.basedir>
</properties> </properties>
<dependencies> <dependencies>
<!-- Compile --> <!-- Compile -->

@ -12,7 +12,7 @@
<name>Spring Boot Animated Banner Smoke Test</name> <name>Spring Boot Animated Banner Smoke Test</name>
<description>Spring Boot Animated Banner Smoke Test</description> <description>Spring Boot Animated Banner Smoke Test</description>
<properties> <properties>
<main.basedir>${basedir}/../..</main.basedir> <main.basedir>${basedir}/../../..</main.basedir>
</properties> </properties>
<dependencies> <dependencies>
<!-- Compile --> <!-- Compile -->

@ -13,7 +13,7 @@
<name>Spring Boot Ant Smoke Test</name> <name>Spring Boot Ant Smoke Test</name>
<description>Spring Boot Ant Smoke Test</description> <description>Spring Boot Ant Smoke Test</description>
<properties> <properties>
<main.basedir>${basedir}/../..</main.basedir> <main.basedir>${basedir}/../../..</main.basedir>
<ant.version>1.9.3</ant.version> <ant.version>1.9.3</ant.version>
</properties> </properties>
<dependencies> <dependencies>

@ -12,7 +12,7 @@
<name>Spring Boot AOP Smoke Test</name> <name>Spring Boot AOP Smoke Test</name>
<description>Spring Boot AOP Smoke Test</description> <description>Spring Boot AOP Smoke Test</description>
<properties> <properties>
<main.basedir>${basedir}/../..</main.basedir> <main.basedir>${basedir}/../../..</main.basedir>
</properties> </properties>
<dependencies> <dependencies>
<!-- Compile --> <!-- Compile -->

@ -12,7 +12,7 @@
<name>Spring Boot Atmosphere Smoke Test</name> <name>Spring Boot Atmosphere Smoke Test</name>
<description>Spring Boot Atmosphere Smoke Test</description> <description>Spring Boot Atmosphere Smoke Test</description>
<properties> <properties>
<main.basedir>${basedir}/../..</main.basedir> <main.basedir>${basedir}/../../..</main.basedir>
</properties> </properties>
<dependencies> <dependencies>
<!-- Compile --> <!-- Compile -->

@ -12,7 +12,7 @@
<name>Spring Boot Batch Smoke Test</name> <name>Spring Boot Batch Smoke Test</name>
<description>Spring Boot Batch Smoke Test</description> <description>Spring Boot Batch Smoke Test</description>
<properties> <properties>
<main.basedir>${basedir}/../..</main.basedir> <main.basedir>${basedir}/../../..</main.basedir>
</properties> </properties>
<dependencies> <dependencies>
<!-- Compile --> <!-- Compile -->

@ -12,7 +12,7 @@
<name>Spring Boot Cache Smoke Test</name> <name>Spring Boot Cache Smoke Test</name>
<description>Spring Boot Cache Smoke Test</description> <description>Spring Boot Cache Smoke Test</description>
<properties> <properties>
<main.basedir>${basedir}/../..</main.basedir> <main.basedir>${basedir}/../../..</main.basedir>
</properties> </properties>
<dependencies> <dependencies>
<!-- Compile --> <!-- Compile -->

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save