2019-12-05 09:56:52 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2021-05-06 12:57:07 -04:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
2020-03-15 08:52:24 -04:00
|
|
|
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-io</artifactId>
|
|
|
|
<name>core-java-io</name>
|
|
|
|
<packaging>jar</packaging>
|
2021-08-02 14:57:15 -04:00
|
|
|
|
2019-10-31 21:43:47 -04:00
|
|
|
<parent>
|
2020-05-25 10:15:48 -04:00
|
|
|
<groupId>com.baeldung.core-java-modules</groupId>
|
|
|
|
<artifactId>core-java-modules</artifactId>
|
2019-10-31 21:43:47 -04:00
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hsqldb</groupId>
|
|
|
|
<artifactId>hsqldb</artifactId>
|
|
|
|
<version>${hsqldb.version}</version>
|
|
|
|
<scope>runtime</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- Mime Type Resolution Libraries -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.tika</groupId>
|
|
|
|
<artifactId>tika-core</artifactId>
|
|
|
|
<version>${tika.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sf.jmimemagic</groupId>
|
|
|
|
<artifactId>jmimemagic</artifactId>
|
|
|
|
<version>${jmime-magic.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- Context Libraries -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.messaging.mq</groupId>
|
|
|
|
<artifactId>fscontext</artifactId>
|
|
|
|
<version>${fscontext.version}</version>
|
|
|
|
</dependency>
|
2022-10-04 08:03:59 -04:00
|
|
|
<dependency>
|
2023-08-23 08:07:11 -04:00
|
|
|
<groupId>org.eclipse.angus</groupId>
|
|
|
|
<artifactId>angus-activation</artifactId>
|
|
|
|
<version>${angus-activation.version}</version>
|
2022-10-04 08:03:59 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2019-10-31 21:43:47 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<finalName>core-java-io</finalName>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
2023-08-28 12:15:12 -04:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<source>11</source>
|
|
|
|
<target>11</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-10-31 21:43:47 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<executable>java</executable>
|
|
|
|
<mainClass>com.baeldung.outofmemoryerror.OutOfMemoryGCLimitExceed</mainClass>
|
|
|
|
<arguments>
|
|
|
|
<argument>-Xmx300m</argument>
|
|
|
|
<argument>-XX:+UseParallelGC</argument>
|
|
|
|
<argument>-classpath</argument>
|
2023-07-25 02:34:39 -04:00
|
|
|
<classpath/>
|
2019-10-31 21:43:47 -04:00
|
|
|
<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>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<!-- Build an executable JAR -->
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>${maven-jar-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addClasspath>true</addClasspath>
|
|
|
|
<mainClass>com.baeldung.resource.MyResourceLoader</mainClass>
|
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
2021-08-02 14:57:15 -04:00
|
|
|
|
2019-10-31 21:43:47 -04:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>integration</id>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<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>
|
2023-07-25 02:34:39 -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>
|
|
|
|
<!-- maven plugins -->
|
2023-08-23 08:07:11 -04:00
|
|
|
<maven-javadoc-plugin.version>3.5.0</maven-javadoc-plugin.version>
|
|
|
|
<hsqldb.version>2.7.1</hsqldb.version>
|
2019-10-31 21:43:47 -04:00
|
|
|
<!-- Mime Type Libraries -->
|
2023-08-23 08:07:11 -04:00
|
|
|
<tika.version>2.8.0</tika.version>
|
2019-10-31 21:43:47 -04:00
|
|
|
<jmime-magic.version>0.1.5</jmime-magic.version>
|
|
|
|
<fscontext.version>4.4.2</fscontext.version>
|
2023-08-23 08:07:11 -04:00
|
|
|
<jakarta-activation-api.version>2.1.2</jakarta-activation-api.version>
|
|
|
|
<angus-activation.version>2.0.1</angus-activation.version>
|
2019-10-31 21:43:47 -04:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
</project>
|