microsoft/gctoolkit
Publicmirrored fromhttps://github.com/microsoft/gctoolkitAvailable
sample/pom.xml
57lines · 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.1-SNAPSHOT</version> |
| 9 | </parent> |
| 10 | |
| 11 | <artifactId>gctoolkit-sample</artifactId> |
| 12 | |
| 13 | <properties> |
| 14 | <gcLogFile>../gclogs/preunified/cms/defnew/details/defnew.log</gcLogFile> |
| 15 | </properties> |
| 16 | |
| 17 | <dependencies> |
| 18 | <dependency> |
| 19 | <groupId>com.microsoft.gctoolkit</groupId> |
| 20 | <artifactId>gctoolkit-api</artifactId> |
| 21 | <version>${project.version}</version> |
| 22 | </dependency> |
| 23 | <dependency> |
| 24 | <groupId>com.microsoft.gctoolkit</groupId> |
| 25 | <artifactId>gctoolkit-vertx</artifactId> |
| 26 | <version>${project.version}</version> |
| 27 | </dependency> |
| 28 | </dependencies> |
| 29 | |
| 30 | <build> |
| 31 | <plugins> |
| 32 | <plugin> |
| 33 | <artifactId>maven-dependency-plugin</artifactId> |
| 34 | <configuration> |
| 35 | <outputDirectory>${project.build.directory}/lib</outputDirectory> |
| 36 | </configuration> |
| 37 | </plugin> |
| 38 | <plugin> |
| 39 | <groupId>org.codehaus.mojo</groupId> |
| 40 | <artifactId>exec-maven-plugin</artifactId> |
| 41 | <version>3.0.0</version> |
| 42 | <configuration> |
| 43 | <executable>java</executable> |
| 44 | <arguments> |
| 45 | <argument>--module-path</argument> |
| 46 | <!-- Create the modulepath using all project dependencies and project build directory --> |
| 47 | <modulepath/> |
| 48 | <argument>--module</argument> |
| 49 | <argument>com.microsoft.gctoolkit.sample/com.microsoft.gctoolkit.sample.Main</argument> |
| 50 | <argument>${gcLogFile}</argument> |
| 51 | </arguments> |
| 52 | </configuration> |
| 53 | </plugin> |
| 54 | </plugins> |
| 55 | </build> |
| 56 | |
| 57 | </project> |
| 58 | |