1 Star 0 Fork 701

zhucz/DBApi

forked from Mashaofei/DBApi 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pom.xml 9.82 KB
一键复制 编辑 原始数据 按行查看 历史
freakchicken 提交于 2023-05-29 18:44 . license
<?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>com.gitee.freakchicken.dbapi</groupId>
<artifactId>dbapi</artifactId>
<version>4.0.0</version>
<name>DBApi</name>
<description>build http api from sql without other code</description>
<url>https://gitee.com/freakchicken/db-api</url>
<packaging>pom</packaging>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
<docker.image.prefix>freakchicken</docker.image.prefix>
</properties>
<profiles>
<!--release模式,编译所有模块,打tar包-->
<profile>
<id>release</id>
<modules>
<module>dbapi-ui</module>
<module>dbapi-common</module>
<module>dbapi-plugin</module>
<module>dbapi-service</module>
<module>dbapi-controller</module>
<module>dbapi-standalone</module>
<module>dbapi-cluster-apiServer</module>
<module>dbapi-cluster-manager</module>
<module>dbapi-cluster-gateway</module>
<module>dbapi-assembly</module>
</modules>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<!--部署模式,只编译两个模块,并发布到中央仓库-->
<profile>
<id>deploy</id>
<modules>
<module>dbapi-common</module>
<module>dbapi-plugin</module>
</modules>
<build>
<plugins>
<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>3.2.0</version>
<configuration>
<show>package</show>
<tags>
<tag>
<name>date</name>
</tag>
</tags>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<doclint>none</doclint>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencyManagement>
<dependencies>
<!-- SpringBoot的依赖配置-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>2.3.2.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Hoxton.SR9</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
<version>2.2.6.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.gitee.freakchicken.dbapi</groupId>
<artifactId>dbapi-common</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.gitee.freakchicken.dbapi</groupId>
<artifactId>dbapi-plugin</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.gitee.freakchicken.dbapi</groupId>
<artifactId>dbapi-service</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.gitee.freakchicken.dbapi</groupId>
<artifactId>dbapi-controller</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.gitee.freakchicken.dbapi</groupId>
<artifactId>dbapi-standalone</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.gitee.freakchicken.dbapi</groupId>
<artifactId>dbapi-cluster-gateway</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.gitee.freakchicken.dbapi</groupId>
<artifactId>dbapi-cluster-manager</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.gitee.freakchicken.dbapi</groupId>
<artifactId>dbapi-cluster-apiServer</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>utf-8</encoding>
</configuration>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<failOnError>true</failOnError>
<filesets>
<fileset>
<directory>${basedir}/dist</directory>
<includes>
<include>**/*</include>
</includes>
</fileset>
</filesets>
</configuration>
</plugin>
<!-- 更新子模块版本号: mvn -N versions:update-child-modules-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.7</version>
<configuration>
<generateBackupPoms>false</generateBackupPoms>
</configuration>
</plugin>
</plugins>
</build>
<developers>
<developer>
<name>freakchicken</name>
<email>[email protected]</email>
<url>https://gitee.com/freakchicken/db-api</url>
</developer>
</developers>
<scm>
<url>https://gitee.com/freakchicken/db-api.git</url>
<connection>scm:git:https://gitee.com/freakchicken/db-api.git</connection>
<developerConnection>scm:git:https://gitee.com/freakchicken/db-api.git</developerConnection>
</scm>
<licenses>
<license>
<name>GNU AFFERO GENERAL PUBLIC LICENSE, Version 3</name>
<url>https://www.gnu.org/licenses/agpl-3.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<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>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/rootAddr/db-api.git
[email protected]:rootAddr/db-api.git
rootAddr
db-api
DBApi
master

搜索帮助