<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://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>com.groupress</groupId>
    <artifactId>gp-root</artifactId>
    <version>0.4.1</version>
  </parent>
  <groupId>com.groupress</groupId>
  <artifactId>gp-core</artifactId>
  <version>0.4.1</version>
  <name>gpress web core</name>
  <description>Web core engine build on light4j, supports customized authentication and
		api request auditing, support SSE feature.</description>
  <licenses>
    <license>
      <name>Apache License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <dependencies>
    <dependency>
      <groupId>com.groupress</groupId>
      <artifactId>gp-common</artifactId>
      <version>${revision}</version>
    </dependency>
    <dependency>
      <groupId>com.groupress</groupId>
      <artifactId>gp-svc-base</artifactId>
      <version>${revision}</version>
    </dependency>
    <dependency>
      <groupId>com.networknt</groupId>
      <artifactId>body</artifactId>
      <version>${light-4j.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.networknt</groupId>
      <artifactId>cors</artifactId>
      <version>${light-4j.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.networknt</groupId>
      <artifactId>handler</artifactId>
      <version>${light-4j.version}</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>${junit.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>ch.qos.logback</groupId>
      <artifactId>logback-classic</artifactId>
      <version>${logback.version}</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
    <resources>
      <resource>
        <directory>src/main/java</directory>
        <includes>
          <include>**/*.template</include>
        </includes>
      </resource>
      <resource>
        <filtering>true</filtering>
        <directory>src/main/resources</directory>
      </resource>
    </resources>
    <plugins>
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.18.1</version>
        <configuration>
          <skipTests>true</skipTests>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>3.8.1</version>
        <configuration>
          <source>${java.version}</source>
          <target>${java.version}</target>
          <encoding>${project.build.sourceEncoding}</encoding>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-source-plugin</artifactId>
        <version>3.2.1</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>3.3.2</version>
        <executions>
          <execution>
            <id>attach-javadocs</id>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <failOnError>false</failOnError>
          <excludePackageNames></excludePackageNames>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
