168 lines
		
	
	
		
			6.8 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			168 lines
		
	
	
		
			6.8 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<?xml version="1.0" encoding="UTF-8"?>
 | 
						|
<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>
 | 
						|
    <artifactId>core-java-console</artifactId>
 | 
						|
    <packaging>jar</packaging>
 | 
						|
    <name>core-java-console</name>
 | 
						|
 | 
						|
    <parent>
 | 
						|
        <groupId>com.baeldung.core-java-modules</groupId>
 | 
						|
        <artifactId>core-java-modules</artifactId>
 | 
						|
        <version>0.0.1-SNAPSHOT</version>
 | 
						|
    </parent>
 | 
						|
 | 
						|
    <dependencies>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.fusesource.jansi</groupId>
 | 
						|
            <artifactId>jansi</artifactId>
 | 
						|
            <version>2.4.0</version>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>org.junit.vintage</groupId>
 | 
						|
            <artifactId>junit-vintage-engine</artifactId>
 | 
						|
            <exclusions>
 | 
						|
                <exclusion>
 | 
						|
                    <groupId>junit</groupId>
 | 
						|
                    <artifactId>junit</artifactId>
 | 
						|
                </exclusion>
 | 
						|
            </exclusions>
 | 
						|
        </dependency>
 | 
						|
        <dependency>
 | 
						|
            <groupId>de.vandermeer</groupId>
 | 
						|
            <artifactId>asciitable</artifactId>
 | 
						|
            <version>${ascii.version}</version>
 | 
						|
        </dependency>
 | 
						|
    </dependencies>
 | 
						|
 | 
						|
    <build>
 | 
						|
        <finalName>core-java-console</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>
 | 
						|
                <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>${source.version}</source>
 | 
						|
                    <target>${target.version}</target>
 | 
						|
                </configuration>
 | 
						|
            </plugin>
 | 
						|
            <plugin>
 | 
						|
                <groupId>org.apache.maven.plugins</groupId>
 | 
						|
                <artifactId>maven-surefire-plugin</artifactId>
 | 
						|
                <version>3.1.2</version>
 | 
						|
                <configuration>
 | 
						|
                    <excludeJUnit5Engines>
 | 
						|
                        <engine>junit-vintage-engine</engine>
 | 
						|
                    </excludeJUnit5Engines>
 | 
						|
                </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>
 | 
						|
        <maven-javadoc-plugin.version>3.6.2</maven-javadoc-plugin.version>
 | 
						|
        <source.version>1.8</source.version>
 | 
						|
        <target.version>1.8</target.version>
 | 
						|
        <ascii.version>0.3.2</ascii.version>
 | 
						|
    </properties>
 | 
						|
 | 
						|
</project> |