|
2 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
3 | 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
4 | 4 | <modelVersion>4.0.0</modelVersion>
|
| 5 | + <parent> |
| 6 | + <groupId>org.springframework.boot</groupId> |
| 7 | + <artifactId>spring-boot-starter-parent</artifactId> |
| 8 | + <version>1.4.1.RELEASE</version> |
| 9 | + </parent> |
5 | 10 |
|
6 |
| - <groupId>io.spring</groupId> |
| 11 | + <groupId>com.example</groupId> |
7 | 12 | <artifactId>spring-data-vaadin-crud</artifactId>
|
8 | 13 | <version>0.0.1-SNAPSHOT</version>
|
9 |
| - |
10 | 14 | <description>Simple CRUD with Vaadin and Spring Data backend</description>
|
11 | 15 |
|
12 | 16 | <properties>
|
|
16 | 20 | <start-class>crud.Application</start-class>
|
17 | 21 | </properties>
|
18 | 22 |
|
19 |
| - <parent> |
20 |
| - <groupId>org.springframework.boot</groupId> |
21 |
| - <artifactId>spring-boot-starter-parent</artifactId> |
22 |
| - <version>1.4.1.RELEASE</version> |
23 |
| - </parent> |
24 |
| - |
25 |
| - <dependencyManagement> |
26 |
| - <dependencies> |
27 |
| - <dependency> |
28 |
| - <groupId>com.vaadin</groupId> |
29 |
| - <artifactId>vaadin-bom</artifactId> |
30 |
| - <version>${version.vaadin}</version> |
31 |
| - <type>pom</type> |
32 |
| - <scope>import</scope> |
33 |
| - </dependency> |
34 |
| - </dependencies> |
35 |
| - </dependencyManagement> |
36 |
| - |
37 | 23 | <dependencies>
|
38 | 24 | <dependency>
|
39 | 25 | <groupId>com.vaadin</groupId>
|
40 | 26 | <artifactId>vaadin-spring-boot-starter</artifactId>
|
41 |
| - <version>1.0.2</version> |
42 | 27 | </dependency>
|
43 | 28 | <dependency>
|
44 | 29 | <groupId>org.springframework.boot</groupId>
|
45 | 30 | <artifactId>spring-boot-starter-data-jpa</artifactId>
|
46 | 31 | </dependency>
|
47 |
| - <!-- vaadin4spring https://github.com/peholmst/vaadin4spring |
| 32 | + |
| 33 | + <!-- vaadin4spring https://github.com/peholmst/vaadin4spring |
48 | 34 | contains lots of handy helpers for serious Spring + Vaadin
|
49 | 35 | applications. This example uses event bus to decouple the editor
|
50 | 36 | form from the MainUI class.
|
51 | 37 | -->
|
52 | 38 | <dependency>
|
53 | 39 | <groupId>org.vaadin.spring.extensions</groupId>
|
54 | 40 | <artifactId>vaadin-spring-ext-boot</artifactId>
|
55 |
| - <version>0.0.7.RELEASE</version> |
56 | 41 | </dependency>
|
57 | 42 | <dependency>
|
58 | 43 | <groupId>org.vaadin.spring.addons</groupId>
|
59 | 44 | <artifactId>vaadin-spring-addon-eventbus</artifactId>
|
60 |
| - <version>0.0.7.RELEASE</version> |
61 |
| - <type>jar</type> |
62 |
| - </dependency> |
63 |
| - <dependency> |
64 |
| - <groupId>org.hibernate</groupId> |
65 |
| - <artifactId>hibernate-validator</artifactId> |
66 | 45 | </dependency>
|
67 | 46 | <dependency>
|
68 | 47 | <groupId>org.vaadin</groupId>
|
69 | 48 | <artifactId>viritin</artifactId>
|
70 |
| - <version>1.57</version> |
71 | 49 | </dependency>
|
72 | 50 | <!-- Using Vaadin add-ons with client side extensions is easy, switch
|
73 | 51 | as an example in this project, see also vaadin-maven-plugin
|
|
76 | 54 | <dependency>
|
77 | 55 | <groupId>org.vaadin.teemu</groupId>
|
78 | 56 | <artifactId>switch</artifactId>
|
79 |
| - <version>2.0.2</version> |
80 | 57 | </dependency>
|
| 58 | + |
81 | 59 | <dependency>
|
82 | 60 | <groupId>com.h2database</groupId>
|
83 | 61 | <artifactId>h2</artifactId>
|
84 | 62 | <scope>runtime</scope>
|
85 | 63 | </dependency>
|
86 | 64 |
|
87 |
| - <dependency> |
88 |
| - <groupId>org.springframework.boot</groupId> |
89 |
| - <artifactId>spring-boot-devtools</artifactId> |
90 |
| - <optional>true</optional> |
91 |
| - </dependency> |
92 |
| - |
93 | 65 | <dependency>
|
94 | 66 | <groupId>org.springframework.boot</groupId>
|
95 | 67 | <artifactId>spring-boot-starter-test</artifactId>
|
96 | 68 | <scope>test</scope>
|
97 | 69 | </dependency>
|
98 | 70 | </dependencies>
|
99 | 71 |
|
| 72 | + <dependencyManagement> |
| 73 | + <dependencies> |
| 74 | + <dependency> |
| 75 | + <groupId>com.vaadin</groupId> |
| 76 | + <artifactId>vaadin-bom</artifactId> |
| 77 | + <version>${version.vaadin}</version> |
| 78 | + <type>pom</type> |
| 79 | + <scope>import</scope> |
| 80 | + </dependency> |
| 81 | + <dependency> |
| 82 | + <groupId>com.vaadin</groupId> |
| 83 | + <artifactId>vaadin-spring-boot-starter</artifactId> |
| 84 | + <version>1.0.2</version> |
| 85 | + </dependency> |
| 86 | + <dependency> |
| 87 | + <groupId>org.vaadin.spring.extensions</groupId> |
| 88 | + <artifactId>vaadin-spring-ext-boot</artifactId> |
| 89 | + <version>0.0.7.RELEASE</version> |
| 90 | + </dependency> |
| 91 | + <dependency> |
| 92 | + <groupId>org.vaadin.spring.addons</groupId> |
| 93 | + <artifactId>vaadin-spring-addon-eventbus</artifactId> |
| 94 | + <version>0.0.7.RELEASE</version> |
| 95 | + </dependency> |
| 96 | + <dependency> |
| 97 | + <groupId>org.vaadin</groupId> |
| 98 | + <artifactId>viritin</artifactId> |
| 99 | + <version>1.57</version> |
| 100 | + </dependency> |
| 101 | + <dependency> |
| 102 | + <groupId>org.vaadin.teemu</groupId> |
| 103 | + <artifactId>switch</artifactId> |
| 104 | + <version>2.0.2</version> |
| 105 | + </dependency> |
| 106 | + </dependencies> |
| 107 | + </dependencyManagement> |
| 108 | + |
100 | 109 | <build>
|
101 | 110 | <plugins>
|
102 | 111 | <plugin>
|
|
0 commit comments