pom.xml 7.9 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.1.8-SNAPSHOT</version>
    </parent>

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

    <properties>
        <project-name>monitor-service</project-name>
        <project-version>1.0-SNAPSHOT</project-version>
        <json-version>2.4</json-version>
        <db-influx-version>2.4</db-influx-version>
        <java-gitlab-api-version>1.2.5</java-gitlab-api-version>
        <org.yaml-version>1.9</org.yaml-version>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <lombok-version>1.16.6</lombok-version>
        <jackson-version>1.9.13</jackson-version>
    </properties>

    <dependencyManagement>
        <dependencies>
            <!-- JOSN -->
            <dependency>
                <groupId>net.sf.json-lib</groupId>
                <artifactId>json-lib</artifactId>
                <version>${json-version}</version>
                <classifier>jdk15</classifier>
            </dependency>
            <dependency>
                <groupId>org.influxdb</groupId>
                <artifactId>influxdb-java</artifactId>
                <version>${db-influx-version}</version>
            </dependency>
            <dependency>
                <groupId>org.gitlab</groupId>
                <artifactId>java-gitlab-api</artifactId>
                <version>${java-gitlab-api-version}</version>
            </dependency>
            <dependency>
                <groupId>org.yaml</groupId>
                <artifactId>snakeyaml</artifactId>
                <version>${org.yaml-version}</version>
            </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>2.1</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>javax.mail</groupId>
                <artifactId>mail</artifactId>
                <version>1.4.7</version>
            </dependency>
            <dependency>
                <groupId>org.apache.commons</groupId>
                <artifactId>commons-email</artifactId>
                <version>1.4</version>
            </dependency>
            <dependency>
                <groupId>javax.activation</groupId>
                <artifactId>activation</artifactId>
                <version>1.1</version>
            </dependency>
            <dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>jstl</artifactId>
                <version>1.2</version>
            </dependency>
            <dependency>
                <groupId>monitor-service</groupId>
                <artifactId>monitor-service-cmdb</artifactId>
                <version>${project-version}</version>
            </dependency>
            <dependency>
                <groupId>monitor-service</groupId>
                <artifactId>monitor-service-common</artifactId>
                <version>${project-version}</version>
            </dependency>
            <dependency>
                <groupId>monitor-service</groupId>
                <artifactId>monitor-service-influxdb</artifactId>
                <version>${project-version}</version>
            </dependency>
            <dependency>
                <groupId>monitor-service</groupId>
                <artifactId>monitor-service-javaserver</artifactId>
                <version>${project-version}</version>
            </dependency>
            <dependency>
                <groupId>monitor-service</groupId>
                <artifactId>monitor-service-mysql</artifactId>
                <version>${project-version}</version>
            </dependency>
            <dependency>
                <groupId>monitor-service</groupId>
                <artifactId>monitor-service-switch</artifactId>
                <version>${project-version}</version>
            </dependency>
            <dependency>
                <groupId>monitor-service</groupId>
                <artifactId>monitor-service-nginxsync</artifactId>
                <version>${project-version}</version>
            </dependency>
            <dependency>
                <groupId>monitor-service</groupId>
                <artifactId>monitor-service-model</artifactId>
                <version>${project-version}</version>
            </dependency>
            <dependency>
                <groupId>monitor-service</groupId>
                <artifactId>monitor-service-other</artifactId>
                <version>${project-version}</version>
            </dependency>
            <dependency>
                <groupId>monitor-service</groupId>
                <artifactId>monitor-service-middleware</artifactId>
                <version>${project-version}</version>
            </dependency>
            <dependency>
                <groupId>monitor-service</groupId>
                <artifactId>monitor-service-user</artifactId>
                <version>${project-version}</version>
            </dependency>
            <dependency>
                <groupId>monitor-service</groupId>
                <artifactId>monitor-service-awstools</artifactId>
                <version>${project-version}</version>
            </dependency>
			<dependency>
                <groupId>monitor-service</groupId>
                <artifactId>monitor-service-zabbix</artifactId>
                <version>${project-version}</version>
            </dependency>
			<dependency>
                <groupId>monitor-service</groupId>
                <artifactId>monitor-service-compare</artifactId>
                <version>${project-version}</version>
            </dependency>
          <dependency>
                <groupId>monitor-service</groupId>
                <artifactId>monitor-service-monit</artifactId>
                <version>${project-version}</version>
            </dependency>
            <dependency>
                <groupId>org.projectlombok</groupId>
                <artifactId>lombok</artifactId>
                <version>${lombok-version}</version>
            </dependency>
            <dependency>
                <groupId>org.codehaus.jackson</groupId>
                <artifactId>jackson-core-asl</artifactId>
                <version>${jackson-version}</version>
            </dependency>
            <dependency>
                <groupId>org.codehaus.jackson</groupId>
                <artifactId>jackson-mapper-asl</artifactId>
                <version>${jackson-version}</version>
            </dependency>

        </dependencies>
    </dependencyManagement>

    <modules>
        <module>monitor-service-common</module>
        <module>monitor-service-web</module>
        <module>monitor-service-mysql</module>
        <module>monitor-service-influxdb</module>
        <module>monitor-service-switch</module>
        <module>monitor-service-javaserver</module>
        <module>monitor-service-cmdb</module>
        <module>monitor-service-model</module>
        <module>monitor-service-middleware</module>
        <module>monitor-service-user</module>
        <module>monitor-service-other</module>
        <module>monitor-service-nginxsync</module>
		<module>monitor-service-awstools</module>
		<module>monitor-service-zabbix</module>
		<module>monitor-service-compare</module>
		<module>monitor-service-monit</module>
    </modules>


</project>