pom.xml 2.8 KB
Newer Older
F
Frankie Wu 已提交
1 2 3 4 5 6
<?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/maven-v4_0_0.xsd">
	<parent>
		<groupId>com.dianping.cat</groupId>
		<artifactId>parent</artifactId>
7
		<version>0.2.0-SNAPSHOT</version>
F
Frankie Wu 已提交
8 9 10 11 12 13 14 15 16
	</parent>
	<modelVersion>4.0.0</modelVersion>
	<artifactId>cat-job</artifactId>
	<name>CAT Job Analysis</name>
	<dependencies>
		<dependency>
			<groupId>com.dianping.cat</groupId>
			<artifactId>cat-core</artifactId>
		</dependency>
Y
You Yong 已提交
17 18 19 20 21 22 23 24
		<dependency>
			<groupId>com.site.dal</groupId>
			<artifactId>dal-jdbc</artifactId>
		</dependency>
		<dependency>
			<groupId>mysql</groupId>
			<artifactId>mysql-connector-java</artifactId>
		</dependency>
F
Frankie Wu 已提交
25 26 27 28
		<dependency>
			<groupId>org.apache.hadoop</groupId>
			<artifactId>hadoop-core</artifactId>
			<version>0.20.203.0</version>
29 30 31 32 33 34 35 36 37 38
			<exclusions>
				<exclusion>
					<groupId>tomcat</groupId>
					<artifactId>jasper-runtime</artifactId>
				</exclusion>
				<exclusion>
					<groupId>tomcat</groupId>
					<artifactId>jasper-compiler</artifactId>
				</exclusion>
			</exclusions>
F
Frankie Wu 已提交
39 40 41 42 43 44
		</dependency>
		<dependency>
			<groupId>org.codehaus.jackson</groupId>
			<artifactId>jackson-mapper-asl</artifactId>
			<version>1.9.4</version>
		</dependency>
S
sean.wang 已提交
45 46 47 48 49
		<dependency>
			<groupId>com.dianping.tkv</groupId>
			<artifactId>fkv</artifactId>
			<version>0.1.0-SNAPSHOT</version>
		</dependency>
F
Frankie Wu 已提交
50 51 52 53 54 55 56 57 58 59 60
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<scope>test</scope>
		</dependency>
	</dependencies>
	<build>
		<plugins>
			<plugin>
				<groupId>com.site.maven.plugins</groupId>
				<artifactId>maven-codegen-plugin</artifactId>
61
				<version>1.0.10</version>
F
Frankie Wu 已提交
62
				<executions>
Y
You Yong 已提交
63 64 65 66 67 68 69
					<execution>
						<id>generate dal jdbc model</id>
						<phase>generate-sources</phase>
						<goals>
							<goal>dal-jdbc</goal>
						</goals>
					</execution>
F
Frankie Wu 已提交
70 71 72 73 74 75 76
					<execution>
						<id>generate plexus component descriptor</id>
						<phase>process-classes</phase>
						<goals>
							<goal>plexus</goal>
						</goals>
						<configuration>
77
							<className>com.dianping.cat.job.build.ComponentsConfigurator</className>
F
Frankie Wu 已提交
78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<version>2.4</version>
				<configuration>
					<archive>
						<index>true</index>
						<manifest>
							<addClasspath>true</addClasspath>
							<classpathPrefix>lib/</classpathPrefix>
							<mainClass>com.dianping.cat.job.job.BrowserAnalyzer</mainClass>
						</manifest>
					</archive>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>