<?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>libraries-3</artifactId> <name>libraries-3</name> <parent> <groupId>com.baeldung</groupId> <artifactId>parent-modules</artifactId> <version>1.0.0-SNAPSHOT</version> </parent> <dependencies> <dependency> <groupId>com.beust</groupId> <artifactId>jcommander</artifactId> <version>${jcommander.version}</version> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>${lombok.version}</version> </dependency> <dependency> <groupId>com.github.rvesse</groupId> <artifactId>airline</artifactId> <version>${airline.version}</version> </dependency> <dependency> <groupId>org.cactoos</groupId> <artifactId>cactoos</artifactId> <version>${cactoos.version}</version> </dependency> <dependency> <groupId>org.cache2k</groupId> <artifactId>cache2k-base-bom</artifactId> <version>${cache2k.version}</version> <type>pom</type> </dependency> <dependency> <groupId>com.jcabi</groupId> <artifactId>jcabi-aspects</artifactId> <version>${jcabi-aspects.version}</version> </dependency> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjrt</artifactId> <version>${aspectjrt.version}</version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.takes</groupId> <artifactId>takes</artifactId> <version>${takes.version}</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpcore</artifactId> <version>${httpcore.version}</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>${httpclient.version}</version> </dependency> <dependency> <groupId>org.apache.velocity</groupId> <artifactId>velocity-engine-core</artifactId> <version>${velocity-engine-core.version}</version> </dependency> <dependency> <groupId>com.uber.nullaway</groupId> <artifactId>nullaway</artifactId> <version>0.3.0</version> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-compiler-javac-errorprone</artifactId> <version>2.8</version> </dependency> <!-- override plexus-compiler-javac-errorprone's dependency on Error Prone with the latest version --> <dependency> <groupId>com.google.errorprone</groupId> <artifactId>error_prone_core</artifactId> <version>2.1.3</version> </dependency> </dependencies> <repositories> <repository> <id>jitpack.io</id> <url>https://jitpack.io</url> </repository> </repositories> <build> <finalName>libraries-3</finalName> <plugins> <plugin> <groupId>com.jcabi</groupId> <artifactId>jcabi-maven-plugin</artifactId> <version>${jcabi-maven-plugin.version}</version> <executions> <execution> <goals> <goal>ajc</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjtools</artifactId> <version>${aspectjtools.version}</version> </dependency> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjweaver</artifactId> <version>${aspectjweaver.version}</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.5</version> <configuration> <compilerId>javac-with-errorprone</compilerId> <forceJavacCompilerUse>true</forceJavacCompilerUse> <source>1.8</source> <target>1.8</target> <showWarnings>true</showWarnings> <annotationProcessorPaths> <path> <groupId>com.uber.nullaway</groupId> <artifactId>nullaway</artifactId> <version>0.3.0</version> </path> </annotationProcessorPaths> <compilerArgs> <!-- NullAway will warn by default, uncomment the next line to make the build fail --> <!-- <arg>-Xep:NullAway:ERROR</arg> --> <arg>-XepExcludedPaths:(.*)/test/.*|(.*)/jcabi/.*</arg> <arg>-XepOpt:NullAway:AnnotatedPackages=com.baeldung.nullaway</arg> </compilerArgs> </configuration> <dependencies> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-compiler-javac-errorprone</artifactId> <version>2.8</version> </dependency> <!-- override plexus-compiler-javac-errorprone's dependency on Error Prone with the latest version --> <dependency> <groupId>com.google.errorprone</groupId> <artifactId>error_prone_core</artifactId> <version>2.3.4</version> </dependency> </dependencies> </plugin> </plugins> <resources> <resource> <directory>src/main/webapp</directory> <filtering>true</filtering> </resource> </resources> </build> <profiles> <profile> <id>reload</id> <build> <resources> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> </resource> <resource> <directory>src/main/webapp</directory> <filtering>true</filtering> </resource> </resources> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>${exec-maven-plugin.version}</version> <executions> <execution> <id>start-server</id> <phase>pre-integration-test</phase> <goals> <goal>java</goal> </goals> </execution> </executions> <configuration> <mainClass>com.baeldung.takes.TakesApp</mainClass> <cleanupDaemonThreads>false</cleanupDaemonThreads> <arguments> <argument>--port=${port}</argument> </arguments> </configuration> </plugin> </plugins> </build> </profile> </profiles> <properties> <jcommander.version>1.78</jcommander.version> <lombok.version>1.18.6</lombok.version> <cactoos.version>0.43</cactoos.version> <airline.version>2.7.2</airline.version> <cache2k.version>1.2.3.Final</cache2k.version> <jcabi-aspects.version>0.22.6</jcabi-aspects.version> <aspectjrt.version>1.9.2</aspectjrt.version> <jcabi-maven-plugin.version>0.14.1</jcabi-maven-plugin.version> <aspectjtools.version>1.9.2</aspectjtools.version> <aspectjweaver.version>1.9.2</aspectjweaver.version> <takes.version>1.19</takes.version> <httpcore.version>4.4.13</httpcore.version> <httpclient.version>4.5.12</httpclient.version> <velocity-engine-core.version>2.2</velocity-engine-core.version> <exec-maven-plugin.version>1.6.0</exec-maven-plugin.version> </properties> </project>