microsoft/gctoolkit

Public

mirrored from https://github.com/microsoft/gctoolkitAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
acf75ec10d6e53cf7e19ec7cbe23804c7c19aca9

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

sample/pom.xml

88lines · modecode

1<?xml version="1.0" encoding="UTF-8"?>
2<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">
3 <modelVersion>4.0.0</modelVersion>
4
5 <parent>
6 <groupId>com.microsoft.gctoolkit</groupId>
7 <artifactId>gctoolkit</artifactId>
8 <version>2.0.4-SNAPSHOT</version>
9 <relativePath>../</relativePath>
10 </parent>
11
12 <artifactId>gctoolkit-sample</artifactId>
13 <description>Sample application for GCToolKit usage</description>
14 <url>${project.parent.url}</url>
15 <name>GCToolKit Sample</name>
16 <properties>
17 <gcLogFile>../gclogs/preunified/cms/defnew/details/defnew.log</gcLogFile>
18 </properties>
19
20
21 <dependencies>
22 <dependency>
23 <groupId>com.microsoft.gctoolkit</groupId>
24 <artifactId>gctoolkit-api</artifactId>
25 </dependency>
26 <dependency>
27 <groupId>com.microsoft.gctoolkit</groupId>
28 <artifactId>gctoolkit-vertx</artifactId>
29 </dependency>
30
31 <dependency>
32 <groupId>org.junit.jupiter</groupId>
33 <artifactId>junit-jupiter-api</artifactId>
34 <scope>test</scope>
35 </dependency>
36 <dependency>
37 <groupId>org.junit.jupiter</groupId>
38 <artifactId>junit-jupiter-engine</artifactId>
39 <scope>test</scope>
40 </dependency>
41 </dependencies>
42
43 <build>
44 <plugins>
45 <plugin>
46 <groupId>org.apache.maven.plugins</groupId>
47 <artifactId>maven-deploy-plugin</artifactId>
48 <configuration>
49 <skip>true</skip>
50 </configuration>
51 </plugin>
52 <plugin>
53 <groupId>org.apache.maven.plugins</groupId>
54 <artifactId>maven-surefire-plugin</artifactId>
55 <configuration>
56 <systemProperties>
57 <property>
58 <name>gcLogFile</name>
59 <value>${gcLogFile}</value>
60 </property>
61 </systemProperties>
62 </configuration>
63 </plugin>
64 <plugin>
65 <artifactId>maven-dependency-plugin</artifactId>
66 <configuration>
67 <outputDirectory>${project.build.directory}/lib</outputDirectory>
68 </configuration>
69 </plugin>
70 <plugin>
71 <groupId>org.codehaus.mojo</groupId>
72 <artifactId>exec-maven-plugin</artifactId>
73 <configuration>
74 <executable>java</executable>
75 <arguments>
76 <argument>--module-path</argument>
77 <!-- Create the modulepath using all project dependencies and project build directory -->
78 <modulepath/>
79 <argument>--module</argument>
80 <argument>com.microsoft.gctoolkit.sample/com.microsoft.gctoolkit.sample.Main</argument>
81 <argument>${gcLogFile}</argument>
82 </arguments>
83 </configuration>
84 </plugin>
85 </plugins>
86 </build>
87
88</project>
89