mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-19 09:47:27 +10:00
176 lines
6.2 KiB
XML
176 lines
6.2 KiB
XML
<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">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>com.nhn.pinpoint</groupId>
|
|
<artifactId>pom</artifactId>
|
|
<version>${pinpoint-version}</version>
|
|
</parent>
|
|
|
|
<artifactId>pinpoint-profiler-optional</artifactId>
|
|
<name>pinpoint profiler optional</name>
|
|
<description>pinpoint profiler optional package</description>
|
|
|
|
<properties>
|
|
<jdk.version>1.7</jdk.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.nhn.pinpoint</groupId>
|
|
<artifactId>pinpoint-profiler</artifactId>
|
|
<scope>provided</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>com.nhn.pinpoint</groupId>
|
|
<artifactId>pinpoint-commons</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>com.nhn.pinpoint</groupId>
|
|
<artifactId>pinpoint-bootstrap</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>com.nhn.pinpoint</groupId>
|
|
<artifactId>pinpoint-rpc</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>com.nhn.pinpoint</groupId>
|
|
<artifactId>pinpoint-thrift</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>${basedir}/src/main/java</directory>
|
|
<excludes>
|
|
<exclude>**/*.java</exclude>
|
|
</excludes>
|
|
</resource>
|
|
<resource>
|
|
<filtering>true</filtering>
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
</resource>
|
|
</resources>
|
|
<testResources>
|
|
<testResource>
|
|
<directory>${basedir}/src/test/java</directory>
|
|
<excludes>
|
|
<exclude>**/*.java</exclude>
|
|
</excludes>
|
|
</testResource>
|
|
<testResource>
|
|
<filtering>true</filtering>
|
|
<directory>${basedir}/src/test/resources</directory>
|
|
</testResource>
|
|
</testResources>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<debug>${compiler-debug}</debug>
|
|
<fork>true</fork>
|
|
<verbose>true</verbose>
|
|
<compilerVersion>${jdk.version}</compilerVersion>
|
|
<executable>${env.JAVA_7_HOME}/bin/javac</executable>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<configuration>
|
|
<tasks>
|
|
<copy file="${project.build.directory}/${project.build.finalName}.jar"
|
|
tofile="${basedir}/../profiler/target/pinpoint-agent/lib/${project.build.finalName}.jar">
|
|
</copy>
|
|
</tasks>
|
|
</configuration>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<configuration>
|
|
<jvm>${env.JAVA_7_HOME}/bin/java</jvm>
|
|
<forkMode>once</forkMode>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>findbugs-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.atlassian.maven.plugins</groupId>
|
|
<artifactId>maven-clover2-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
|
|
<!-- Local server -->
|
|
<profile>
|
|
<id>local</id>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
<properties>
|
|
<compiler-debug>true</compiler-debug>
|
|
</properties>
|
|
</profile>
|
|
|
|
<!-- Test server -->
|
|
<profile>
|
|
<id>test</id>
|
|
<properties>
|
|
<compiler-debug>true</compiler-debug>
|
|
</properties>
|
|
</profile>
|
|
|
|
<!-- Development server -->
|
|
<profile>
|
|
<id>dev</id>
|
|
<properties>
|
|
<compiler-debug>true</compiler-debug>
|
|
</properties>
|
|
</profile>
|
|
|
|
<!-- real server -->
|
|
<profile>
|
|
<id>release</id>
|
|
<properties>
|
|
<compiler-debug>false</compiler-debug>
|
|
</properties>
|
|
</profile>
|
|
|
|
<profile>
|
|
<id>klocwork</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.klocwork.ps</groupId>
|
|
<artifactId>kwmaven</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project> |