|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 |
| -<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"> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
3 | 4 | <modelVersion>4.0.0</modelVersion>
|
4 |
| - <groupId>org.vaadin</groupId> |
5 |
| - <artifactId>spatial-spring-boot-app</artifactId> |
6 |
| - <version>0.0.1-SNAPSHOT</version> |
7 |
| - <packaging>jar</packaging> |
8 |
| - <name>spatial-spring-boot-app</name> |
9 |
| - <description>Demo project for Spring Boot, Hibernate Spatial extensions, Vaadin and V-Leaflet</description> |
10 | 5 | <parent>
|
11 | 6 | <groupId>org.springframework.boot</groupId>
|
12 | 7 | <artifactId>spring-boot-starter-parent</artifactId>
|
13 |
| - <version>2.1.2.RELEASE</version> |
14 |
| - <relativePath/> |
15 |
| - <!-- lookup parent from repository --> |
| 8 | + <version>3.2.3</version> |
| 9 | + <relativePath/> <!-- lookup parent from repository --> |
16 | 10 | </parent>
|
| 11 | + <groupId>org.vaadin</groupId> |
| 12 | + <artifactId>spatial-spring-boot-app</artifactId> |
| 13 | + <version>0.0.1-SNAPSHOT</version> |
| 14 | + <name>spatial-spring-boot-app</name> |
| 15 | + <description>Spatial example</description> |
17 | 16 | <properties>
|
18 |
| - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
19 |
| - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
20 |
| - <java.version>1.8</java.version> |
21 |
| - <vaadin.version>8.7.0</vaadin.version> |
22 |
| - <vaadin.widgetset.mode>local</vaadin.widgetset.mode> |
23 |
| - <hibernate.version>5.4.1.Final</hibernate.version> |
| 17 | + <java.version>17</java.version> |
| 18 | + <vaadin.version>24.3.5</vaadin.version> |
24 | 19 | </properties>
|
25 | 20 | <dependencies>
|
26 | 21 | <dependency>
|
27 | 22 | <groupId>org.springframework.boot</groupId>
|
28 | 23 | <artifactId>spring-boot-starter-data-jpa</artifactId>
|
29 |
| - <exclusions> |
30 |
| - <exclusion> |
31 |
| - <groupId>ch.qos.logback</groupId> |
32 |
| - <artifactId>logback-classic</artifactId> |
33 |
| - </exclusion> |
34 |
| - </exclusions> |
35 | 24 | </dependency>
|
| 25 | + |
36 | 26 | <dependency>
|
37 |
| - <groupId>org.hibernate</groupId> |
| 27 | + <groupId>org.hibernate.orm</groupId> |
38 | 28 | <artifactId>hibernate-spatial</artifactId>
|
39 | 29 | </dependency>
|
| 30 | + |
| 31 | + <dependency> |
| 32 | + <groupId>org.springframework.boot</groupId> |
| 33 | + <artifactId>spring-boot-starter-validation</artifactId> |
| 34 | + </dependency> |
40 | 35 | <dependency>
|
41 | 36 | <groupId>com.vaadin</groupId>
|
42 | 37 | <artifactId>vaadin-spring-boot-starter</artifactId>
|
43 | 38 | </dependency>
|
| 39 | + |
44 | 40 | <dependency>
|
45 |
| - <groupId>org.springframework.boot</groupId> |
46 |
| - <artifactId>spring-boot-starter-validation</artifactId> |
| 41 | + <groupId>org.parttio</groupId> |
| 42 | + <artifactId>maplibre</artifactId> |
| 43 | + <version>0.0.4-SNAPSHOT</version> |
47 | 44 | </dependency>
|
| 45 | + |
48 | 46 | <dependency>
|
49 |
| - <groupId>org.springframework.boot</groupId> |
50 |
| - <artifactId>spring-boot-devtools</artifactId> |
51 |
| - <scope>runtime</scope> |
52 |
| - <optional>true</optional> |
| 47 | + <groupId>in.virit</groupId> |
| 48 | + <artifactId>viritin</artifactId> |
| 49 | + <version>2.7.3</version> |
53 | 50 | </dependency>
|
54 |
| - |
| 51 | + |
55 | 52 | <dependency>
|
56 |
| - <groupId>org.opengeo</groupId> |
57 |
| - <artifactId>geodb</artifactId> |
58 |
| - <version>0.9</version> |
| 53 | + <groupId>com.mysql</groupId> |
| 54 | + <artifactId>mysql-connector-j</artifactId> |
59 | 55 | <scope>runtime</scope>
|
60 |
| - <exclusions> |
61 |
| - <!-- Use the newer version coming from Hibernate spatial --> |
62 |
| - <exclusion> |
63 |
| - <groupId>org.locationtech.jts</groupId> |
64 |
| - <artifactId>jts-core</artifactId> |
65 |
| - </exclusion> |
66 |
| - </exclusions> |
67 | 56 | </dependency>
|
68 |
| - |
69 |
| - <!-- <dependency> |
70 |
| - <groupId>mysql</groupId> |
71 |
| - <artifactId>mysql-connector-java</artifactId> |
72 |
| - <scope>runtime</scope> |
73 |
| - </dependency>--> |
74 |
| - |
75 | 57 | <dependency>
|
76 | 58 | <groupId>org.springframework.boot</groupId>
|
77 | 59 | <artifactId>spring-boot-starter-test</artifactId>
|
78 | 60 | <scope>test</scope>
|
79 | 61 | </dependency>
|
80 | 62 | <dependency>
|
81 | 63 | <groupId>org.springframework.boot</groupId>
|
82 |
| - <artifactId>spring-boot-configuration-processor</artifactId> |
83 |
| - <optional>true</optional> |
| 64 | + <artifactId>spring-boot-testcontainers</artifactId> |
| 65 | + <scope>test</scope> |
84 | 66 | </dependency>
|
85 | 67 | <dependency>
|
86 |
| - <groupId>org.vaadin</groupId> |
87 |
| - <artifactId>viritin</artifactId> |
88 |
| - <version>2.8</version> |
89 |
| - <type>jar</type> |
| 68 | + <groupId>org.testcontainers</groupId> |
| 69 | + <artifactId>junit-jupiter</artifactId> |
| 70 | + <scope>test</scope> |
90 | 71 | </dependency>
|
91 | 72 | <dependency>
|
92 |
| - <groupId>com.vaadin</groupId> |
93 |
| - <artifactId>vaadin-context-menu</artifactId> |
| 73 | + <groupId>org.testcontainers</groupId> |
| 74 | + <artifactId>mysql</artifactId> |
| 75 | + <scope>test</scope> |
94 | 76 | </dependency>
|
95 | 77 | <dependency>
|
96 |
| - <groupId>org.vaadin.addon</groupId> |
97 |
| - <artifactId>v-leaflet-editable</artifactId> |
98 |
| - <version>3.0.0</version> |
| 78 | + <groupId>org.springframework.boot</groupId> |
| 79 | + <artifactId>spring-boot-devtools</artifactId> |
| 80 | + <version>3.2.2</version> |
| 81 | + <scope>test</scope> |
99 | 82 | </dependency>
|
100 | 83 | </dependencies>
|
101 | 84 | <dependencyManagement>
|
|
109 | 92 | </dependency>
|
110 | 93 | </dependencies>
|
111 | 94 | </dependencyManagement>
|
| 95 | + |
112 | 96 | <build>
|
113 | 97 | <plugins>
|
114 | 98 | <plugin>
|
115 | 99 | <groupId>org.springframework.boot</groupId>
|
116 | 100 | <artifactId>spring-boot-maven-plugin</artifactId>
|
117 | 101 | </plugin>
|
118 |
| - <plugin> |
119 |
| - <groupId>com.vaadin</groupId> |
120 |
| - <artifactId>vaadin-maven-plugin</artifactId> |
121 |
| - <version>${vaadin.version}</version> |
122 |
| - <executions> |
123 |
| - <execution> |
124 |
| - <goals> |
125 |
| - <goal>update-widgetset</goal> |
126 |
| - <goal>compile</goal> |
127 |
| - </goals> |
128 |
| - </execution> |
129 |
| - </executions> |
130 |
| - </plugin> |
131 | 102 | </plugins>
|
132 | 103 | </build>
|
133 |
| - <repositories> |
134 |
| - <repository> |
135 |
| - <!-- Needed for geodb --> |
136 |
| - <id>boundless</id> |
137 |
| - <url>http://repo.boundlessgeo.com/main/</url> |
138 |
| - </repository> |
139 |
| - <repository> |
140 |
| - <id>vaadin-addons</id> |
141 |
| - <url>http://maven.vaadin.com/vaadin-addons</url> |
142 |
| - </repository> |
143 |
| - <repository> |
144 |
| - <!-- Needed for geotools --> |
145 |
| - <id>osgeo</id> |
146 |
| - <name>Open Source Geospatial Foundation Repository</name> |
147 |
| - <url>http://download.osgeo.org/webdav/geotools/</url> |
148 |
| - </repository> |
149 |
| - </repositories> |
| 104 | + |
| 105 | + <profiles> |
| 106 | + <profile> |
| 107 | + <id>production</id> |
| 108 | + <build> |
| 109 | + <plugins> |
| 110 | + <plugin> |
| 111 | + <groupId>com.vaadin</groupId> |
| 112 | + <artifactId>vaadin-maven-plugin</artifactId> |
| 113 | + <version>${vaadin.version}</version> |
| 114 | + <executions> |
| 115 | + <execution> |
| 116 | + <id>frontend</id> |
| 117 | + <phase>compile</phase> |
| 118 | + <goals> |
| 119 | + <goal>prepare-frontend</goal> |
| 120 | + <goal>build-frontend</goal> |
| 121 | + </goals> |
| 122 | + </execution> |
| 123 | + </executions> |
| 124 | + </plugin> |
| 125 | + </plugins> |
| 126 | + </build> |
| 127 | + </profile> |
| 128 | + </profiles> |
| 129 | + |
150 | 130 | </project>
|
0 commit comments