<?xml version="1.0" encoding="UTF-8"?>
<project>
    <modelVersion>4.0.0</modelVersion>

    <groupId>com.huaweicloud.dws</groupId>
    <artifactId>huaweicloud-dws-jdbc</artifactId>
    <url>https://www.huaweicloud.com/product/dws.html</url>
    <description>Data Warehouse Service JDBC driver</description>
    <name>huaweicloud-dws-jdbc</name>
    <version>8.6.1.310-200</version>

    <licenses>
        <license>
            <name>Huawei Cloud</name>
            <url>https://www.huaweicloud.com/</url>
        </license>
    </licenses>

    <developers>
        <developer>
            <name>dws</name>
        </developer>
    </developers>

    <scm>
        <connection>
            https://www.huaweicloud.com/product/dws.html
        </connection>
        <developerConnection>
            https://www.huaweicloud.com/product/dws.html
        </developerConnection>
        <url>https://www.huaweicloud.com/product/dws.html</url>
    </scm>
	
	<build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-gpg-plugin</artifactId>
        <version>3.0.1</version>
        <executions>
          <execution>
            <id>sign-artifacts</id>
            <phase>verify</phase>
            <goals>
              <goal>sign</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
    <profiles>
        <profile>
            <id>release</id>
            <build>
                <plugins>
                    <!-- Source -->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-source-plugin</artifactId>
                        <version>2.2.1</version>
                        <executions>
                            <execution>
                                <phase>package</phase>
                                <goals>
                                    <goal>jar-no-fork</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                    <!-- GPG -->
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-gpg-plugin</artifactId>
                        <version>1.5</version>
                        <executions>
                            <execution>
                                <phase>verify</phase>
                                <goals>
                                    <goal>sign</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>
</project>