Skip to content

Commit 3da75cd

Browse files
codeleepmini1798
authored andcommitted
feature(frame): Code finishing
1. Code finishing
1 parent d2cc6bf commit 3da75cd

File tree

1 file changed

+63
-88
lines changed

1 file changed

+63
-88
lines changed

pom.xml

Lines changed: 63 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<groupId>cn.xiaoandcai</groupId>
88
<artifactId>json-diff-parent</artifactId>
99
<!-- mvn clean deploy - -settings /Users/weidian/.m2/settings-out.xml -->
10-
<version>3.1.2-RC1-RELEASE</version>
10+
<version>3.1.6-RC1-RELEASE</version>
1111
<name>JsonDiff</name>
1212
<url>https://gitee.com/local-li/json-diff</url>
1313
<description>一款高性能的Json差异发现工具</description>
@@ -17,16 +17,23 @@
1717
<module>json-diff-test</module>
1818
<module>json-diff-common</module>
1919
<module>json-diff</module>
20-
<module>json-diff-impl</module>
2120
</modules>
2221

2322
<properties>
2423
<java.version>1.8</java.version>
2524
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2625
<maven.compiler.source>1.8</maven.compiler.source>
2726
<maven.compiler.target>1.8</maven.compiler.target>
27+
<maven-release-plugin.version>2.5.3</maven-release-plugin.version>
2828
</properties>
2929

30+
<scm>
31+
<connection>scm:git:${project.scm.url}</connection>
32+
<developerConnection>scm:git:${project.scm.url}</developerConnection>
33+
<url>git@github.com:codeleep/json-diff.git</url>
34+
<tag>HEAD</tag>
35+
</scm>
36+
3037
<dependencyManagement>
3138
<dependencies>
3239
<dependency>
@@ -51,11 +58,6 @@
5158
</license>
5259
</licenses>
5360

54-
<scm>
55-
<url>https://gitee.com/local-li/json-diff</url>
56-
<connection>https://gitee.com/local-li/json-diff.git</connection>
57-
</scm>
58-
5961
<developers>
6062
<developer>
6163
<name>codeleep</name>
@@ -78,109 +80,82 @@
7880
</developers>
7981

8082

83+
<build>
84+
<plugins>
85+
<plugin>
86+
<groupId>org.apache.maven.plugins</groupId>
87+
<artifactId>maven-javadoc-plugin</artifactId>
88+
<version>3.5.0</version>
89+
<configuration>
90+
<doclint>none</doclint> <!-- Turnoff all checks -->
91+
</configuration>
92+
<executions>
93+
<execution>
94+
<id>attach-javadocs</id>
95+
<goals>
96+
<goal>jar</goal>
97+
</goals>
98+
</execution>
99+
</executions>
100+
</plugin>
101+
<plugin>
102+
<groupId>org.apache.maven.plugins</groupId>
103+
<artifactId>maven-source-plugin</artifactId>
104+
<version>3.1.0</version>
105+
<executions>
106+
<execution>
107+
<id>attach-sources</id>
108+
<phase>verify</phase>
109+
<goals>
110+
<goal>jar-no-fork</goal>
111+
</goals>
112+
</execution>
113+
</executions>
114+
</plugin>
115+
</plugins>
116+
</build>
117+
81118
<profiles>
82119
<profile>
83-
<id>ossrh</id>
84-
<activation>
85-
<activeByDefault>true</activeByDefault>
86-
</activation>
120+
<id>release</id>
87121
<build>
88122
<plugins>
89-
<!-- 要生成Javadoc和Source jar文件,您必须配置javadoc和源Maven插件 -->
90-
<plugin>
91-
<groupId>org.apache.maven.plugins</groupId>
92-
<artifactId>maven-source-plugin</artifactId>
93-
<version>2.2.1</version>
94-
<executions>
95-
<execution>
96-
<id>attach-sources</id>
97-
<goals>
98-
<goal>jar-no-fork</goal>
99-
</goals>
100-
</execution>
101-
</executions>
102-
</plugin>
103123
<plugin>
104-
<groupId>org.apache.maven.plugins</groupId>
105-
<artifactId>maven-javadoc-plugin</artifactId>
106-
<version>2.10.4</version>
107-
<executions>
108-
<execution>
109-
<phase>package</phase>
110-
<goals>
111-
<goal>jar</goal>
112-
</goals>
113-
<configuration>
114-
<additionalparam>-Xdoclint:none</additionalparam>
115-
</configuration>
116-
</execution>
117-
</executions>
124+
<groupId>org.sonatype.central</groupId>
125+
<artifactId>central-publishing-maven-plugin</artifactId>
126+
<version>0.4.0</version>
127+
<extensions>true</extensions>
128+
<configuration>
129+
<tokenAuth>true</tokenAuth>
130+
<autoPublish>true</autoPublish>
131+
<publishingServerId>${gpg.keyname}</publishingServerId>
132+
</configuration>
118133
</plugin>
119-
<!-- 必须配置GPG插件用于使用以下配置对组件进行签名 -->
120134
<plugin>
121135
<groupId>org.apache.maven.plugins</groupId>
122136
<artifactId>maven-gpg-plugin</artifactId>
123-
<version>1.6</version>
137+
<version>3.1.0</version>
124138
<executions>
125139
<execution>
126140
<id>sign-artifacts</id>
127141
<phase>verify</phase>
128142
<goals>
129143
<goal>sign</goal>
130144
</goals>
145+
<configuration>
146+
<gpgArguments>
147+
<arg>--pinentry-mode</arg>
148+
<arg>loopback</arg>
149+
</gpgArguments>
150+
<keyname>${gpg.keyname}</keyname>
151+
<passphraseServerId>${gpg.keyname}</passphraseServerId>
152+
</configuration>
131153
</execution>
132154
</executions>
133155
</plugin>
134156
</plugins>
135157
</build>
136-
<!-- 【注】snapshotRepository 与 repository 中的 id 一定要与 setting.xml 中 server 的 id 保持一致! -->
137-
<distributionManagement>
138-
<snapshotRepository>
139-
<id>json-diff</id>
140-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
141-
</snapshotRepository>
142-
<repository>
143-
<id>json-diff</id>
144-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
145-
</repository>
146-
</distributionManagement>
147158
</profile>
148159
</profiles>
149-
<build>
150-
<plugins>
151-
<!-- <plugin>-->
152-
<!-- <groupId>org.springframework.boot</groupId>-->
153-
<!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
154-
<!-- </plugin>-->
155-
<plugin>
156-
<groupId>org.apache.maven.plugins</groupId>
157-
<artifactId>maven-compiler-plugin</artifactId>
158-
<version>3.10.1</version>
159-
<configuration>
160-
<source>1.8</source>
161-
<target>1.8</target>
162-
</configuration>
163-
</plugin>
164-
165-
<plugin>
166-
<groupId>org.apache.maven.plugins</groupId>
167-
<artifactId>maven-gpg-plugin</artifactId>
168-
<version>1.6</version>
169-
<executions>
170-
<execution>
171-
<id>sign-artifacts</id>
172-
<phase>verify</phase>
173-
<goals>
174-
<goal>sign</goal>
175-
</goals>
176-
</execution>
177-
</executions>
178-
<configuration>
179-
<keyname>${gpg.keyname}</keyname>
180-
<passphrase>${gpg.passphrase}</passphrase>
181-
</configuration>
182-
</plugin>
183-
</plugins>
184-
</build>
185160

186161
</project>

0 commit comments

Comments
 (0)