pom.xml 3.68 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/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>com.yoho</groupId>
        <artifactId>parent</artifactId>
        <version>1.3.4-SNAPSHOT</version>
    </parent>

    <groupId>monitor-ui</groupId>
    <artifactId>monitor-ui</artifactId>
    <packaging>pom</packaging>
    <version>1.0-SNAPSHOT</version>

    <properties>
        <project-name>monitor-ui</project-name>
        <project-version>1.0-SNAPSHOT</project-version>
        <json-version>2.4</json-version>
        <db-influx-version>2.2</db-influx-version>
        <java-gitlab-api-version>1.2.5</java-gitlab-api-version>
        <org.yaml-version>1.9</org.yaml-version>

        <!-- web -->
        <servlet-api-version>3.1.0</servlet-api-version>
        <jsp-api-version>2.1</jsp-api-version>
        <jstl-version>1.2</jstl-version>

        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <dependencyManagement>
        <dependencies>
            <!-- 版本冲突的jar 在parent定义 -->
            <dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>javax.servlet-api</artifactId>
                <version>${servlet-api-version}</version>
                <scope>provided</scope>
            </dependency>

            <!--<dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>servlet-api</artifactId>
                <version>2.5</version>
                <scope>provided</scope>
            </dependency>-->
            <dependency>
                <groupId>javax.servlet.jsp</groupId>
                <artifactId>jsp-api</artifactId>
                <version>${jsp-api-version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>jstl</artifactId>
                <version>${jstl-version}</version>
            </dependency>

            <dependency>
                <groupId>commons-logging</groupId>
                <artifactId>commons-logging</artifactId>
                <version>1.2</version>
                <scope>compile</scope>
            </dependency>
            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <version>3.8.1</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>com.alibaba</groupId>
                <artifactId>fastjson</artifactId>
                <version>1.2.7</version>
            </dependency>
            <!-- 版本冲突的jar 在parent定义 end -->

            <dependency>
                <groupId>monitor-ui</groupId>
               <artifactId>monitor-ui-web</artifactId>
                <version>${project-version}</version>
            </dependency>
            <dependency>
                <groupId>monitor-ui</groupId>
                <artifactId>monitor-ui-ctrl</artifactId>
                <version>${project-version}</version>
            </dependency>
            <dependency>
                <groupId>monitor-ui</groupId>
                <artifactId>monitor-ui-common</artifactId>
                <version>${project-version}</version>
            </dependency>
        </dependencies>
    </dependencyManagement>


    <modules>
        <module>monitor-ui-web</module>
        <module>monitor-ui-ctrl</module>
        <module>monitor-ui-common</module>
    </modules>


</project>