Skip to content

Commit 5c46afb

Browse files
committed
Add logic to skipPublishing Tests to Maven Central
1 parent 92b5080 commit 5c46afb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
<spring-security-oauth2-authorization-server.version>1.4.3
6565
</spring-security-oauth2-authorization-server.version>
6666
<scalar.version>0.1.0</scalar.version>
67+
<skipPublishing>false</skipPublishing>
6768
</properties>
6869

6970
<dependencyManagement>
@@ -214,6 +215,7 @@
214215
<publishingServerId>central</publishingServerId>
215216
<autoPublish>true</autoPublish>
216217
<waitUntil>published</waitUntil>
218+
<skipPublishing>${skipPublishing}</skipPublishing>
217219
</configuration>
218220
</plugin>
219221
<plugin>

springdoc-openapi-tests/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<name>${project.artifactId}</name>
1212

1313
<properties>
14-
<maven.deploy.skip>true</maven.deploy.skip>
14+
<skipPublishing>true</skipPublishing>
1515
</properties>
1616

1717
<modules>

0 commit comments

Comments
 (0)