pom.xml 5.1 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.4.1</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
		<dependency>
			<groupId>com.dianping.cat</groupId>
15
			<artifactId>cat-hadoop</artifactId>
Y
youyong 已提交
16
		</dependency>
F
Frankie Wu 已提交
17
		<dependency>
F
Frankie Wu 已提交
18 19
			<groupId>com.site.common</groupId>
			<artifactId>test-framework</artifactId>
20
			<scope>test</scope>
F
Frankie Wu 已提交
21
		</dependency>
Y
youyong 已提交
22 23 24
		<dependency>
			<groupId>com.google.code.gson</groupId>
			<artifactId>gson</artifactId>
F
Frankie Wu 已提交
25
			<scope>test</scope>
Y
youyong 已提交
26
		</dependency>
F
Frankie Wu 已提交
27
	</dependencies>
Y
youyong 已提交
28 29 30
	<build>
		<plugins>
			<plugin>
F
Frankie Wu 已提交
31
				<groupId>org.unidal.maven.plugins</groupId>
F
Frankie Wu 已提交
32
				<artifactId>codegen-maven-plugin</artifactId>
Y
You Yong 已提交
33
				<version>1.1.5</version>
Y
youyong 已提交
34
				<executions>
Y
youyong 已提交
35 36 37 38 39 40 41 42 43 44
					<execution>
						<id>generate database report model</id>
						<phase>generate-sources</phase>
						<goals>
							<goal>dal-model</goal>
						</goals>
						<configuration>
							<manifest>${basedir}/src/main/resources/META-INF/dal/model/database-report-manifest.xml</manifest>
						</configuration>
					</execution>
Y
youyong 已提交
45 46 47 48 49 50 51 52 53 54
					<execution>
						<id>generate sql report model</id>
						<phase>generate-sources</phase>
						<goals>
							<goal>dal-model</goal>
						</goals>
						<configuration>
							<manifest>${basedir}/src/main/resources/META-INF/dal/model/sql-report-manifest.xml</manifest>
						</configuration>
					</execution>
Y
youyong 已提交
55 56 57 58 59 60 61 62 63 64
					<execution>
						<id>generate month report model</id>
						<phase>generate-sources</phase>
						<goals>
							<goal>dal-model</goal>
						</goals>
						<configuration>
							<manifest>${basedir}/src/main/resources/META-INF/dal/model/month-report-manifest.xml</manifest>
						</configuration>
					</execution>
Y
youyong 已提交
65 66 67 68 69 70 71 72 73 74
					<execution>
						<id>generate common report model</id>
						<phase>generate-sources</phase>
						<goals>
							<goal>dal-model</goal>
						</goals>
						<configuration>
							<manifest>${basedir}/src/main/resources/META-INF/dal/model/common-report-manifest.xml</manifest>
						</configuration>
					</execution>
Y
youyong 已提交
75 76 77 78 79 80 81 82 83 84
					<execution>
						<id>generate cross report model</id>
						<phase>generate-sources</phase>
						<goals>
							<goal>dal-model</goal>
						</goals>
						<configuration>
							<manifest>${basedir}/src/main/resources/META-INF/dal/model/cross-report-manifest.xml</manifest>
						</configuration>
					</execution>
Y
You Yong 已提交
85 86 87 88 89 90 91 92 93 94
					<execution>
						<id>generate matrix report model</id>
						<phase>generate-sources</phase>
						<goals>
							<goal>dal-model</goal>
						</goals>
						<configuration>
							<manifest>${basedir}/src/main/resources/META-INF/dal/model/matrix-report-manifest.xml</manifest>
						</configuration>
					</execution>
Y
You Yong 已提交
95 96 97 98 99 100 101 102 103 104
					<execution>
						<id>generate heartbeat report model</id>
						<phase>generate-sources</phase>
						<goals>
							<goal>dal-model</goal>
						</goals>
						<configuration>
							<manifest>${basedir}/src/main/resources/META-INF/dal/model/heartbeat-report-manifest.xml</manifest>
						</configuration>
					</execution>
Y
youyong 已提交
105
					<execution>
F
Frankie Wu 已提交
106
						<id>generate problem report model</id>
107 108 109 110
						<phase>generate-sources</phase>
						<goals>
							<goal>dal-model</goal>
						</goals>
F
Frankie Wu 已提交
111 112 113 114 115 116 117 118 119 120
						<configuration>
							<manifest>${basedir}/src/main/resources/META-INF/dal/model/problem-report-manifest.xml</manifest>
						</configuration>
					</execution>
					<execution>
						<id>generate transaction report model</id>
						<phase>generate-sources</phase>
						<goals>
							<goal>dal-model</goal>
						</goals>
121 122 123 124
						<configuration>
							<manifest>${basedir}/src/main/resources/META-INF/dal/model/transaction-report-manifest.xml</manifest>
						</configuration>
					</execution>
F
Frankie Wu 已提交
125 126 127 128 129 130 131 132 133 134
					<execution>
						<id>generate event report model</id>
						<phase>generate-sources</phase>
						<goals>
							<goal>dal-model</goal>
						</goals>
						<configuration>
							<manifest>${basedir}/src/main/resources/META-INF/dal/model/event-report-manifest.xml</manifest>
						</configuration>
					</execution>
F
Frankie Wu 已提交
135
					<execution>
136
						<id>generate IP report model</id>
F
Frankie Wu 已提交
137 138 139 140 141
						<phase>generate-sources</phase>
						<goals>
							<goal>dal-model</goal>
						</goals>
						<configuration>
S
sean.wang 已提交
142
							<manifest>${basedir}/src/main/resources/META-INF/dal/model/ip-report-manifest.xml</manifest>
F
Frankie Wu 已提交
143 144
						</configuration>
					</execution>
145 146 147 148 149 150 151
					<execution>
						<id>generate plexus component descriptor</id>
						<phase>process-classes</phase>
						<goals>
							<goal>plexus</goal>
						</goals>
						<configuration>
F
Frankie Wu 已提交
152
							<className>com.dianping.cat.consumer.build.ComponentsConfigurator</className>
153 154 155
							<env>dev</env>
						</configuration>
					</execution>
Y
youyong 已提交
156 157 158 159
				</executions>
			</plugin>
		</plugins>
	</build>
F
Frankie Wu 已提交
160
</project>