diff options
author | Teemu Suo-Anttila <tsuoanttila@users.noreply.github.com> | 2016-12-14 13:10:39 +0200 |
---|---|---|
committer | Pekka Hyvönen <pekka@vaadin.com> | 2016-12-14 13:10:39 +0200 |
commit | 4852034df2cad35489eb5d358a8ddc0b356d8568 (patch) | |
tree | a6c7ac9cea8f843ca2471aa7619b8738ff5b71e9 /test/spring-boot/pom.xml | |
parent | 44b75ed4b1bedb385d3995909136309d5f8a2e3b (diff) | |
download | vaadin-framework-4852034df2cad35489eb5d358a8ddc0b356d8568.tar.gz vaadin-framework-4852034df2cad35489eb5d358a8ddc0b356d8568.zip |
Add Vaadin Spring dependency version to BOM (#112)
* Add Vaadin Spring dependency version to BOM
This patch adds a smoke test that check that a basic
Vaadin UI loads and communication works.
* Remove Maven wrapper from Spring Boot test
* Remove .gitignore, add missing newlines
* Minor fixes to pom.xml files
* Separate vaadin-test from vaadin-root
* Fix whitespace
Diffstat (limited to 'test/spring-boot/pom.xml')
-rw-r--r-- | test/spring-boot/pom.xml | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/test/spring-boot/pom.xml b/test/spring-boot/pom.xml new file mode 100644 index 0000000000..8cdde7ec98 --- /dev/null +++ b/test/spring-boot/pom.xml @@ -0,0 +1,82 @@ +<?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>com.vaadin</groupId> + <artifactId>vaadin-test</artifactId> + <version>1.0-SNAPSHOT</version> + </parent> + <artifactId>vaadin-test-spring-boot</artifactId> + <packaging>jar</packaging> + + <name>vaadin-test-spring-boot</name> + <description>Demo project for Vaadin Spring Boot</description> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> + <java.version>1.8</java.version> + <spring.boot.version>1.4.2.RELEASE</spring.boot.version> + </properties> + + <dependencies> + <dependency> + <groupId>com.vaadin</groupId> + <artifactId>vaadin-spring-boot-starter</artifactId> + </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-test</artifactId> + <scope>test</scope> + </dependency> + </dependencies> + + <dependencyManagement> + <dependencies> + <dependency> + <groupId>com.vaadin</groupId> + <artifactId>vaadin-bom</artifactId> + <version>${vaadin.version}</version> + <type>pom</type> + <scope>import</scope> + </dependency> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-parent</artifactId> + <type>pom</type> + <scope>import</scope> + <version>${spring.boot.version}</version> + </dependency> + </dependencies> + </dependencyManagement> + + <build> + <plugins> + <plugin> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-maven-plugin</artifactId> + <version>${spring.boot.version}</version> + </plugin> + + <!-- Disable jetty-plugin --> + <plugin> + <groupId>org.eclipse.jetty</groupId> + <artifactId>jetty-maven-plugin</artifactId> + <version>${jetty.version}</version> + <executions> + <execution> + <id>start-jetty</id> + <phase /> + </execution> + <execution> + <id>stop-jetty</id> + <phase /> + </execution> + </executions> + </plugin> + </plugins> + </build> + +</project> |