pom.xml 2.7 KB
Newer Older
F
Frankie Wu 已提交
1 2 3 4 5 6 7 8 9 10 11
<?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>
		<version>0.1.0</version>
	</parent>
	<modelVersion>4.0.0</modelVersion>
	<artifactId>cat-home</artifactId>
	<name>CAT Home</name>
F
Frankie Wu 已提交
12
	<packaging>war</packaging>
F
Frankie Wu 已提交
13
	<dependencies>
F
Frankie Wu 已提交
14 15 16 17
		<dependency>
			<groupId>com.dianping.cat</groupId>
			<artifactId>cat-consumer</artifactId>
		</dependency>
F
Frankie Wu 已提交
18
		<dependency>
F
Frankie Wu 已提交
19 20 21 22 23 24 25 26 27 28 29
			<groupId>com.site.app</groupId>
			<artifactId>app-core</artifactId>
		</dependency>
		<dependency>
			<groupId>com.site.dal</groupId>
			<artifactId>dal-jdbc</artifactId>
		</dependency>
		<dependency>
			<groupId>com.site.common</groupId>
			<artifactId>web-framework</artifactId>
		</dependency>
F
Frankie Wu 已提交
30 31 32 33
		<dependency>
			<groupId>com.ebay.webres</groupId>
			<artifactId>WebResServer</artifactId>
		</dependency>
F
Frankie Wu 已提交
34 35 36 37 38 39 40 41
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>servlet-api</artifactId>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.mortbay.jetty</groupId>
			<artifactId>jsp-2.1</artifactId>
F
touch  
Frankie Wu 已提交
42
			<scope>provided</scope>
F
Frankie Wu 已提交
43 44 45 46 47
		</dependency>
		<dependency>
			<groupId>mysql</groupId>
			<artifactId>mysql-connector-java</artifactId>
			<scope>runtime</scope>
F
Frankie Wu 已提交
48 49 50
		</dependency>
		<dependency>
			<groupId>com.site.common</groupId>
F
Frankie Wu 已提交
51 52
			<artifactId>test-framework</artifactId>
			<scope>test</scope>
F
Frankie Wu 已提交
53 54
		</dependency>
	</dependencies>
F
Frankie Wu 已提交
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
	<build>
		<finalName>cat</finalName>
		<resources>
			<resource>
				<directory>${basedir}/src/main/resources</directory>
				<filtering>true</filtering>
			</resource>
		</resources>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-war-plugin</artifactId>
				<configuration>
					<webResources>
						<resource>
							<directory>src/main/resources</directory>
							<filtering>true</filtering>
							<targetPath>WEB-INF/classes</targetPath>
						</resource>
						<resource>
							<directory>src/main/webapp</directory>
							<filtering>true</filtering>
							<includes>
								<include>WEB-INF/web.xml</include>
							</includes>
						</resource>
					</webResources>
				</configuration>
			</plugin>
		</plugins>
	</build>
	<properties>
		<jdbc.driver>com.mysql.jdbc.Driver</jdbc.driver>
		<jdbc.url>jdbc:mysql://tech-wuqim.dianpingoa.com:3306/garden</jdbc.url>
		<jdbc.user>root</jdbc.user>
		<jdbc.password>Passw0rd</jdbc.password>
		<jdbc.connectionProperties><![CDATA[useUnicode=true&autoReconnect=true]]></jdbc.connectionProperties>
	</properties>
F
Frankie Wu 已提交
93
</project>