2019-12-05 09:56:52 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2020-03-15 08:52:24 -04: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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
2019-10-31 21:43:47 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<artifactId>core-java</artifactId>
|
|
|
|
<version>0.1.0-SNAPSHOT</version>
|
|
|
|
<name>core-java</name>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>parent-java</artifactId>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
<relativePath>../../parent-java</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.unix4j</groupId>
|
|
|
|
<artifactId>unix4j-command</artifactId>
|
|
|
|
<version>${unix4j.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.googlecode.grep4j</groupId>
|
|
|
|
<artifactId>grep4j</artifactId>
|
|
|
|
<version>${grep4j.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- web -->
|
|
|
|
<!-- marshalling -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
<version>${jackson.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- logging -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
<version>${log4j.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency> <!-- needed to bridge to slf4j for projects that use the log4j APIs directly -->
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>log4j-over-slf4j</artifactId>
|
|
|
|
<version>${org.slf4j.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
<version>${lombok.version}</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- test scoped -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-core</artifactId>
|
|
|
|
<version>${assertj-core.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.javamoney</groupId>
|
|
|
|
<artifactId>moneta</artifactId>
|
|
|
|
<version>${javamoney.moneta.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<finalName>core-java</finalName>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-dependencies</id>
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-dependencies</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${project.build.directory}/libs</outputDirectory>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<version>${exec-maven-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<executable>java</executable>
|
|
|
|
<mainClass>com.baeldung.outofmemoryerror.OutOfMemoryGCLimitExceed</mainClass>
|
|
|
|
<arguments>
|
|
|
|
<argument>-Xmx300m</argument>
|
|
|
|
<argument>-XX:+UseParallelGC</argument>
|
|
|
|
<argument>-classpath</argument>
|
2020-03-15 08:52:24 -04:00
|
|
|
<classpath />
|
2019-10-31 21:43:47 -04:00
|
|
|
<argument>com.baeldung.outofmemoryerror.OutOfMemoryGCLimitExceed</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-12-05 09:56:52 -05:00
|
|
|
|
2019-10-31 21:43:47 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<version>${maven-javadoc-plugin.version}</version>
|
|
|
|
<configuration>
|
2020-01-15 15:23:26 -05:00
|
|
|
<source>${source.version}</source>
|
|
|
|
<target>${target.version}</target>
|
2019-10-31 21:43:47 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>integration</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>integration-test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>test</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*ManualTest.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
<includes>
|
|
|
|
<include>**/*IntegrationTest.java</include>
|
|
|
|
<include>**/*IntTest.java</include>
|
|
|
|
</includes>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<test.mime>json</test.mime>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<version>${exec-maven-plugin.version}</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>run-benchmarks</id>
|
|
|
|
<!-- <phase>integration-test</phase> -->
|
|
|
|
<phase>none</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<classpathScope>test</classpathScope>
|
|
|
|
<executable>java</executable>
|
|
|
|
<arguments>
|
|
|
|
<argument>-classpath</argument>
|
2020-03-15 08:52:24 -04:00
|
|
|
<classpath />
|
2019-10-31 21:43:47 -04:00
|
|
|
<argument>org.openjdk.jmh.Main</argument>
|
|
|
|
<argument>.*</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<!-- util -->
|
|
|
|
<unix4j.version>0.4</unix4j.version>
|
|
|
|
<grep4j.version>1.8.7</grep4j.version>
|
2019-12-05 09:56:52 -05:00
|
|
|
|
2019-10-31 21:43:47 -04:00
|
|
|
<!-- testing -->
|
|
|
|
<assertj-core.version>3.10.0</assertj-core.version>
|
|
|
|
|
|
|
|
<!-- maven plugins -->
|
|
|
|
<javamoney.moneta.version>1.1</javamoney.moneta.version>
|
|
|
|
|
|
|
|
<maven-javadoc-plugin.version>3.0.0-M1</maven-javadoc-plugin.version>
|
|
|
|
<exec-maven-plugin.version>1.6.0</exec-maven-plugin.version>
|
2020-01-15 15:23:26 -05:00
|
|
|
<source.version>1.8</source.version>
|
|
|
|
<target.version>1.8</target.version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</properties>
|
2019-12-05 09:56:52 -05:00
|
|
|
|
2019-10-31 21:43:47 -04:00
|
|
|
</project>
|