2021-03-28 12:00:33 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2021-05-13 13:17:40 -04: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>
|
|
|
|
<artifactId>spring-boot-react</artifactId>
|
2021-03-28 12:00:33 -04:00
|
|
|
|
|
|
|
<parent>
|
|
|
|
<artifactId>spring-boot-modules</artifactId>
|
|
|
|
<groupId>com.baeldung.spring-boot-modules</groupId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
2021-06-11 10:55:37 -04:00
|
|
|
<version>${spring-boot.version}</version>
|
2021-03-28 12:00:33 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
2021-06-11 10:55:37 -04:00
|
|
|
<version>${spring-boot.version}</version>
|
2021-03-28 12:00:33 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
2021-06-11 10:55:37 -04:00
|
|
|
<version>${h2.version}</version>
|
2021-03-28 12:00:33 -04:00
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.javafaker</groupId>
|
|
|
|
<artifactId>javafaker</artifactId>
|
2021-06-11 10:55:37 -04:00
|
|
|
<version>${javafaker.version}</version>
|
2021-03-28 12:00:33 -04:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
2021-06-11 10:55:37 -04:00
|
|
|
<version>${spring-boot.version}</version>
|
2021-03-28 12:00:33 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
2021-04-03 08:51:08 -04:00
|
|
|
<version>3.1.0</version>
|
2021-03-28 12:00:33 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-resources</id>
|
|
|
|
<phase>process-classes</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${basedir}/target/classes/static</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>frontend/build</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.eirslett</groupId>
|
|
|
|
<artifactId>frontend-maven-plugin</artifactId>
|
|
|
|
<version>${frontend-maven-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<workingDirectory>frontend</workingDirectory>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>install node</id>
|
|
|
|
<goals>
|
|
|
|
<goal>install-node-and-yarn</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<nodeVersion>${node.version}</nodeVersion>
|
|
|
|
<yarnVersion>${yarn.version}</yarnVersion>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>yarn install</id>
|
|
|
|
<goals>
|
|
|
|
<goal>yarn</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>yarn test</id>
|
|
|
|
<goals>
|
|
|
|
<goal>yarn</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>test</phase>
|
|
|
|
<configuration>
|
|
|
|
<arguments>test</arguments>
|
|
|
|
<environmentVariables>
|
|
|
|
<CI>true</CI>
|
|
|
|
</environmentVariables>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>yarn build</id>
|
|
|
|
<goals>
|
|
|
|
<goal>yarn</goal>
|
|
|
|
</goals>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<configuration>
|
|
|
|
<arguments>build</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2021-05-13 13:17:40 -04:00
|
|
|
<properties>
|
|
|
|
<maven.compiler.source>11</maven.compiler.source>
|
|
|
|
<maven.compiler.target>11</maven.compiler.target>
|
|
|
|
<frontend-maven-plugin.version>1.6</frontend-maven-plugin.version>
|
|
|
|
<node.version>v10.14.2</node.version>
|
|
|
|
<yarn.version>v1.12.1</yarn.version>
|
2021-06-11 10:55:37 -04:00
|
|
|
<spring-boot.version>2.4.4</spring-boot.version>
|
|
|
|
<h2.version>1.4.200</h2.version>
|
|
|
|
<javafaker.version>1.0.2</javafaker.version>
|
2021-05-13 13:17:40 -04:00
|
|
|
</properties>
|
|
|
|
|
2021-03-28 12:00:33 -04:00
|
|
|
</project>
|