Files
financer/financer-web-client/pom.xml

105 lines
4.0 KiB
XML

<?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>
<parent>
<groupId>de.77zzcx7.financer</groupId>
<artifactId>financer-parent</artifactId>
<version>27-SNAPSHOT</version>
</parent>
<artifactId>financer-web-client</artifactId>
<packaging>${packaging.type}</packaging>
<description>The web client part of the financer application - a simple app to manage your personal finances
</description>
<name>financer-web-client</name>
<properties>
<packaging.type>jar</packaging.type>
<activeProfiles>dev</activeProfiles>
<!-- Property to define the final name of the build artifact.
This used in combination with the build-war profile to change the .war file name
to e.g. financer#00004.war so that the application is accessible via the /financer
context path once deployed in a standalone servlet container instance. This also enables multiple
deployments of the application in the same servlet container just with different context
paths. Default is the artifactId, the build-war profile defines its own default.
Can be changed at build time via 'mvn ... -DfinalName=financer ...-->
<finalName>${project.artifactId}</finalName>
<deploymentProfile>mk</deploymentProfile>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
<!-- Apache commons -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
</dependency>
<!-- Misc dependencies -->
<dependency>
<groupId>org.jfree</groupId>
<artifactId>jfreechart</artifactId>
<version>1.5.0</version>
</dependency>
<!-- Financer dependencies -->
<dependency>
<groupId>de.77zzcx7.financer</groupId>
<artifactId>financer-common</artifactId>
</dependency>
<!-- Runtime dependencies -->
<!-- Test dependencies -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.restdocs</groupId>
<artifactId>spring-restdocs-mockmvc</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>build-war</id>
<properties>
<packaging.type>war</packaging.type>
<activeProfiles>${deploymentProfile}</activeProfiles>
<finalName>financer</finalName>
</properties>
<build>
<finalName>${finalName}-${deploymentProfile}##${parallelDeploymentVersion}</finalName>
</build>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
</profile>
</profiles>
</project>