323 lines
		
	
	
		
			13 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			323 lines
		
	
	
		
			13 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<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>
 | 
						|
    <groupId>com.baeldung</groupId>
 | 
						|
    <artifactId>core-java-io</artifactId>
 | 
						|
    <version>0.1.0-SNAPSHOT</version>
 | 
						|
    <packaging>jar</packaging>
 | 
						|
    <name>core-java-io</name>
 | 
						|
 | 
						|
    <parent>
 | 
						|
        <groupId>com.baeldung</groupId>
 | 
						|
        <artifactId>parent-java</artifactId>
 | 
						|
        <version>0.0.1-SNAPSHOT</version>
 | 
						|
        <relativePath>../parent-java</relativePath>
 | 
						|
    </parent>
 | 
						|
 | 
						|
    <dependencies>
 | 
						|
        <!-- utils -->
 | 
						|
        <dependency>
 | 
						|
            <groupId>net.sourceforge.collections</groupId>
 | 
						|
            <artifactId>collections-generic</artifactId>
 | 
						|
            <version>${collections-generic.version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.apache.commons</groupId>
 | 
						|
            <artifactId>commons-collections4</artifactId>
 | 
						|
            <version>${commons-collections4.version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>commons-io</groupId>
 | 
						|
            <artifactId>commons-io</artifactId>
 | 
						|
            <version>${commons-io.version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.apache.commons</groupId>
 | 
						|
            <artifactId>commons-lang3</artifactId>
 | 
						|
            <version>${commons-lang3.version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.apache.commons</groupId>
 | 
						|
            <artifactId>commons-math3</artifactId>
 | 
						|
            <version>${commons-math3.version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.decimal4j</groupId>
 | 
						|
            <artifactId>decimal4j</artifactId>
 | 
						|
            <version>${decimal4j.version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.bouncycastle</groupId>
 | 
						|
            <artifactId>bcprov-jdk15on</artifactId>
 | 
						|
            <version>${bouncycastle.version}</version>
 | 
						|
        </dependency>
 | 
						|
        <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.version}</version>
 | 
						|
            <scope>test</scope>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>com.jayway.awaitility</groupId>
 | 
						|
            <artifactId>awaitility</artifactId>
 | 
						|
            <version>${avaitility.version}</version>
 | 
						|
            <scope>test</scope>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>commons-codec</groupId>
 | 
						|
            <artifactId>commons-codec</artifactId>
 | 
						|
            <version>${commons-codec.version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.javamoney</groupId>
 | 
						|
            <artifactId>moneta</artifactId>
 | 
						|
            <version>${moneta.version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.owasp.esapi</groupId>
 | 
						|
            <artifactId>esapi</artifactId>
 | 
						|
            <version>${esapi.version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>com.sun.messaging.mq</groupId>
 | 
						|
            <artifactId>fscontext</artifactId>
 | 
						|
            <version>${fscontext.version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>com.codepoetics</groupId>
 | 
						|
            <artifactId>protonpack</artifactId>
 | 
						|
            <version>${protonpack.version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>one.util</groupId>
 | 
						|
            <artifactId>streamex</artifactId>
 | 
						|
            <version>${streamex.version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>io.vavr</groupId>
 | 
						|
            <artifactId>vavr</artifactId>
 | 
						|
            <version>${vavr.version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.openjdk.jmh</groupId>
 | 
						|
            <artifactId>jmh-core</artifactId>
 | 
						|
            <version>${jmh-core.version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.openjdk.jmh</groupId>
 | 
						|
            <artifactId>jmh-generator-annprocess</artifactId>
 | 
						|
            <version>${jmh-generator-annprocess.version}</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.hsqldb</groupId>
 | 
						|
            <artifactId>hsqldb</artifactId>
 | 
						|
            <version>${hsqldb.version}</version>
 | 
						|
            <scope>runtime</scope>
 | 
						|
        </dependency>
 | 
						|
        <!-- https://mvnrepository.com/artifact/org.asynchttpclient/async-http-client -->
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.asynchttpclient</groupId>
 | 
						|
            <artifactId>async-http-client</artifactId>
 | 
						|
            <version>${async-http-client.version}</version>
 | 
						|
        </dependency>
 | 
						|
    </dependencies>
 | 
						|
 | 
						|
    <build>
 | 
						|
        <finalName>core-java-io</finalName>
 | 
						|
        <resources>
 | 
						|
            <resource>
 | 
						|
                <directory>src/main/resources</directory>
 | 
						|
                <filtering>true</filtering>
 | 
						|
            </resource>
 | 
						|
        </resources>
 | 
						|
        <plugins>
 | 
						|
            <plugin>
 | 
						|
                <groupId>org.apache.maven.plugins</groupId>
 | 
						|
                <artifactId>maven-surefire-plugin</artifactId>
 | 
						|
                <configuration>
 | 
						|
                    <excludes>
 | 
						|
                        <exclude>**/*LiveTest.java</exclude>
 | 
						|
                        <exclude>**/*IntegrationTest.java</exclude>
 | 
						|
                        <exclude>**/*IntTest.java</exclude>
 | 
						|
                        <exclude>**/*LongRunningUnitTest.java</exclude>
 | 
						|
                        <exclude>**/*ManualTest.java</exclude>
 | 
						|
                    </excludes>
 | 
						|
                    <testFailureIgnore>true</testFailureIgnore>
 | 
						|
                </configuration>
 | 
						|
            </plugin>
 | 
						|
            <plugin>
 | 
						|
                <groupId>org.springframework.boot</groupId>
 | 
						|
                <artifactId>spring-boot-maven-plugin</artifactId>
 | 
						|
                <version>${spring-boot-maven-plugin.version}</version>
 | 
						|
                <executions>
 | 
						|
                    <execution>
 | 
						|
                        <goals>
 | 
						|
                            <goal>repackage</goal>
 | 
						|
                        </goals>
 | 
						|
                        <configuration>
 | 
						|
                            <classifier>spring-boot</classifier>
 | 
						|
                            <mainClass>org.baeldung.executable.ExecutableMavenJar</mainClass>
 | 
						|
                        </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>
 | 
						|
                        <classpath />
 | 
						|
                        <argument>com.baeldung.outofmemoryerror.OutOfMemoryGCLimitExceed</argument>
 | 
						|
                    </arguments>
 | 
						|
                </configuration>
 | 
						|
            </plugin>
 | 
						|
            <plugin>
 | 
						|
                <groupId>org.apache.maven.plugins</groupId>
 | 
						|
                <artifactId>maven-javadoc-plugin</artifactId>
 | 
						|
                <version>${maven-javadoc-plugin.version}</version>
 | 
						|
                <configuration>
 | 
						|
                    <source>${maven.compiler.source}</source>
 | 
						|
                    <target>${maven.compiler.target}</target>
 | 
						|
                </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>
 | 
						|
 | 
						|
                        <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>
 | 
						|
                                        <classpath />
 | 
						|
                                        <argument>org.openjdk.jmh.Main</argument>
 | 
						|
                                        <argument>.*</argument>
 | 
						|
                                    </arguments>
 | 
						|
                                </configuration>
 | 
						|
                            </execution>
 | 
						|
                        </executions>
 | 
						|
                    </plugin>
 | 
						|
                </plugins>
 | 
						|
            </build>
 | 
						|
        </profile>
 | 
						|
    </profiles>
 | 
						|
 | 
						|
    <properties>
 | 
						|
        <!-- marshalling -->
 | 
						|
        <jackson.version>2.8.5</jackson.version>
 | 
						|
 | 
						|
        <!-- util -->
 | 
						|
        <commons-lang3.version>3.5</commons-lang3.version>
 | 
						|
        <bouncycastle.version>1.55</bouncycastle.version>
 | 
						|
        <commons-codec.version>1.10</commons-codec.version>
 | 
						|
        <commons-math3.version>3.6.1</commons-math3.version>
 | 
						|
        <decimal4j.version>1.0.3</decimal4j.version>
 | 
						|
        <commons-collections4.version>4.1</commons-collections4.version>
 | 
						|
        <collections-generic.version>4.01</collections-generic.version>
 | 
						|
        <unix4j.version>0.4</unix4j.version>
 | 
						|
        <grep4j.version>1.8.7</grep4j.version>
 | 
						|
        <lombok.version>1.16.12</lombok.version>
 | 
						|
        <fscontext.version>4.6-b01</fscontext.version>
 | 
						|
        <protonpack.version>1.13</protonpack.version>
 | 
						|
        <streamex.version>0.6.5</streamex.version>
 | 
						|
        <vavr.version>0.9.0</vavr.version>
 | 
						|
 | 
						|
        <!-- testing -->
 | 
						|
        <assertj.version>3.6.1</assertj.version>
 | 
						|
        <avaitility.version>1.7.0</avaitility.version>
 | 
						|
 | 
						|
        <!-- maven plugins -->
 | 
						|
        <maven.compiler.source>1.8</maven.compiler.source>
 | 
						|
        <maven.compiler.target>1.8</maven.compiler.target>
 | 
						|
        <maven-javadoc-plugin.version>3.0.0-M1</maven-javadoc-plugin.version>
 | 
						|
        <hsqldb.version>2.4.0</hsqldb.version>
 | 
						|
        <esapi.version>2.1.0.1</esapi.version>
 | 
						|
        <jmh-generator-annprocess.version>1.19</jmh-generator-annprocess.version>
 | 
						|
        <async-http-client.version>2.4.5</async-http-client.version>
 | 
						|
        <spring-boot-maven-plugin.version>2.0.4.RELEASE</spring-boot-maven-plugin.version>
 | 
						|
    </properties>
 | 
						|
 | 
						|
</project> |