<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-parent</artifactId>
		<version>3.5.5</version>
		<relativePath/> <!-- lookup parent from repository -->
	</parent>
	<groupId>vip.openbank</groupId>
	<artifactId>frame-core</artifactId>
	<version>0.0.1-RELEASE</version>
	<name>frame-core</name>
	<description>Frame Core</description>
	<url>http://www.openbank.vip</url>
	<licenses>
		<license>
	      <name>The Apache Software License, Version 2.0</name>
	      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
	    </license>
	</licenses>
	<developers>
		<developer>
	      <id>openbank</id>
	      <name>qiuming</name>
	      <email>mrqiuming@163.com</email>
	      <roles>
	        <role>Project Manager</role>
	        <role>Architect</role>
	      </roles>
	    </developer>
	</developers>
	<scm>
	    <connection>https://github.com/mrqiuming/frame-core.git</connection>
	    <developerConnection>scm:git:ssh://git@github.com:mrqiuming/frame-core.git</developerConnection>
	    <url>https://github.com/mrqiuming/frame-core</url>
	</scm>
	<properties>
		<java.version>17</java.version>
	</properties>
	<dependencies>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-web</artifactId>
		</dependency>
		<dependency>
			<groupId>org.mybatis.spring.boot</groupId>
			<artifactId>mybatis-spring-boot-starter</artifactId>
			<version>3.0.5</version>
		</dependency>
		
		<!-- 分页插件 -->
		<dependency>
		  <groupId>com.github.pagehelper</groupId>
		  <artifactId>pagehelper-spring-boot-starter</artifactId>
		  <version>1.4.6</version>
		</dependency>

		<dependency>
			<groupId>org.postgresql</groupId>
			<artifactId>postgresql</artifactId>
			<scope>runtime</scope>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-test</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.mybatis.spring.boot</groupId>
			<artifactId>mybatis-spring-boot-starter-test</artifactId>
			<version>3.0.5</version>
			<scope>test</scope>
		</dependency>
	</dependencies>
	<build>
	    <plugins>
	      <!--   central发布插件    -->
	      <plugin>
	        <groupId>org.sonatype.central</groupId>
	        <artifactId>central-publishing-maven-plugin</artifactId>
	        <version>0.4.0</version>
	        <extensions>true</extensions>
	        <configuration>
	          <publishingServerId>openbank</publishingServerId>
	          <tokenAuth>true</tokenAuth>
	        </configuration>
	      </plugin>
	      <!--   source源码插件 -->
	      <plugin>
	        <groupId>org.apache.maven.plugins</groupId>
	        <artifactId>maven-source-plugin</artifactId>
	        <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-compiler-plugin</artifactId>
	        <configuration>
	          <source>1.8</source>
	          <target>1.8</target>
	        </configuration>
	      </plugin>
	      <!--   javadoc插件 -->
	      <plugin>
	        <groupId>org.apache.maven.plugins</groupId>
	        <artifactId>maven-javadoc-plugin</artifactId>
	        <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.6</version>
	        <configuration>
	          <executable>C:/Program Files (x86)/GnuPG/bin/gpg.exe</executable>
	          <keyname>qiuming</keyname>
	          
	          <excludes>
				<exclude>application-dev.yml</exclude>
				<exclude>static/modules/**</exclude>
				<exclude>vip/openbank/frame/core/FrameCoreApplication.class</exclude>
			  </excludes>
	        </configuration>
	        <executions>
	          <execution>
	            <id>sign-artifacts</id>
	            <phase>verify</phase>
	            <goals>
	              <goal>sign</goal>
	            </goals>
	          </execution>
	        </executions>
	        
	      </plugin>
	    </plugins>
	  </build>

</project>
