mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-12-05 21:38:20 +08:00
188 lines
7.4 KiB
XML
188 lines
7.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<!--
|
||
|
||
The MIT License (MIT)
|
||
|
||
Copyright (c) 2019 Code Technology Studio
|
||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||
this software and associated documentation files (the "Software"), to deal in
|
||
the Software without restriction, including without limitation the rights to
|
||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||
subject to the following conditions:
|
||
|
||
The above copyright notice and this permission notice shall be included in all
|
||
copies or substantial portions of the Software.
|
||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||
|
||
-->
|
||
<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">
|
||
<parent>
|
||
<artifactId>jpom-parent</artifactId>
|
||
<groupId>org.dromara.jpom</groupId>
|
||
<version>2.11.0.8</version>
|
||
<relativePath>../../pom.xml</relativePath>
|
||
</parent>
|
||
<packaging>pom</packaging>
|
||
<modules>
|
||
<module>storage-module-common</module>
|
||
<module>storage-module-h2</module>
|
||
<module>storage-module-mysql</module>
|
||
</modules>
|
||
<modelVersion>4.0.0</modelVersion>
|
||
<version>2.11.0.8</version>
|
||
<groupId>org.dromara.jpom.storage-module</groupId>
|
||
<artifactId>jpom-storage-module-parent</artifactId>
|
||
<name>Jpom storage module</name>
|
||
<description>
|
||
Jpom 存储模块
|
||
</description>
|
||
<properties>
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
<java.version>1.8</java.version>
|
||
<!-- 跳过测试 -->
|
||
<skipTests>true</skipTests>
|
||
<maven.test.skip>true</maven.test.skip>
|
||
</properties>
|
||
|
||
<dependencies>
|
||
|
||
</dependencies>
|
||
|
||
<build>
|
||
<plugins>
|
||
<!-- 编译插件, 设定JDK版本 -->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-compiler-plugin</artifactId>
|
||
<version>3.8.0</version>
|
||
<configuration>
|
||
<source>${java.version}</source>
|
||
<target>${java.version}</target>
|
||
<encoding>${project.build.sourceEncoding}</encoding>
|
||
</configuration>
|
||
</plugin>
|
||
|
||
<!--surefire插件,避免mvn test console乱码-->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-surefire-plugin</artifactId>
|
||
<version>2.22.0</version>
|
||
<configuration>
|
||
<forkMode>once</forkMode>
|
||
<argLine>-Dfile.encoding=UTF-8</argLine>
|
||
</configuration>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
|
||
<profiles>
|
||
<profile>
|
||
<id>release</id>
|
||
<distributionManagement>
|
||
<snapshotRepository>
|
||
<id>maven-repo</id>
|
||
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
||
</snapshotRepository>
|
||
<repository>
|
||
<id>maven-repo</id>
|
||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
||
</repository>
|
||
</distributionManagement>
|
||
<build>
|
||
<plugins>
|
||
<!-- source插件,打包源码 -->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-source-plugin</artifactId>
|
||
<version>2.4</version>
|
||
<executions>
|
||
<execution>
|
||
<id>attach-sources</id>
|
||
<goals>
|
||
<goal>jar</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<!-- Javadoc -->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-javadoc-plugin</artifactId>
|
||
<version>3.0.0</version>
|
||
<executions>
|
||
<execution>
|
||
<id>attach-javadoc</id>
|
||
<phase>package</phase>
|
||
<goals>
|
||
<goal>jar</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
<configuration>
|
||
<tags>
|
||
<tag>
|
||
<name>date</name>
|
||
<placement>a</placement>
|
||
<head>创建时间</head>
|
||
</tag>
|
||
</tags>
|
||
</configuration>
|
||
</plugin>
|
||
<!-- GPG -->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-gpg-plugin</artifactId>
|
||
<version>3.0.1</version>
|
||
<executions>
|
||
<execution>
|
||
<id>verify-gpg</id>
|
||
<phase>verify</phase>
|
||
<goals>
|
||
<goal>sign</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.sonatype.plugins</groupId>
|
||
<artifactId>nexus-staging-maven-plugin</artifactId>
|
||
<version>1.6.13</version>
|
||
<extensions>true</extensions>
|
||
<configuration>
|
||
<serverId>sonatype-nexus-staging</serverId>
|
||
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
|
||
<autoReleaseAfterClose>true</autoReleaseAfterClose>
|
||
</configuration>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
</profile>
|
||
</profiles>
|
||
|
||
|
||
<scm>
|
||
<tag>master</tag>
|
||
<url>git@gitee.com:dromara/Jpom.git</url>
|
||
<connection>scm:git:git@gitee.com:dromara/Jpom.git</connection>
|
||
<developerConnection>scm:git:git@gitee.com:dromara/Jpom.git</developerConnection>
|
||
</scm>
|
||
<developers>
|
||
<developer>
|
||
<name>bwcx_jzy</name>
|
||
<email>bwcx_jzy@163.com</email>
|
||
<organization>bwcx_jzy</organization>
|
||
</developer>
|
||
</developers>
|
||
|
||
</project>
|