Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2565c48

Browse files
committed
Polish build
1 parent 3b0281c commit 2565c48

File tree

1 file changed

+46
-37
lines changed

1 file changed

+46
-37
lines changed

pom.xml

Lines changed: 46 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<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>
510

6-
<groupId>io.spring</groupId>
11+
<groupId>com.example</groupId>
712
<artifactId>spring-data-vaadin-crud</artifactId>
813
<version>0.0.1-SNAPSHOT</version>
9-
1014
<description>Simple CRUD with Vaadin and Spring Data backend</description>
1115

1216
<properties>
@@ -16,58 +20,32 @@
1620
<start-class>crud.Application</start-class>
1721
</properties>
1822

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-
3723
<dependencies>
3824
<dependency>
3925
<groupId>com.vaadin</groupId>
4026
<artifactId>vaadin-spring-boot-starter</artifactId>
41-
<version>1.0.2</version>
4227
</dependency>
4328
<dependency>
4429
<groupId>org.springframework.boot</groupId>
4530
<artifactId>spring-boot-starter-data-jpa</artifactId>
4631
</dependency>
47-
<!-- vaadin4spring https://github.com/peholmst/vaadin4spring
32+
33+
<!-- vaadin4spring https://github.com/peholmst/vaadin4spring
4834
contains lots of handy helpers for serious Spring + Vaadin
4935
applications. This example uses event bus to decouple the editor
5036
form from the MainUI class.
5137
-->
5238
<dependency>
5339
<groupId>org.vaadin.spring.extensions</groupId>
5440
<artifactId>vaadin-spring-ext-boot</artifactId>
55-
<version>0.0.7.RELEASE</version>
5641
</dependency>
5742
<dependency>
5843
<groupId>org.vaadin.spring.addons</groupId>
5944
<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>
6645
</dependency>
6746
<dependency>
6847
<groupId>org.vaadin</groupId>
6948
<artifactId>viritin</artifactId>
70-
<version>1.57</version>
7149
</dependency>
7250
<!-- Using Vaadin add-ons with client side extensions is easy, switch
7351
as an example in this project, see also vaadin-maven-plugin
@@ -76,27 +54,58 @@
7654
<dependency>
7755
<groupId>org.vaadin.teemu</groupId>
7856
<artifactId>switch</artifactId>
79-
<version>2.0.2</version>
8057
</dependency>
58+
8159
<dependency>
8260
<groupId>com.h2database</groupId>
8361
<artifactId>h2</artifactId>
8462
<scope>runtime</scope>
8563
</dependency>
8664

87-
<dependency>
88-
<groupId>org.springframework.boot</groupId>
89-
<artifactId>spring-boot-devtools</artifactId>
90-
<optional>true</optional>
91-
</dependency>
92-
9365
<dependency>
9466
<groupId>org.springframework.boot</groupId>
9567
<artifactId>spring-boot-starter-test</artifactId>
9668
<scope>test</scope>
9769
</dependency>
9870
</dependencies>
9971

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+
100109
<build>
101110
<plugins>
102111
<plugin>

0 commit comments

Comments
 (0)