|
1 | 1 | <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> |
4 | 4 |
|
5 | 5 | <groupId>com.itfsw</groupId> |
6 | 6 | <artifactId>mybatis-generator-plugin</artifactId> |
7 | 7 | <version>1.0.0-SNAPSHOT</version> |
8 | 8 | <packaging>jar</packaging> |
9 | 9 |
|
10 | | - <name>mybatis-generator-plugin</name> |
| 10 | + <name>${project.groupId}:${project.artifactId}</name> |
11 | 11 | <description>Mybatis Generator Plugins</description> |
12 | 12 | <url>https://github.com/itfsw/mybatis-generator-plugin</url> |
13 | 13 |
|
|
131 | 131 | <autoReleaseAfterClose>true</autoReleaseAfterClose> |
132 | 132 | </configuration> |
133 | 133 | </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> |
134 | 146 | </plugins> |
135 | 147 | <!-- 配置java版本 不配置的话默认父类配置的是1.6--> |
136 | 148 | <pluginManagement> |
|
155 | 167 | <email>hewei@itfsw.com</email> |
156 | 168 | <organization>itfsw</organization> |
157 | 169 | <organizationUrl>http://blog.itfsw.com</organizationUrl> |
| 170 | + <timezone>+8</timezone> |
158 | 171 | </developer> |
159 | 172 | </developers> |
160 | 173 |
|
|
166 | 179 | </scm> |
167 | 180 |
|
168 | 181 | <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++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 | + --> |
169 | 188 | <distributionManagement> |
170 | 189 | <snapshotRepository> |
171 | 190 | <id>ossrh</id> |
|
0 commit comments