<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.minbox.framework</groupId>
    <artifactId>oss-parent</artifactId>
    <version>0.1.0.RELEASE</version>
    <relativePath>../oss-parent</relativePath>
  </parent>
  <groupId>org.minbox.framework</groupId>
  <artifactId>minbox-logging</artifactId>
  <version>1.0.2.RELEASE</version>
  <packaging>pom</packaging>
  <description>"minbox-projects"开源组织下的分布式链路日志组件</description>
  <organization>
    <name>minbox-projects</name>
    <url>https://gitee.com/minbox-projects</url>
  </organization>
  <licenses>
    <license>
      <name>Apache License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0</url>
    </license>
  </licenses>
  <developers>
    <developer>
      <name>恒宇少年 - 于起宇</name>
      <email>jnyuqy@gmail.com</email>
      <url>http://blog.yuqiyu.com</url>
    </developer>
  </developers>
  <modules>
    <module>minbox-logging-client</module>
    <module>minbox-logging-admin</module>
    <module>minbox-logging-admin-ui</module>
    <module>minbox-logging-core</module>
    <module>minbox-logging-spring-context</module>
    <module>minbox-logging-samples</module>
  </modules>
  <properties>
    <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
    <jdk.version>1.8</jdk.version>
    <revision>1.0.2.RELEASE</revision>
    <maven-compiler-plugin.version>3.5.1</maven-compiler-plugin.version>
    <minbox.version>1.0.2.RELEASE</minbox.version>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>org.minbox.framework</groupId>
        <artifactId>minbox-dependencies</artifactId>
        <version>${minbox.version}</version>
        <type>pom</type>
        <scope>import</scope>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>org.minbox.framework</groupId>
      <artifactId>minbox-core</artifactId>
    </dependency>
    <dependency>
      <groupId>org.minbox.framework</groupId>
      <artifactId>minbox-web</artifactId>
    </dependency>
    <dependency>
      <groupId>org.projectlombok</groupId>
      <artifactId>lombok</artifactId>
      <scope>compile</scope>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>com.alibaba</groupId>
      <artifactId>fastjson</artifactId>
    </dependency>
  </dependencies>
  <repositories>
    <repository>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
      <id>maven-snapshots</id>
      <name>Maven Snapshots</name>
      <url>https://oss.sonatype.org/content/repositories/snapshots</url>
    </repository>
  </repositories>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>${maven-compiler-plugin.version}</version>
        <configuration>
          <source>${jdk.version}</source>
          <target>${jdk.version}</target>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>flatten-maven-plugin</artifactId>
        <version>1.1.0</version>
        <executions>
          <execution>
            <id>flatten</id>
            <phase>process-resources</phase>
            <goals>
              <goal>flatten</goal>
            </goals>
          </execution>
          <execution>
            <id>flatten.clean</id>
            <phase>clean</phase>
            <goals>
              <goal>clean</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <updatePomFile>true</updatePomFile>
          <flattenMode>resolveCiFriendliesOnly</flattenMode>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
