2021-09-16 15:09:53 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2021-11-09 05:57:03 -05:00
|
|
|
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>maven-generate-war</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<name>maven-generate-war</name>
|
2022-03-13 05:18:44 -04:00
|
|
|
<packaging>war</packaging>
|
2021-11-09 05:57:03 -05:00
|
|
|
<description>Spring boot project to demonstrate war file generation</description>
|
|
|
|
|
|
|
|
<parent>
|
2022-08-08 09:40:32 -04:00
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>parent-boot-2</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<relativePath>../../parent-boot-2</relativePath>
|
2021-11-09 05:57:03 -05:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<finalName>maven-generate-war</finalName>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
2023-09-14 05:42:28 -04:00
|
|
|
<version>${maven-war-plugin.version}</version>
|
2021-11-09 05:57:03 -05:00
|
|
|
<configuration>
|
|
|
|
<webResources>
|
|
|
|
<resource>
|
|
|
|
<directory>additional_resources</directory>
|
|
|
|
</resource>
|
|
|
|
</webResources>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addClasspath>true</addClasspath>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2022-08-08 09:40:32 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<source>${maven.compiler.source.version}</source>
|
|
|
|
<target>${maven.compiler.target.version}</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2021-11-09 05:57:03 -05:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<java.version>11</java.version>
|
2022-02-22 11:23:39 -05:00
|
|
|
<log4j2.version>2.17.1</log4j2.version>
|
2022-08-08 09:40:32 -04:00
|
|
|
<maven.compiler.source.version>11</maven.compiler.source.version>
|
|
|
|
<maven.compiler.target.version>11</maven.compiler.target.version>
|
2021-11-09 05:57:03 -05:00
|
|
|
</properties>
|
2021-10-05 00:00:15 -04:00
|
|
|
|
2021-11-09 05:57:03 -05:00
|
|
|
</project>
|