Skip to content

Commit a448e70

Browse files
committed
chore(pom): update pom
1 parent 70fd58d commit a448e70

File tree

1 file changed

+28
-14
lines changed

1 file changed

+28
-14
lines changed

pom.xml

Lines changed: 28 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.alibaba</groupId>
66
<artifactId>log4j2-ttl-thread-context-map</artifactId>
7-
<version>1.4.0-SNAPSHOT</version>
7+
<version>1.x-SNAPSHOT</version>
88
<packaging>jar</packaging>
99
<name>TTL Thread Context Map for Log4j2</name>
1010
<description>TTL Thread Context Map for Log4j2</description>
@@ -113,6 +113,7 @@
113113
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
114114
</snapshotRepository>
115115
</distributionManagement>
116+
116117
<build>
117118
<plugins>
118119
<plugin>
@@ -125,16 +126,6 @@
125126
<reuseForks>false</reuseForks>
126127
</configuration>
127128
</plugin>
128-
<plugin>
129-
<groupId>org.sonatype.plugins</groupId>
130-
<artifactId>nexus-staging-maven-plugin</artifactId>
131-
<extensions>true</extensions>
132-
<configuration>
133-
<serverId>ossrh</serverId>
134-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
135-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
136-
</configuration>
137-
</plugin>
138129
<!--
139130
official docs: https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
140131
@@ -280,7 +271,7 @@
280271
</build>
281272
</profile>
282273
<profile>
283-
<id>srcDoc</id>
274+
<id>gen-src-doc</id>
284275
<activation>
285276
<property>
286277
<name>performRelease</name>
@@ -308,7 +299,7 @@
308299
<encoding>UTF-8</encoding>
309300
<docencoding>UTF-8</docencoding>
310301
<links>
311-
<link>https://docs.oracle.com/javase/7/docs/api</link>
302+
<link>https://docs.oracle.com/javase/8/docs/api</link>
312303
</links>
313304
<additionalJOptions>
314305
<additionalJOption>-J-Duser.language=en -J-Duser.country=US</additionalJOption>
@@ -327,7 +318,7 @@
327318
</build>
328319
</profile>
329320
<profile>
330-
<id>sign</id>
321+
<id>gen-sign</id>
331322
<activation>
332323
<property>
333324
<name>performRelease</name>
@@ -429,5 +420,28 @@
429420
</plugins>
430421
</build>
431422
</profile>
423+
<profile>
424+
<id>deploy-settings</id>
425+
<activation>
426+
<property>
427+
<name>performRelease</name>
428+
<value>true</value>
429+
</property>
430+
</activation>
431+
<build>
432+
<plugins>
433+
<plugin>
434+
<groupId>org.sonatype.plugins</groupId>
435+
<artifactId>nexus-staging-maven-plugin</artifactId>
436+
<extensions>true</extensions>
437+
<configuration>
438+
<serverId>ossrh</serverId>
439+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
440+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
441+
</configuration>
442+
</plugin>
443+
</plugins>
444+
</build>
445+
</profile>
432446
</profiles>
433447
</project>

0 commit comments

Comments
 (0)