|
@@ -30,9 +30,9 @@
|
|
|
</license>
|
|
|
</licenses>
|
|
|
<scm>
|
|
|
- <connection>scm:git@github.com:chillzhuang/blade-tool.git</connection>
|
|
|
- <developerConnection>scm:git@github.com:chillzhuang/blade-tool.git</developerConnection>
|
|
|
- <url>git@github.com:chillzhuang/blade-tool.git</url>
|
|
|
+ <connection>https://github.com/chillzhuang/blade-tool.git</connection>
|
|
|
+ <developerConnection>https://github.com/chillzhuang</developerConnection>
|
|
|
+ <url>https://github.com/chillzhuang/blade-tool.git</url>
|
|
|
</scm>
|
|
|
|
|
|
<properties>
|
|
@@ -161,38 +161,44 @@
|
|
|
</resource>
|
|
|
</resources>
|
|
|
<plugins>
|
|
|
+ <!-- Source -->
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-compiler-plugin</artifactId>
|
|
|
- <version>${maven.plugin.version}</version>
|
|
|
- <configuration>
|
|
|
- <source>${java.version}</source>
|
|
|
- <target>${java.version}</target>
|
|
|
- <encoding>UTF-8</encoding>
|
|
|
- <compilerArgs>
|
|
|
- <arg>-parameters</arg>
|
|
|
- </compilerArgs>
|
|
|
- </configuration>
|
|
|
+ <artifactId>maven-source-plugin</artifactId>
|
|
|
+ <version>2.2.1</version>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <phase>package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>jar-no-fork</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
</plugin>
|
|
|
- <!-- 打jar包 -->
|
|
|
+ <!-- Javadoc -->
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-jar-plugin</artifactId>
|
|
|
- <version>3.1.0</version>
|
|
|
+ <artifactId>maven-javadoc-plugin</artifactId>
|
|
|
+ <version>2.9.1</version>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <phase>package</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>jar</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
</plugin>
|
|
|
- <!-- 打source包 -->
|
|
|
+ <!-- GPG -->
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-source-plugin</artifactId>
|
|
|
- <version>3.0.1</version>
|
|
|
- <configuration>
|
|
|
- <attach>true</attach>
|
|
|
- </configuration>
|
|
|
+ <artifactId>maven-gpg-plugin</artifactId>
|
|
|
+ <version>1.6</version>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
- <phase>compile</phase>
|
|
|
+ <phase>verify</phase>
|
|
|
<goals>
|
|
|
- <goal>jar</goal>
|
|
|
+ <goal>sign</goal>
|
|
|
</goals>
|
|
|
</execution>
|
|
|
</executions>
|