pom.xml 2.9 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>
F
Frankie Wu 已提交
7
		<version>0.4.2</version>
F
Frankie Wu 已提交
8 9 10 11 12
	</parent>
	<modelVersion>4.0.0</modelVersion>
	<artifactId>cat-consumer</artifactId>
	<name>CAT Consumer</name>
	<dependencies>
Y
youyong 已提交
13 14 15 16 17
		<dependency>
			<groupId>com.dianping.bee</groupId>
			<artifactId>bee-engine</artifactId>
			<version>0.0.1-SNAPSHOT</version>
		</dependency>
Y
youyong 已提交
18 19
		<dependency>
			<groupId>com.dianping.cat</groupId>
20
			<artifactId>cat-hadoop</artifactId>
Y
youyong 已提交
21
		</dependency>
F
Frankie Wu 已提交
22
		<dependency>
F
Frankie Wu 已提交
23 24
			<groupId>com.site.common</groupId>
			<artifactId>test-framework</artifactId>
25
			<scope>test</scope>
F
Frankie Wu 已提交
26
		</dependency>
Y
youyong 已提交
27 28 29
		<dependency>
			<groupId>com.google.code.gson</groupId>
			<artifactId>gson</artifactId>
F
Frankie Wu 已提交
30
			<scope>test</scope>
Y
youyong 已提交
31
		</dependency>
F
Frankie Wu 已提交
32
	</dependencies>
Y
youyong 已提交
33 34 35
	<build>
		<plugins>
			<plugin>
F
Frankie Wu 已提交
36
				<groupId>org.unidal.maven.plugins</groupId>
F
Frankie Wu 已提交
37
				<artifactId>codegen-maven-plugin</artifactId>
F
Frankie Wu 已提交
38
				<version>1.1.6</version>
Y
youyong 已提交
39
				<executions>
Y
youyong 已提交
40
					<execution>
F
Frankie Wu 已提交
41
						<id>generate report models</id>
Y
youyong 已提交
42 43 44 45 46
						<phase>generate-sources</phase>
						<goals>
							<goal>dal-model</goal>
						</goals>
						<configuration>
F
Frankie Wu 已提交
47 48 49
							<manifest>
							${basedir}/src/main/resources/META-INF/dal/model/database-report-manifest.xml,
							${basedir}/src/main/resources/META-INF/dal/model/sql-report-manifest.xml,
Y
youyong 已提交
50
							${basedir}/src/main/resources/META-INF/dal/model/health-report-manifest.xml,
Y
youyong 已提交
51
							${basedir}/src/main/resources/META-INF/dal/model/month-report-manifest.xml,
F
Frankie Wu 已提交
52 53 54 55 56 57 58 59 60
							${basedir}/src/main/resources/META-INF/dal/model/common-report-manifest.xml,
							${basedir}/src/main/resources/META-INF/dal/model/cross-report-manifest.xml,
							${basedir}/src/main/resources/META-INF/dal/model/matrix-report-manifest.xml,
							${basedir}/src/main/resources/META-INF/dal/model/heartbeat-report-manifest.xml,
							${basedir}/src/main/resources/META-INF/dal/model/problem-report-manifest.xml,
							${basedir}/src/main/resources/META-INF/dal/model/transaction-report-manifest.xml,
							${basedir}/src/main/resources/META-INF/dal/model/event-report-manifest.xml,
							${basedir}/src/main/resources/META-INF/dal/model/ip-report-manifest.xml,
							</manifest>
F
Frankie Wu 已提交
61 62
						</configuration>
					</execution>
63 64 65 66 67 68 69
					<execution>
						<id>generate plexus component descriptor</id>
						<phase>process-classes</phase>
						<goals>
							<goal>plexus</goal>
						</goals>
						<configuration>
F
Frankie Wu 已提交
70
							<className>com.dianping.cat.consumer.build.ComponentsConfigurator</className>
71 72 73
							<env>dev</env>
						</configuration>
					</execution>
Y
youyong 已提交
74 75 76 77
				</executions>
			</plugin>
		</plugins>
	</build>
F
Frankie Wu 已提交
78
</project>