Commit 0b48b8c6 by bianpeng

修改文件

parent eeefdeea
<?xml version="1.0" encoding="UTF-8"?> <?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"> <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> <modelVersion>4.0.0</modelVersion>
<groupId>com.gitee.flying-cattle</groupId> <groupId>com.gitee.flying-cattle</groupId>
...@@ -24,6 +26,7 @@ ...@@ -24,6 +26,7 @@
<email>695429818@qq.com</email> <email>695429818@qq.com</email>
</developer> </developer>
</developers> </developers>
<!-- git相关信息 -->
<scm> <scm>
<connection>scm:git:https://gitee.com/flying-cattle/mybatis-dsc-generator.git</connection> <connection>scm:git:https://gitee.com/flying-cattle/mybatis-dsc-generator.git</connection>
<developerConnection>scm:git:https://gitee.com/flying-cattle/mybatis-dsc-generator.git</developerConnection> <developerConnection>scm:git:https://gitee.com/flying-cattle/mybatis-dsc-generator.git</developerConnection>
...@@ -73,21 +76,19 @@ ...@@ -73,21 +76,19 @@
</dependency> </dependency>
</dependencies> </dependencies>
<distributionManagement>
<snapshotRepository>
<id>oss</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>oss</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<profiles>
<profile>
<id>release</id>
<build> <build>
<plugins> <plugins>
<!-- java编译插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<!-- Source --> <!-- Source -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
...@@ -129,24 +130,19 @@ ...@@ -129,24 +130,19 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
</plugins> <!--staging puglin,用于自动执行发布阶段(免手动) -->
</build>
</profile>
</profiles>
<build>
<plugins>
<!-- java编译插件 -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.sonatype.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>nexus-staging-maven-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version> <version>1.6.7</version>
<extensions>true</extensions>
<configuration> <configuration>
<source>${java.version}</source> <serverId>ossrh</serverId>
<target>${java.version}</target> <nexusUrl>https://oss.sonatype.org/</nexusUrl>
<encoding>${project.build.sourceEncoding}</encoding> <autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration> </configuration>
</plugin> </plugin>
<!-- 发版工具 -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId> <artifactId>maven-release-plugin</artifactId>
...@@ -156,10 +152,18 @@ ...@@ -156,10 +152,18 @@
<indentSize>4</indentSize> <indentSize>4</indentSize>
<useEditMode>true</useEditMode> <useEditMode>true</useEditMode>
<localCheckout>true</localCheckout> <localCheckout>true</localCheckout>
<username />
<password />
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<distributionManagement>
<snapshotRepository>
<id>oss</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>oss</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</project> </project>
<?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.flying-cattle</groupId>
<artifactId>mybatis-dsc-generator</artifactId>
<version>3.0.7.SNAPSHOT</version>
<packaging>jar</packaging>
<name>mybatis-dsc-generator</name>
<description>According to the database, three layers of code are generated automatically.</description>
<url>https://gitee.com/flying-cattle/mybatis-dsc-generator</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>
<name>flying-cattle</name>
<email>695429818@qq.com</email>
</developer>
</developers>
<scm>
<connection>scm:git:https://gitee.com/flying-cattle/mybatis-dsc-generator.git</connection>
<developerConnection>scm:git:https://gitee.com/flying-cattle/mybatis-dsc-generator.git</developerConnection>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
<tag>HEAD</tag>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<druid.version>1.1.16</druid.version>
<mysql-connector-java.version>8.0.18</mysql-connector-java.version>
<slf4j-api.version>1.7.26</slf4j-api.version>
<lombok.version>1.18.10</lombok.version>
<freemarker.version>2.3.28</freemarker.version>
<!-- 打包跳过单元测试 -->
<skipTests>true</skipTests>
<maven-source-plugin.version>3.0.1</maven-source-plugin.version>
<maven-javadoc-plugin.version>3.1.0</maven-javadoc-plugin.version>
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
<maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
</properties>
<dependencies>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid</artifactId>
<version>${druid.version}</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql-connector-java.version}</version>
</dependency>
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
<version>${freemarker.version}</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
<optional>true</optional>
</dependency>
</dependencies>
<distributionManagement>
<snapshotRepository>
<id>oss</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>oss</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<!-- Source -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Javadoc -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- GPG -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven-gpg-plugin.version}</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<plugins>
<!-- java编译插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<tagNameFormat>v@{project.version}</tagNameFormat>
<autoVersionSubmodules>true</autoVersionSubmodules>
<indentSize>4</indentSize>
<useEditMode>true</useEditMode>
<localCheckout>true</localCheckout>
<username></username>
<password></password>
</configuration>
</plugin>
</plugins>
</build>
</project>
#release configuration
#Thu Feb 20 19:40:50 CST 2020
scm.tagNameFormat=v@{project.version}
project.rel.com.gitee.flying-cattle\:mybatis-dsc-generator=3.0.7.RELEASE
scm.tag=v3.0.7.RELEASE
pushChanges=true
scm.url=scm\:git\:https\://gitee.com/flying-cattle/mybatis-dsc-generator.git
preparationGoals=clean verify
project.scm.com.gitee.flying-cattle\:mybatis-dsc-generator.tag=HEAD
project.scm.com.gitee.flying-cattle\:mybatis-dsc-generator.connection=scm\:git\:https\://gitee.com/flying-cattle/mybatis-dsc-generator.git
project.scm.com.gitee.flying-cattle\:mybatis-dsc-generator.url=https\://oss.sonatype.org/service/local/staging/deploy/maven2/
remoteTagging=true
projectVersionPolicyId=default
scm.commentPrefix=[maven-release-plugin]
project.scm.com.gitee.flying-cattle\:mybatis-dsc-generator.developerConnection=scm\:git\:https\://gitee.com/flying-cattle/mybatis-dsc-generator.git
project.dev.com.gitee.flying-cattle\:mybatis-dsc-generator=3.0.8.SNAPSHOT
exec.snapshotReleasePluginAllowed=false
exec.additionalArguments=-P sakai,artifactory
completedPhase=end-release
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment