<?xml version="1.0" encoding="UTF-8"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <artifactId>oauth2-authorization-server</artifactId> <packaging>war</packaging> <name>oauth2-authorization-server</name> <parent> <groupId>com.baeldung.oauth2</groupId> <artifactId>oauth2-framework-impl</artifactId> <version>1.0-SNAPSHOT</version> </parent> <properties> <h2.version>1.4.199</h2.version> <httpPort>9080</httpPort> <httpsPort>9443</httpsPort> </properties> <dependencies> <dependency> <groupId>com.nimbusds</groupId> <artifactId>nimbus-jose-jwt</artifactId> <version>7.3</version> </dependency> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-jdk15on</artifactId> <version>1.62</version> </dependency> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcpkix-jdk15on</artifactId> <version>1.62</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>net.wasdev.wlp.maven.plugins</groupId> <artifactId>liberty-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>copy-h2-dependency</id> <phase>package</phase> <goals> <goal>copy</goal> </goals> </execution> </executions> <configuration> <artifactItems> <artifactItem> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> <version>${h2.version}</version> <type>jar</type> <outputDirectory>${project.build.directory}/liberty/wlp/usr/shared/resources/ </outputDirectory> </artifactItem> </artifactItems> </configuration> </plugin> </plugins> </build> </project>