java-tutorials/vaadin/pom.xml

125 lines
4.3 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
2024-03-05 16:46:51 -05:00
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>
<groupId>org.test</groupId>
<artifactId>vaadin</artifactId>
<version>1.0-SNAPSHOT</version>
<name>vaadin</name>
<parent>
<groupId>com.baeldung</groupId>
2024-03-05 16:46:51 -05:00
<artifactId>parent-boot-3</artifactId>
<version>0.0.1-SNAPSHOT</version>
2024-03-05 16:46:51 -05:00
<relativePath>../parent-boot-3</relativePath>
</parent>
2019-12-05 09:56:52 -05:00
2024-03-05 16:46:51 -05:00
<properties>
<java.version>17</java.version>
<vaadin.version>24.3.3</vaadin.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-bom</artifactId>
<version>${vaadin.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
2019-12-05 09:56:52 -05:00
<dependencies>
<dependency>
<groupId>com.vaadin</groupId>
2024-03-05 16:46:51 -05:00
<artifactId>vaadin-core</artifactId>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
2024-03-05 16:46:51 -05:00
<artifactId>vaadin-spring-boot-starter</artifactId>
</dependency>
<dependency>
2024-03-05 16:46:51 -05:00
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
2024-03-05 16:46:51 -05:00
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
<dependency>
2024-03-05 16:46:51 -05:00
<groupId>io.projectreactor</groupId>
<artifactId>reactor-core</artifactId>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-maven-plugin</artifactId>
2024-03-05 16:46:51 -05:00
<version>${vaadin.version}</version>
<executions>
<execution>
<goals>
<goal>prepare-frontend</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
<profiles>
<profile>
2024-03-05 16:46:51 -05:00
<!-- Production mode is activated using -Pproduction -->
<id>production</id>
<dependencies>
<!-- Exclude development dependencies from production -->
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-core</artifactId>
<exclusions>
<exclusion>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-dev</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-maven-plugin</artifactId>
<version>${vaadin.version}</version>
<executions>
<execution>
<goals>
<goal>build-frontend</goal>
</goals>
<phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>