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>
7
		<version>0.6.2</version>
F
Frankie Wu 已提交
8 9 10
	</parent>
	<modelVersion>4.0.0</modelVersion>
	<artifactId>cat-core</artifactId>
Y
yong.you 已提交
11
	<name>cat-core</name>
12
	<packaging>jar</packaging>
F
Frankie Wu 已提交
13
	<dependencies>
14 15 16 17
		<dependency>
			<groupId>com.dianping.cat</groupId>
			<artifactId>cat-client</artifactId>
		</dependency>
F
Frankie Wu 已提交
18
		<dependency>
Y
youyong 已提交
19 20
			<groupId>org.unidal.framework</groupId>
			<artifactId>foundation-service</artifactId>
F
Frankie Wu 已提交
21
			<version>2.0.3</version>
F
Frankie Wu 已提交
22
		</dependency>
23
		<dependency>
S
sunryuan 已提交
24 25 26 27 28
         <groupId>org.unidal.webres</groupId>
         <artifactId>WebResBase</artifactId>
         <version>1.2.0</version>
      	</dependency>
		<dependency>
29 30
			<groupId>org.unidal.framework</groupId>
			<artifactId>dal-jdbc</artifactId>
F
Frankie Wu 已提交
31
			<version>2.0.3</version>
32
		</dependency>
F
Frankie Wu 已提交
33 34 35 36
		<dependency>
			<groupId>org.jboss.netty</groupId>
			<artifactId>netty</artifactId>
		</dependency>
Y
youyong 已提交
37
		<dependency>
Y
youyong 已提交
38 39
			<groupId>javax.servlet</groupId>
			<artifactId>servlet-api</artifactId>
F
Frankie Wu 已提交
40
			<scope>provided</scope>
Y
youyong 已提交
41 42 43 44
		</dependency>
		<dependency>
			<groupId>log4j</groupId>
			<artifactId>log4j</artifactId>
F
Frankie Wu 已提交
45
			<optional>true</optional>
Y
You Yong 已提交
46
			<scope>provided</scope>
F
Frankie Wu 已提交
47 48
		</dependency>
		<dependency>
Y
youyong 已提交
49
			<groupId>org.unidal.framework</groupId>
F
Frankie Wu 已提交
50
			<artifactId>test-framework</artifactId>
F
Frankie Wu 已提交
51
			<version>2.0.3</version>
F
Frankie Wu 已提交
52
			<scope>test</scope>
Y
youyong 已提交
53
		</dependency>
F
Frankie Wu 已提交
54
	</dependencies>
Y
youyong 已提交
55 56
	<build>
		<plugins>
F
Frankie Wu 已提交
57
			<plugin>
F
Frankie Wu 已提交
58
				<groupId>org.unidal.maven.plugins</groupId>
F
Frankie Wu 已提交
59
				<artifactId>codegen-maven-plugin</artifactId>
F
Frankie Wu 已提交
60
				<version>2.0.5</version>
F
Frankie Wu 已提交
61 62
				<executions>
					<execution>
63
						<id>generate data model</id>
F
Frankie Wu 已提交
64 65 66 67 68
						<phase>generate-sources</phase>
						<goals>
							<goal>dal-model</goal>
						</goals>
						<configuration>
69
							<manifest>
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
								${basedir}/src/main/resources/META-INF/dal/model/server-manifest.xml,
							</manifest>
						</configuration>
					</execution>
					<execution>
						<id>generate dal jdbc model</id>
						<phase>generate-sources</phase>
						<goals>
							<goal>dal-jdbc</goal>
						</goals>
						<configuration>
							<manifest>
								${basedir}/src/main/resources/META-INF/dal/jdbc/report-manifest.xml,
								${basedir}/src/main/resources/META-INF/dal/jdbc/config-manifest.xml,
							</manifest>
						</configuration>
					</execution>
					<execution>
						<id>generate plexus component descriptor</id>
						<phase>process-classes</phase>
						<goals>
							<goal>plexus</goal>
						</goals>
						<configuration>
							<className>com.dianping.cat.build.ComponentsConfigurator</className>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
F
Frankie Wu 已提交
101
</project>
102