mirror of
https://github.com/wahyd4/pinpoint.git
synced 2026-08-16 08:16:15 +10:00
git-svn-id: http://svn.bds.nhncorp.com/pe/hippo-tomcat-profiler/trunk@2283 84d0f5b1-2673-498c-a247-62c4ff18d310
422 lines
14 KiB
XML
422 lines
14 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/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>com.nhn.pinpoint</groupId>
|
|
<artifactId>pinpoint-profiler</artifactId>
|
|
<version>0.0.4-SNAPSHOT</version>
|
|
<name>pinpoint profiler</name>
|
|
<packaging>jar</packaging>
|
|
|
|
<properties>
|
|
<spring.version>3.1.2.RELEASE</spring.version>
|
|
<slf4j.version>1.7.5</slf4j.version>
|
|
<metrics.version>3.0.1</metrics.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>0.0.4-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>
|
|
<dependency>
|
|
<groupId>com.nhn.pinpoint</groupId>
|
|
<artifactId>pinpoint-thrift</artifactId>
|
|
<version>0.0.4-SNAPSHOT</version>
|
|
<exclusions>
|
|
<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>
|
|
|
|
<dependency>
|
|
<groupId>com.nhn.pinpoint</groupId>
|
|
<artifactId>pinpoint-bootstrap</artifactId>
|
|
<version>0.0.4-SNAPSHOT</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.nhn.pinpoint</groupId>
|
|
<artifactId>pinpoint-rpc</artifactId>
|
|
<version>0.0.4-SNAPSHOT</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.netty</groupId>
|
|
<artifactId>netty</artifactId>
|
|
<version>3.6.6.Final</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>14.0.1</version>
|
|
</dependency>
|
|
|
|
<!-- [Start] Compile Interceptors -->
|
|
<dependency>
|
|
<groupId>com.nhncorp.lucy</groupId>
|
|
<artifactId>lucy-npc</artifactId>
|
|
<version>1.5.19</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<artifactId>httpclient</artifactId>
|
|
<version>4.1.3</version>
|
|
<scope>provided</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>commons-codec</artifactId>
|
|
<groupId>commons-codec</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>commons-logging</artifactId>
|
|
<groupId>commons-logging</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
<version>5.1.14</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>oracle</groupId>
|
|
<artifactId>ojdbc6</artifactId>
|
|
<version>11.1.0.7.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.nhncorp.lucy</groupId>
|
|
<artifactId>lucy-bloc-http11</artifactId>
|
|
<version>5.5.23</version>
|
|
<scope>provided</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>commons-modeler</groupId>
|
|
<artifactId>commons-modeler</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>commons-logging</artifactId>
|
|
<groupId>commons-logging</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<!-- [End] Compile Interceptors -->
|
|
|
|
<!-- 3.17.0 버전이 나왔으나 compile이 1.7로 되어 있어서 버전시 문제 있음 좀있음 1.6이하로 다시 컴파일해 줄듯 하니 기둘리자.-->
|
|
<dependency>
|
|
<groupId>org.javassist</groupId>
|
|
<artifactId>javassist</artifactId>
|
|
<version>3.16.1-GA</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.thrift</groupId>
|
|
<artifactId>libthrift</artifactId>
|
|
<version>0.9.1</version>
|
|
<scope>compile</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>httpclient</artifactId>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>httpcore</artifactId>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<groupId>org.slf4j</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.tomcat</groupId>
|
|
<artifactId>servlet-api</artifactId>
|
|
<version>6.0.35</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.tomcat</groupId>
|
|
<artifactId>catalina</artifactId>
|
|
<version>6.0.35</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>arcus</groupId>
|
|
<artifactId>arcus-client</artifactId>
|
|
<version>1.6.2.1</version>
|
|
<scope>provided</scope>
|
|
</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>compile</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>compile</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>log4j</groupId>
|
|
<artifactId>log4j</artifactId>
|
|
<version>1.2.16</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<!-- serving performance metrics -->
|
|
<dependency>
|
|
<groupId>com.codahale.metrics</groupId>
|
|
<artifactId>metrics-core</artifactId>
|
|
<version>${metrics.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.codahale.metrics</groupId>
|
|
<artifactId>metrics-jvm</artifactId>
|
|
<version>${metrics.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.codahale.metrics</groupId>
|
|
<artifactId>metrics-json</artifactId>
|
|
<version>${metrics.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.codahale.metrics</groupId>
|
|
<artifactId>metrics-healthchecks</artifactId>
|
|
<version>${metrics.version}</version>
|
|
</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>
|
|
<resource>
|
|
<directory>${basedir}/src/main/resources-${env}</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>
|
|
<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>-->
|
|
<debug>true</debug>
|
|
<optimize>true</optimize>
|
|
<encoding>UTF-8</encoding>
|
|
<!--<showDeprecation>true</showDeprecation>-->
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>2.4</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.14</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>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>2.3</version>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>**/pinpoint.config</exclude>
|
|
<exclude>**/log4j.xml</exclude>
|
|
</excludes>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<profiles>
|
|
<!-- Local server -->
|
|
<profile>
|
|
<id>local</id>
|
|
<activation>
|
|
<activeByDefault>true</activeByDefault>
|
|
</activation>
|
|
<properties>
|
|
<env>local</env>
|
|
<deploy-path>deploy</deploy-path>
|
|
</properties>
|
|
</profile>
|
|
|
|
<!-- Development server -->
|
|
<profile>
|
|
<id>dev</id>
|
|
<properties>
|
|
<env>dev</env>
|
|
</properties>
|
|
</profile>
|
|
|
|
<!-- real server -->
|
|
<profile>
|
|
<id>release</id>
|
|
<properties>
|
|
<env>release</env>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project>
|