gctoolkit/sample/pom.xml

89 строки
3.3 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>
<parent>
<groupId>com.microsoft.gctoolkit</groupId>
<artifactId>gctoolkit</artifactId>
<version>2.0.4-SNAPSHOT</version>
<relativePath>../</relativePath>
</parent>
<artifactId>gctoolkit-sample</artifactId>
<description>Sample application for GCToolKit usage</description>
<url>${project.parent.url}</url>
<name>GCToolKit Sample</name>
<properties>
<gcLogFile>../gclogs/preunified/cms/defnew/details/defnew.log</gcLogFile>
</properties>
<dependencies>
<dependency>
<groupId>com.microsoft.gctoolkit</groupId>
<artifactId>gctoolkit-api</artifactId>
</dependency>
<dependency>
<groupId>com.microsoft.gctoolkit</groupId>
<artifactId>gctoolkit-vertx</artifactId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemProperties>
<property>
<name>gcLogFile</name>
<value>${gcLogFile}</value>
</property>
</systemProperties>
</configuration>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<configuration>
<outputDirectory>${project.build.directory}/lib</outputDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<configuration>
<executable>java</executable>
<arguments>
<argument>--module-path</argument>
<!-- Create the modulepath using all project dependencies and project build directory -->
<modulepath/>
<argument>--module</argument>
<argument>com.microsoft.gctoolkit.sample/com.microsoft.gctoolkit.sample.Main</argument>
<argument>${gcLogFile}</argument>
</arguments>
</configuration>
</plugin>
</plugins>
</build>
</project>