pom.xml 2.2 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 13 14 15 16
	</parent>
	<modelVersion>4.0.0</modelVersion>
	<artifactId>cat-core</artifactId>
	<name>CAT Core</name>
	<dependencies>
		<dependency>
			<groupId>com.site.common</groupId>
			<artifactId>lookup</artifactId>
		</dependency>
F
Frankie Wu 已提交
17 18 19 20
		<dependency>
			<groupId>org.jboss.netty</groupId>
			<artifactId>netty</artifactId>
		</dependency>
Y
youyong 已提交
21
		<dependency>
Y
youyong 已提交
22 23
			<groupId>javax.servlet</groupId>
			<artifactId>servlet-api</artifactId>
F
Frankie Wu 已提交
24
			<scope>provided</scope>
Y
youyong 已提交
25 26 27 28
		</dependency>
		<dependency>
			<groupId>log4j</groupId>
			<artifactId>log4j</artifactId>
F
Frankie Wu 已提交
29
			<optional>true</optional>
Y
You Yong 已提交
30
			<scope>provided</scope>
F
Frankie Wu 已提交
31 32 33 34 35
		</dependency>
		<dependency>
			<groupId>com.site.common</groupId>
			<artifactId>test-framework</artifactId>
			<scope>test</scope>
Y
youyong 已提交
36
		</dependency>
F
Frankie Wu 已提交
37
	</dependencies>
Y
youyong 已提交
38 39
	<build>
		<plugins>
F
Frankie Wu 已提交
40
			<plugin>
F
Frankie Wu 已提交
41
				<groupId>org.unidal.maven.plugins</groupId>
F
Frankie Wu 已提交
42
				<artifactId>codegen-maven-plugin</artifactId>
43
				<version>1.1.9</version>
F
Frankie Wu 已提交
44 45
				<executions>
					<execution>
46
						<id>generate data model</id>
F
Frankie Wu 已提交
47 48 49 50 51
						<phase>generate-sources</phase>
						<goals>
							<goal>dal-model</goal>
						</goals>
						<configuration>
52 53 54 55
							<manifest>
							${basedir}/src/main/resources/META-INF/dal/model/client-manifest.xml,
							${basedir}/src/main/resources/META-INF/dal/model/server-manifest.xml,
							${basedir}/src/main/resources/META-INF/dal/model/status-manifest.xml,
56 57 58
							</manifest>
						</configuration>
					</execution>
F
Frankie Wu 已提交
59 60 61 62 63 64 65
					<execution>
						<id>generate plexus component descriptor</id>
						<phase>process-classes</phase>
						<goals>
							<goal>plexus</goal>
						</goals>
						<configuration>
F
Frankie Wu 已提交
66
							<className>com.dianping.cat.build.ComponentsConfigurator</className>
F
Frankie Wu 已提交
67 68
						</configuration>
					</execution>
F
Frankie Wu 已提交
69 70
				</executions>
			</plugin>
Y
youyong 已提交
71 72
		</plugins>
	</build>
F
Frankie Wu 已提交
73
</project>