Skip to content

Commit f367e27

Browse files
author
DABURON Vincent
committed
Version 1.4 Add Table Of Contents and new property add_toc (default value : true)
1 parent c7f85a4 commit f367e27

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
<properties>
6161
<project.java.version>1.8</project.java.version>
6262
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
63+
<mavenCentralAutoReleaseAfterClose>false</mavenCentralAutoReleaseAfterClose>
6364
</properties>
6465

6566
<build>
@@ -141,14 +142,18 @@
141142
</executions>
142143
</plugin>
143144
<plugin>
145+
<!-- deploy jar in maven central or stagging only : mvn clean deploy
146+
if autoReleaseAfterClose == true then release in maven central;
147+
if autoReleaseAfterClose == false then release in stagging only not maven central
148+
-->
144149
<groupId>org.sonatype.plugins</groupId>
145150
<artifactId>nexus-staging-maven-plugin</artifactId>
146151
<version>1.7.0</version>
147152
<extensions>true</extensions>
148153
<configuration>
149154
<serverId>ossrh</serverId>
150155
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
151-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
156+
<autoReleaseAfterClose>${mavenCentralAutoReleaseAfterClose}</autoReleaseAfterClose>
152157
</configuration>
153158
</plugin>
154159
</plugins>

0 commit comments

Comments
 (0)