microsoft/gctoolkit
Publicmirrored fromhttps://github.com/microsoft/gctoolkitAvailable
sample/pom.xml
97lines · 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>3.6.0-SNAPSHOT</version> |
| 9 | <relativePath>../pom.xml</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 | <dependencies> |
| 21 | <dependency> |
| 22 | <groupId>com.microsoft.gctoolkit</groupId> |
| 23 | <artifactId>gctoolkit-api</artifactId> |
| 24 | </dependency> |
| 25 | <dependency> |
| 26 | <groupId>com.microsoft.gctoolkit</groupId> |
| 27 | <artifactId>gctoolkit-parser</artifactId> |
| 28 | </dependency> |
| 29 | <dependency> |
| 30 | <groupId>com.microsoft.gctoolkit</groupId> |
| 31 | <artifactId>gctoolkit-vertx</artifactId> |
| 32 | </dependency> |
| 33 | <dependency> |
| 34 | <groupId>org.junit.jupiter</groupId> |
| 35 | <artifactId>junit-jupiter-api</artifactId> |
| 36 | <scope>test</scope> |
| 37 | </dependency> |
| 38 | <dependency> |
| 39 | <groupId>org.junit.jupiter</groupId> |
| 40 | <artifactId>junit-jupiter-engine</artifactId> |
| 41 | <scope>test</scope> |
| 42 | </dependency> |
| 43 | </dependencies> |
| 44 | |
| 45 | <build> |
| 46 | <plugins> |
| 47 | <plugin> |
| 48 | <groupId>org.apache.maven.plugins</groupId> |
| 49 | <artifactId>maven-deploy-plugin</artifactId> |
| 50 | <configuration> |
| 51 | <skip>true</skip> |
| 52 | </configuration> |
| 53 | </plugin> |
| 54 | <plugin> |
| 55 | <groupId>org.apache.maven.plugins</groupId> |
| 56 | <artifactId>maven-surefire-plugin</artifactId> |
| 57 | <configuration> |
| 58 | <systemProperties> |
| 59 | <property> |
| 60 | <name>gcLogFile</name> |
| 61 | <value>${gcLogFile}</value> |
| 62 | </property> |
| 63 | </systemProperties> |
| 64 | </configuration> |
| 65 | </plugin> |
| 66 | <plugin> |
| 67 | <artifactId>maven-dependency-plugin</artifactId> |
| 68 | <configuration> |
| 69 | <outputDirectory>${project.build.directory}/lib</outputDirectory> |
| 70 | </configuration> |
| 71 | </plugin> |
| 72 | <plugin> |
| 73 | <groupId>org.codehaus.mojo</groupId> |
| 74 | <artifactId>exec-maven-plugin</artifactId> |
| 75 | <configuration> |
| 76 | <executable>java</executable> |
| 77 | <arguments> |
| 78 | <argument>--module-path</argument> |
| 79 | <!-- Create the modulepath using all project dependencies and project build directory --> |
| 80 | <modulepath /> |
| 81 | <argument>--module</argument> |
| 82 | <argument>com.microsoft.gctoolkit.sample/com.microsoft.gctoolkit.sample.Main</argument> |
| 83 | <argument>${gcLogFile}</argument> |
| 84 | </arguments> |
| 85 | </configuration> |
| 86 | </plugin> |
| 87 | <plugin> |
| 88 | <groupId>org.apache.maven.plugins</groupId> |
| 89 | <artifactId>maven-javadoc-plugin</artifactId> |
| 90 | <configuration> |
| 91 | <skip>true</skip> |
| 92 | </configuration> |
| 93 | </plugin> |
| 94 | </plugins> |
| 95 | </build> |
| 96 | |
| 97 | </project> |
| 98 | |