Skip to content

Commit cabf49b

Browse files
committed
Add logic to skipPublishing Tests to Maven Central
1 parent c401406 commit cabf49b

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
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>2.0.0-M1
6565
</spring-security-oauth2-authorization-server.version>
6666
<scalar.version>0.1.0</scalar.version>
67+
<skipPublishing>false</skipPublishing>
6768
</properties>
6869

6970
<dependencyManagement>
@@ -219,6 +220,7 @@
219220
<publishingServerId>central</publishingServerId>
220221
<autoPublish>true</autoPublish>
221222
<waitUntil>published</waitUntil>
223+
<skipPublishing>${skipPublishing}</skipPublishing>
222224
</configuration>
223225
</plugin>
224226
<plugin>

springdoc-openapi-bom/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,16 @@
3535
<artifactId>springdoc-openapi-starter-webflux-ui</artifactId>
3636
<version>${project.version}</version>
3737
</dependency>
38+
<dependency>
39+
<groupId>org.springdoc</groupId>
40+
<artifactId>springdoc-openapi-starter-webmvc-scalar</artifactId>
41+
<version>${project.version}</version>
42+
</dependency>
43+
<dependency>
44+
<groupId>org.springdoc</groupId>
45+
<artifactId>springdoc-openapi-starter-webflux-scalar</artifactId>
46+
<version>${project.version}</version>
47+
</dependency>
3848
</dependencies>
3949
</dependencyManagement>
4050

springdoc-openapi-tests/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
<artifactId>springdoc-openapi-tests</artifactId>
1111
<name>${project.artifactId}</name>
1212

13+
<properties>
14+
<skipPublishing>true</skipPublishing>
15+
</properties>
16+
1317
<modules>
1418
<module>springdoc-openapi-security-tests</module>
1519
<module>springdoc-openapi-groovy-tests</module>

0 commit comments

Comments
 (0)