| 
									
										
										
										
											2019-12-05 16:56:52 +02:00
										 |  |  | <?xml version="1.0" encoding="UTF-8"?> | 
					
						
							| 
									
										
										
										
											2020-03-15 18:22:24 +05:30
										 |  |  | <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 20:43:47 -05:00
										 |  |  |     <modelVersion>4.0.0</modelVersion> | 
					
						
							|  |  |  |     <artifactId>core-java-sun</artifactId> | 
					
						
							|  |  |  |     <version>0.1.0-SNAPSHOT</version> | 
					
						
							|  |  |  |     <name>core-java-sun</name> | 
					
						
							|  |  |  |     <packaging>jar</packaging> | 
					
						
							|  |  |  |     <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> | 
					
						
							| 
									
										
										
										
											2020-05-25 16:15:48 +02:00
										 |  |  |         <relativePath>../</relativePath> | 
					
						
							| 
									
										
										
										
											2019-10-31 20:43:47 -05:00
										 |  |  |     </parent> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <dependencies> | 
					
						
							|  |  |  |         <!-- test scoped --> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.assertj</groupId> | 
					
						
							|  |  |  |             <artifactId>assertj-core</artifactId> | 
					
						
							|  |  |  |             <version>${assertj.version}</version> | 
					
						
							|  |  |  |             <scope>test</scope> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>com.sun</groupId> | 
					
						
							|  |  |  |             <artifactId>tools</artifactId> | 
					
						
							|  |  |  |             <version>${sun-tools.version}</version> | 
					
						
							|  |  |  |             <scope>system</scope> | 
					
						
							|  |  |  |             <systemPath>${java.home}/../lib/tools.jar</systemPath> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  |     </dependencies> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <build> | 
					
						
							| 
									
										
										
										
											2019-12-05 16:56:52 +02:00
										 |  |  |         <finalName>core-java-sun</finalName> | 
					
						
							| 
									
										
										
										
											2019-10-31 20:43:47 -05:00
										 |  |  |         <resources> | 
					
						
							|  |  |  |             <resource> | 
					
						
							|  |  |  |                 <directory>src/main/resources</directory> | 
					
						
							|  |  |  |                 <filtering>true</filtering> | 
					
						
							|  |  |  |             </resource> | 
					
						
							|  |  |  |         </resources> | 
					
						
							|  |  |  |         <plugins> | 
					
						
							|  |  |  |             <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 18:22:24 +05:30
										 |  |  |                         <classpath /> | 
					
						
							| 
									
										
										
										
											2019-10-31 20:43:47 -05:00
										 |  |  |                         <argument>com.baeldung.outofmemoryerror.OutOfMemoryGCLimitExceed</argument> | 
					
						
							|  |  |  |                     </arguments> | 
					
						
							|  |  |  |                 </configuration> | 
					
						
							|  |  |  |             </plugin> | 
					
						
							|  |  |  |         </plugins> | 
					
						
							|  |  |  |     </build> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <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> | 
					
						
							|  |  |  |         <!-- testing --> | 
					
						
							|  |  |  |         <assertj.version>3.6.1</assertj.version> | 
					
						
							|  |  |  |         <avaitility.version>1.7.0</avaitility.version> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         <!-- maven plugins --> | 
					
						
							|  |  |  |         <sun-tools.version>1.8.0</sun-tools.version> | 
					
						
							|  |  |  |     </properties> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | </project> |