| 
									
										
										
										
											2019-12-05 16:56:52 +02:00
										 |  |  | <?xml version="1.0" encoding="UTF-8"?> | 
					
						
							| 
									
										
										
										
											2021-05-06 22:27:07 +05:30
										 |  |  | <project xmlns="http://maven.apache.org/POM/4.0.0" | 
					
						
							| 
									
										
										
										
											2020-03-15 18:22:24 +05:30
										 |  |  |     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 20:43:47 -05:00
										 |  |  |     <modelVersion>4.0.0</modelVersion> | 
					
						
							|  |  |  |     <artifactId>core-java-io</artifactId> | 
					
						
							|  |  |  |     <version>0.1.0-SNAPSHOT</version> | 
					
						
							|  |  |  |     <name>core-java-io</name> | 
					
						
							|  |  |  |     <packaging>jar</packaging> | 
					
						
							| 
									
										
										
										
											2021-08-03 00:27:15 +05:30
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-10-31 20:43:47 -05:00
										 |  |  |     <parent> | 
					
						
							| 
									
										
										
										
											2020-05-25 16:15:48 +02:00
										 |  |  |         <groupId>com.baeldung.core-java-modules</groupId> | 
					
						
							|  |  |  |         <artifactId>core-java-modules</artifactId> | 
					
						
							| 
									
										
										
										
											2019-10-31 20:43:47 -05: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> | 
					
						
							|  |  |  |     </dependencies> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <build> | 
					
						
							|  |  |  |         <finalName>core-java-io</finalName> | 
					
						
							|  |  |  |         <resources> | 
					
						
							|  |  |  |             <resource> | 
					
						
							|  |  |  |                 <directory>src/main/resources</directory> | 
					
						
							|  |  |  |                 <filtering>true</filtering> | 
					
						
							|  |  |  |             </resource> | 
					
						
							|  |  |  |         </resources> | 
					
						
							|  |  |  |         <plugins> | 
					
						
							|  |  |  |             <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> | 
					
						
							| 
									
										
										
										
											2020-03-15 18:22:24 +05:30
										 |  |  |                         <classpath /> | 
					
						
							| 
									
										
										
										
											2019-10-31 20:43:47 -05: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> | 
					
						
							|  |  |  |                 <configuration> | 
					
						
							|  |  |  |                     <source>${maven.compiler.source}</source> | 
					
						
							|  |  |  |                     <target>${maven.compiler.target}</target> | 
					
						
							|  |  |  |                 </configuration> | 
					
						
							|  |  |  |             </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-03 00:27:15 +05:30
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-10-31 20:43:47 -05: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> | 
					
						
							| 
									
										
										
										
											2020-03-15 18:22:24 +05:30
										 |  |  |                                         <classpath /> | 
					
						
							| 
									
										
										
										
											2019-10-31 20:43:47 -05:00
										 |  |  |                                         <argument>org.openjdk.jmh.Main</argument> | 
					
						
							|  |  |  |                                         <argument>.*</argument> | 
					
						
							|  |  |  |                                     </arguments> | 
					
						
							|  |  |  |                                 </configuration> | 
					
						
							|  |  |  |                             </execution> | 
					
						
							|  |  |  |                         </executions> | 
					
						
							|  |  |  |                     </plugin> | 
					
						
							|  |  |  |                 </plugins> | 
					
						
							|  |  |  |             </build> | 
					
						
							|  |  |  |         </profile> | 
					
						
							|  |  |  |     </profiles> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <properties> | 
					
						
							|  |  |  |         <!-- maven plugins --> | 
					
						
							|  |  |  |         <maven-javadoc-plugin.version>3.0.0-M1</maven-javadoc-plugin.version> | 
					
						
							|  |  |  |         <hsqldb.version>2.4.0</hsqldb.version> | 
					
						
							|  |  |  |         <!-- Mime Type Libraries --> | 
					
						
							|  |  |  |         <tika.version>1.18</tika.version> | 
					
						
							|  |  |  |         <jmime-magic.version>0.1.5</jmime-magic.version> | 
					
						
							|  |  |  |         <maven-jar-plugin.version>3.1.0</maven-jar-plugin.version> | 
					
						
							|  |  |  |         <fscontext.version>4.4.2</fscontext.version> | 
					
						
							|  |  |  |     </properties> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | </project> |