| POM文件内容: |
<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/maven-v4_0_0.xsd">
<!--
Copyright 2012 Alexey Ragozin
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.gridkit.jvmtool</groupId>
<artifactId>sjk-extra-parsers-pom</artifactId>
<version>0.3</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>sjk-jfr</artifactId>
<name>${project.groupId}::${project.artifactId}</name>
<description>Java Flight Recorder Integration for SJK</description>
<properties>
<!--
This module require Mission Control jars to compile.
Mission Control is avaialble as part of JDK8, though version may wary.
In addtion, SJK is build with JDK6, so referencing though ${java.home} will not work.
You have to cofigure jmc.path and jmc.version properties in your settings.xml to build
this module.
-->
<build.jmc.path>${jmc.path}</build.jmc.path>
<!-- e.g. C:/Program files/Java/jdk1.8.0_121/lib/missioncontrol -->
<build.jmc.version>${jmc.version}</build.jmc.version>
<!-- e.g 5.5.1.172852 -->
</properties>
<dependencies>
<dependency>
<groupId>org.gridkit.jvmtool</groupId>
<artifactId>sjk-stacktrace</artifactId>
<version>0.6</version>
</dependency>
<dependency>
<groupId>com.jrockit.mc</groupId>
<artifactId>com.jrockit.mc.common</artifactId>
<version>PROVIDED</version>
<scope>system</scope>
<systemPath>${build.jmc.path}/plugins/com.jrockit.mc.common_${build.jmc.version}.jar</systemPath>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.jrockit.mc</groupId>
<artifactId>com.jrockit.mc.flightrecorder</artifactId>
<version>PROVIDED</version>
<scope>system</scope>
<systemPath>${build.jmc.path}/plugins/com.jrockit.mc.flightrecorder_${build.jmc.version}.jar</systemPath>
<optional>true</optional>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>1.6.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.carrotsearch</groupId>
<artifactId>junit-benchmarks</artifactId>
<version>0.7.2</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<!-- JMC jar are 1.6 compatible so JDK8 is not required for build. This may change is future.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-toolchains-plugin</artifactId>
<version>1.1</version>
<executions>
<execution>
<goals>
<goal>toolchain</goal>
</goals>
</execution>
</executions>
<configuration>
<toolchains>
<jdk>
<version>1.8</version>
<vendor>oracle</vendor>
</jdk>
</toolchains>
</configuration>
</plugin>
-->
</plugins>
</build>
</project>
|