<?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>

    <groupId>io.dataease</groupId>
    <artifactId>dataease-plugins</artifactId>
    <packaging>pom</packaging>
    <version>1.0</version>
    <modules>
        <module>dataease-plugin-common</module>
        <module>dataease-plugin-interface</module>
        <module>dataease-plugin-filter</module>
    </modules>

    <parent>
        <artifactId>spring-boot-parent</artifactId>
        <groupId>org.springframework.boot</groupId>
        <version>2.3.4.RELEASE</version>
    </parent>

    <dependencies>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>

        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
        </dependency>
    </dependencies>

	<distributionManagement>
	  <snapshotRepository>
	    <id>ossrh</id>
	    <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
	  </snapshotRepository>
	  <repository>
	    <id>ossrh</id>
	    <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
	  </repository>
	</distributionManagement>

    <build>

        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <includes>
                    <include>**/*.js</include>
                    <include>**/*.xml</include>
                </includes>
                <filtering>false</filtering>
            </resource>
        </resources>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>
    	<plugin>
    	  <groupId>org.apache.maven.plugins</groupId>
    	  <artifactId>maven-source-plugin</artifactId>
    	  <version>2.2.1</version>
    	  <executions>
    	    <execution>
    	      <id>attach-sources</id>
    	      <goals>
    	        <goal>jar-no-fork</goal>
    	      </goals>
    	    </execution>
    	  </executions>
    	</plugin>
    	<plugin>
    	  <groupId>org.apache.maven.plugins</groupId>
    	  <artifactId>maven-javadoc-plugin</artifactId>
    	  <version>2.9.1</version>
    	  <executions>
    	    <execution>
    	      <id>attach-javadocs</id>
    	      <goals>
    	        <goal>jar</goal>
    	      </goals>
    	    </execution>
    	  </executions>
    	</plugin>
	<plugin>
    	  <groupId>org.apache.maven.plugins</groupId>
    	  <artifactId>maven-gpg-plugin</artifactId>
    	  <version>1.5</version>
    	  <executions>
    	    <execution>
    	      <id>sign-artifacts</id>
    	      <phase>verify</phase>
    	      <goals>
    	        <goal>sign</goal>
    	      </goals>
    	    </execution>
    	  </executions>
    	</plugin>
        </plugins>
    </build>


</project>
