| <?xml version="1.0" encoding="UTF-8"?> |
| <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"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <artifactId>invoicer</artifactId> |
| <groupId>pl.hackerspace</groupId> |
| <version>1.0.0-SNAPSHOT</version> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-bom</artifactId> |
| <version>${log4j2.version}</version> |
| <scope>import</scope> |
| <type>pom</type> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-dependencies</artifactId> |
| <version>${spring-boot.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-web</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-data-jpa</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.h2database</groupId> |
| <artifactId>h2</artifactId> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework.boot</groupId> |
| <artifactId>spring-boot-starter-test</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.yaml</groupId> |
| <artifactId>snakeyaml</artifactId> |
| <version>2.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.projectlombok</groupId> |
| <artifactId>lombok</artifactId> |
| <version>1.18.28</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jsoup</groupId> |
| <artifactId>jsoup</artifactId> |
| <version>1.16.1</version> |
| </dependency> |
| <dependency> |
| <groupId>org.xhtmlrenderer</groupId> |
| <artifactId>flying-saucer-pdf-openpdf</artifactId> |
| <version>9.1.22</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <version>3.1.0</version> |
| <configuration> |
| <executable>maven</executable> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>3.11.0</version> |
| <configuration> |
| <source>${java.version}</source> |
| <target>${java.version}</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>3.3.1</version> |
| <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>1.13.4</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> |
| <version>3.1.3</version> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <properties> |
| <java.version>17</java.version> |
| <maven.compiler.source>17</maven.compiler.source> |
| <maven.compiler.target>17</maven.compiler.target> |
| <node.version>v14.18.0</node.version> |
| <yarn.version>v1.12.1</yarn.version> |
| <spring-boot.version>3.1.3</spring-boot.version> |
| <javafaker.version>1.0.2</javafaker.version> |
| <log4j2.version>2.17.1</log4j2.version> |
| </properties> |
| |
| </project> |