mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-18 17:26:14 +10:00
git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-profiler-bootstrap/trunk@4008 84d0f5b1-2673-498c-a247-62c4ff18d310
351 lines
13 KiB
XML
351 lines
13 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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>
|
|
|
|
<groupId>com.nhn.pinpoint</groupId>
|
|
<artifactId>pinpoint-bootstrap</artifactId>
|
|
<version>1.0.2-SNAPSHOT</version>
|
|
<name>pinpoint bootstrap</name>
|
|
<packaging>jar</packaging>
|
|
|
|
<properties>
|
|
<slf4j.version>1.7.5</slf4j.version>
|
|
</properties>
|
|
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>nhn.release.repository</id>
|
|
<name>nhncorp.release</name>
|
|
<url>dav:http://repo.nhncorp.com/maven2</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>nhn.snapshot.repository</id>
|
|
<name>nhncorp.snapshot</name>
|
|
<url>dav:http://repo.nhncorp.com/m2-snapshot-repository</url>
|
|
<uniqueVersion>true</uniqueVersion>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>nhn.release.repository</id>
|
|
<url>http://repo.nhncorp.com/maven2</url>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
</repository>
|
|
<repository>
|
|
<id>nhn.snapshot.repository</id>
|
|
<url>http://repo.nhncorp.com/m2-snapshot-repository</url>
|
|
<snapshots>
|
|
<!--<updatePolicy>always</updatePolicy>-->
|
|
<!--<checksumPolicy>fail</checksumPolicy>-->
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
<releases>
|
|
<enabled>false</enabled>
|
|
</releases>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.nhn.pinpoint</groupId>
|
|
<artifactId>pinpoint-commons</artifactId>
|
|
<version>1.0.2-SNAPSHOT</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.apache.hadoop</groupId>
|
|
<artifactId>hadoop-core</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.thrift</groupId>
|
|
<artifactId>libthrift</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.apache.hbase</groupId>
|
|
<artifactId>hbase</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- unit test -->
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.8.2</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.hamcrest</groupId>
|
|
<artifactId>hamcrest-library</artifactId>
|
|
<version>1.3</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-all</artifactId>
|
|
<version>1.8.4</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
|
|
<!-- Logging depedencies -->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<!-- commons-logging-adapter -->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
<version>1.2.16</version>
|
|
<scope>test</scope>
|
|
</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>
|
|
<groupId>com.atlassian.maven.plugins</groupId>
|
|
<artifactId>maven-clover2-plugin</artifactId>
|
|
<version>3.0.2</version>
|
|
<configuration>
|
|
<encoding>UTF-8</encoding>
|
|
<jdk>1.6</jdk>
|
|
<generateXml>true</generateXml>
|
|
<generateHtml>true</generateHtml>
|
|
<generateHistorical>false</generateHistorical>
|
|
<licenseLocation>clover.license</licenseLocation>
|
|
<singleCloverDatabase>false</singleCloverDatabase>
|
|
<includesTestSourceRoots>false</includesTestSourceRoots>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>2.6</version>
|
|
<configuration>
|
|
<encoding>UTF-8</encoding>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>2.5.1</version>
|
|
<inherited>true</inherited>
|
|
<configuration>
|
|
<source>1.6</source>
|
|
<target>1.6</target>
|
|
<debug>false</debug>
|
|
<optimize>true</optimize>
|
|
<encoding>UTF-8</encoding>
|
|
<showDeprecation>true</showDeprecation>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>1.7.1</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<dependencyReducedPomLocation>${basedir}/target/dependency-reduced-pom.xml</dependencyReducedPomLocation>
|
|
<artifactSet>
|
|
<includes>
|
|
<include>com.nhn.pinpoint:pinpoint-commons</include>
|
|
</includes>
|
|
</artifactSet>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>2.4</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<archive>
|
|
<manifestEntries>
|
|
<Premain-Class>com.nhn.pinpoint.bootstrap.PinpointBootStrap</Premain-Class>
|
|
<Pinpiont-Version>${version}</Pinpiont-Version>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.16</version>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>**/Mock*</exclude>
|
|
<exclude>**/Abstract*</exclude>
|
|
<exclude>**/*Helper</exclude>
|
|
<exclude>**/*$*</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>findbugs-maven-plugin</artifactId>
|
|
<version>2.5.2</version>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>com.atlassian.maven.plugins</groupId>
|
|
<artifactId>maven-clover2-plugin</artifactId>
|
|
<version>3.0.2</version>
|
|
<configuration>
|
|
<encoding>UTF-8</encoding>
|
|
<jdk>1.6</jdk>
|
|
<generateXml>true</generateXml>
|
|
<generateHtml>true</generateHtml>
|
|
<generateHistorical>false</generateHistorical>
|
|
<licenseLocation>clover.license</licenseLocation>
|
|
<singleCloverDatabase>false</singleCloverDatabase>
|
|
<includesTestSourceRoots>false</includesTestSourceRoots>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>findbugs-maven-plugin</artifactId>
|
|
<version>2.5.2</version>
|
|
<configuration>
|
|
<excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
|
|
<xmlOutput>true</xmlOutput>
|
|
<xmlOutputDirectory>${project.build.directory}/findbugs</xmlOutputDirectory>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
|
<version>3.0.1</version>
|
|
|
|
<configuration>
|
|
<linkXRef>true</linkXRef>
|
|
<sourceEncoding>UTF-8</sourceEncoding>
|
|
<targetJdk>1.6</targetJdk>
|
|
<!--<rulesets>-->
|
|
<!--<ruleset>/rulesets/unusedcode.xml</ruleset>-->
|
|
<!--<ruleset>/rulesets/basic.xml</ruleset>-->
|
|
<!--<ruleset>/rulesets/imports.xml</ruleset>-->
|
|
<!--<ruleset>/rulesets/design.xml</ruleset>-->
|
|
<!--</rulesets>-->
|
|
</configuration>
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
<groupId>com.atlassian.maven.plugins</groupId>
|
|
<artifactId>maven-clover2-plugin</artifactId>
|
|
<version>3.0.2</version>
|
|
<configuration>
|
|
<includesTestSourceRoots>true</includesTestSourceRoots>
|
|
<licenseLocation>clover.license</licenseLocation>
|
|
<encoding>UTF-8</encoding>
|
|
<jdk>1.6</jdk>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</reporting>
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>klocwork</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>com.klocwork.ps</groupId>
|
|
<artifactId>kwmaven</artifactId>
|
|
<configuration>
|
|
<buildspec_filename>${KWINJECT_OUT_PATH}</buildspec_filename>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>validate</phase>
|
|
<goals>
|
|
<goal>run</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|