Skip to content

Commit d7dd5fa

Browse files
author
hewei
committed
提交中央库设置
1 parent e1157a6 commit d7dd5fa

File tree

2 files changed

+23
-3
lines changed

2 files changed

+23
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@
1212
hs_err_pid*
1313
.idea/
1414
mybatis-generator-plugin.iml
15+
target/

pom.xml

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3-
<modelVersion>4.0.0</modelVersion>
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
44

55
<groupId>com.itfsw</groupId>
66
<artifactId>mybatis-generator-plugin</artifactId>
77
<version>1.0.0-SNAPSHOT</version>
88
<packaging>jar</packaging>
99

10-
<name>mybatis-generator-plugin</name>
10+
<name>${project.groupId}:${project.artifactId}</name>
1111
<description>Mybatis Generator Plugins</description>
1212
<url>https://github.com/itfsw/mybatis-generator-plugin</url>
1313

@@ -131,6 +131,18 @@
131131
<autoReleaseAfterClose>true</autoReleaseAfterClose>
132132
</configuration>
133133
</plugin>
134+
<!-- release -->
135+
<plugin>
136+
<groupId>org.apache.maven.plugins</groupId>
137+
<artifactId>maven-release-plugin</artifactId>
138+
<version>2.5.3</version>
139+
<configuration>
140+
<autoVersionSubmodules>true</autoVersionSubmodules>
141+
<useReleaseProfile>false</useReleaseProfile>
142+
<releaseProfiles>release</releaseProfiles>
143+
<goals>deploy</goals>
144+
</configuration>
145+
</plugin>
134146
</plugins>
135147
<!-- 配置java版本 不配置的话默认父类配置的是1.6-->
136148
<pluginManagement>
@@ -155,6 +167,7 @@
155167
<email>hewei@itfsw.com</email>
156168
<organization>itfsw</organization>
157169
<organizationUrl>http://blog.itfsw.com</organizationUrl>
170+
<timezone>+8</timezone>
158171
</developer>
159172
</developers>
160173

@@ -166,6 +179,12 @@
166179
</scm>
167180

168181
<!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++distribution++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
182+
<!--
183+
参考:http://central.sonatype.org/pages/apache-maven.html#deploying-to-ossrh-with-apache-maven-introduction
184+
http://central.sonatype.org/pages/working-with-pgp-signatures.html
185+
http://www.cnblogs.com/gaoxing/p/4359795.html
186+
http://blog.csdn.net/ssrc0604hx/article/details/51513414
187+
-->
169188
<distributionManagement>
170189
<snapshotRepository>
171190
<id>ossrh</id>

0 commit comments

Comments
 (0)