microsoft/gctoolkit

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
325025287eb158b4be32d8bea609c41453be0d50

Branches

Tags

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

Clone

HTTPS

Download ZIP

sample/pom.xml

89lines · 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
14 <properties>
15 <gcLogFile>../gclogs/preunified/cms/defnew/details/defnew.log</gcLogFile>
16 </properties>
17
18
19 <dependencies>
20 <dependency>
21 <groupId>com.microsoft.gctoolkit</groupId>
22 <artifactId>gctoolkit-api</artifactId>
23 </dependency>
24 <dependency>
25 <groupId>com.microsoft.gctoolkit</groupId>
26 <artifactId>gctoolkit-vertx</artifactId>
27 </dependency>
28
29 <dependency>
30 <groupId>org.junit.jupiter</groupId>
31 <artifactId>junit-jupiter-api</artifactId>
32 <scope>test</scope>
33 </dependency>
34 <dependency>
35 <groupId>org.junit.jupiter</groupId>
36 <artifactId>junit-jupiter-engine</artifactId>
37 <scope>test</scope>
38 </dependency>
39 </dependencies>
40
41 <build>
42 <plugins>
43 <plugin>
44 <groupId>org.apache.maven.plugins</groupId>
45 <artifactId>maven-deploy-plugin</artifactId>
46 <configuration>
47 <skip>true</skip>
48 </configuration>
49 </plugin>
50 <plugin>
51 <groupId>org.apache.maven.plugins</groupId>
52 <artifactId>maven-surefire-plugin</artifactId>
53 <configuration>
54 <systemProperties>
55 <property>
56 <name>gcLogFile</name>
57 <value>${gcLogFile}</value>
58 </property>
59 </systemProperties>
60 <argLine>
61 --add-opens com.microsoft.gctoolkit.sample/com.microsoft.gctoolkit.sample.collections=ALL-UNNAMED
62 </argLine>
63 </configuration>
64 </plugin>
65 <plugin>
66 <artifactId>maven-dependency-plugin</artifactId>
67 <configuration>
68 <outputDirectory>${project.build.directory}/lib</outputDirectory>
69 </configuration>
70 </plugin>
71 <plugin>
72 <groupId>org.codehaus.mojo</groupId>
73 <artifactId>exec-maven-plugin</artifactId>
74 <configuration>
75 <executable>java</executable>
76 <arguments>
77 <argument>--module-path</argument>
78 <!-- Create the modulepath using all project dependencies and project build directory -->
79 <modulepath/>
80 <argument>--module</argument>
81 <argument>com.microsoft.gctoolkit.sample/com.microsoft.gctoolkit.sample.Main</argument>
82 <argument>${gcLogFile}</argument>
83 </arguments>
84 </configuration>
85 </plugin>
86 </plugins>
87 </build>
88
89</project>
90