pom.xml 6.06 KB
<?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">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>com.yoho</groupId>
        <artifactId>parent</artifactId>
        <version>1.0.0-SNAPSHOT</version>
    </parent>
    <groupId>com.yoho.sample</groupId>
    <artifactId>petstore</artifactId>
    <version>1.0-SNAPSHOT</version>
    <name>petstore project</name>
    <packaging>pom</packaging>
    
    <properties>
    	<project-name>petstore</project-name>
    	<project-version>1.0-SNAPSHOT</project-version>
    	<zeus-version>1.0.4-SNAPSHOT</zeus-version>
    	<jetty-version>6.1.22</jetty-version>
    	<springframework.version>4.0.2.RELEASE</springframework.version>
    	<junit.version>4.8</junit.version>
    </properties>

    <modules>
    	<module>dal</module>
        <module>common</module>
        <module>biz</module>
        <module>web</module>
        <module>deploy</module>
    </modules>
    
    <dependencies>
        <dependency>
            <groupId>com.yoho.zeus</groupId>
            <artifactId>zeus-core</artifactId>
        </dependency>
        <dependency>
            <groupId>com.yoho.zeus</groupId>
            <artifactId>zeus-test</artifactId>
        </dependency>
        <dependency>
            <groupId>com.yoho.zeus</groupId>
            <artifactId>zeus-opentext</artifactId>
        </dependency>
        <dependency>
            <groupId>com.yoho.zeus</groupId>
            <artifactId>zeus-security</artifactId>
        </dependency>
        <dependency>
            <groupId>com.yoho.zeus</groupId>
            <artifactId>zeus-web</artifactId>
        </dependency>
        <dependency>
            <groupId>com.yoho.zeus</groupId>
            <artifactId>zeus-common</artifactId>
        </dependency>
    </dependencies>
    <dependencyManagement>
        <dependencies>
            <!-- ================================================= -->
            <!-- Zeus相关库                                        -->
            <!-- ================================================= -->
            <dependency>
                <groupId>com.yoho.zeus</groupId>
                <artifactId>zeus-core</artifactId>
                <version>${zeus-version}</version>
            </dependency>
            <dependency>
                <groupId>com.yoho.zeus</groupId>
                <artifactId>zeus-test</artifactId>
                <version>${zeus-version}</version>
            </dependency>
            <dependency>
                <groupId>com.yoho.zeus</groupId>
                <artifactId>zeus-opentext</artifactId>
                <version>${zeus-version}</version>
            </dependency>
            <dependency>
                <groupId>com.yoho.zeus</groupId>
                <artifactId>zeus-security</artifactId>
                <version>${zeus-version}</version>
            </dependency>    
            <dependency>
                <groupId>com.yoho.zeus</groupId>
                <artifactId>zeus-web</artifactId>
                <version>${zeus-version}</version>
            </dependency>         
            <dependency>
                <groupId>com.yoho.zeus</groupId>
                <artifactId>zeus-common</artifactId>
                <version>${zeus-version}</version>
            </dependency>   
            
            <!-- ======================================== -->
            <!-- 其他第三方库                             -->
            <!-- ======================================== -->
            <dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>servlet-api</artifactId>
                <version>2.5</version>
                <scope>provided</scope>
            </dependency>
			<dependency>
				<groupId>org.springframework</groupId>
				<artifactId>spring-orm</artifactId>
				<version>${springframework.version}</version>
			</dependency>
			<dependency>
				<groupId>org.springframework</groupId>
				<artifactId>spring-jdbc</artifactId>
				<version>${springframework.version}</version>
			</dependency>
			<dependency>
				<groupId>org.springframework</groupId>
				<artifactId>spring-core</artifactId>
				<version>${springframework.version}</version>
			</dependency>
			<dependency>
				<groupId>org.springframework</groupId>
				<artifactId>spring-aop</artifactId>
				<version>${springframework.version}</version>
			</dependency>
			<dependency>
				<groupId>org.springframework</groupId>
				<artifactId>spring-beans</artifactId>
				<version>${springframework.version}</version>
			</dependency>
			<dependency>
				<groupId>org.springframework</groupId>
				<artifactId>spring-context</artifactId>
				<version>${springframework.version}</version>
			</dependency>
			<dependency>
				<groupId>org.springframework</groupId>
				<artifactId>spring-context-support</artifactId>
				<version>${springframework.version}</version>
			</dependency>

			<dependency>
				<groupId>org.springframework</groupId>
				<artifactId>spring-test</artifactId>
				<version>${springframework.version}</version>
			</dependency>
			
			
			<dependency>
				<groupId>org.springframework</groupId>
				<artifactId>spring-tx</artifactId>
				<version>${springframework.version}</version>
			</dependency>
			<dependency>
				<groupId>org.springframework</groupId>
				<artifactId>spring-web</artifactId>
				<version>${springframework.version}</version>
			</dependency>
			<dependency>
				<groupId>org.springframework</groupId>
				<artifactId>spring-webmvc</artifactId>
				<version>${springframework.version}</version>
			</dependency>
			
	        <dependency>
	            <groupId>junit</groupId>
	            <artifactId>junit</artifactId>
	            <version>${junit.version}</version>
	            <scope>test</scope>
	        </dependency>
			<dependency>
			    <groupId>com.ibm.icu</groupId>
			    <artifactId>icu4j</artifactId>
			    <version>49.1</version>
			</dependency>
        </dependencies>
    </dependencyManagement>
</project>