Skip to content

Commit ebd0050

Browse files
authored
JAVA-40698: Changes made for removal non required build properties to stable the build (#18266)
1 parent 45bd94c commit ebd0050

File tree

1 file changed

+2
-33
lines changed
  • spring-boot-modules/spring-boot-springdoc

1 file changed

+2
-33
lines changed

spring-boot-modules/spring-boot-springdoc/pom.xml

+2-33
Original file line numberDiff line numberDiff line change
@@ -66,45 +66,15 @@
6666
<scope>test</scope>
6767
</dependency>
6868
</dependencies>
69-
7069
<build>
7170
<plugins>
7271
<plugin>
7372
<groupId>org.springframework.boot</groupId>
7473
<artifactId>spring-boot-maven-plugin</artifactId>
75-
<executions>
76-
<execution>
77-
<id>pre-integration-test</id>
78-
<goals>
79-
<goal>start</goal>
80-
</goals>
81-
</execution>
82-
<execution>
83-
<id>post-integration-test</id>
84-
<goals>
85-
<goal>stop</goal>
86-
</goals>
87-
</execution>
88-
</executions>
89-
</plugin>
90-
<plugin>
91-
<groupId>org.springdoc</groupId>
92-
<artifactId>springdoc-openapi-maven-plugin</artifactId>
93-
<version>${springdoc-openapi-maven-plugin.version}</version>
94-
<executions>
95-
<execution>
96-
<phase>integration-test</phase>
97-
<goals>
98-
<goal>generate</goal>
99-
</goals>
100-
</execution>
101-
</executions>
10274
<configuration>
103-
<apiDocsUrl>http://localhost:8080/api-docs</apiDocsUrl>
104-
<outputFileName>openapi.json</outputFileName>
105-
<outputDir>${project.build.directory}</outputDir>
75+
<mainClass>com.baeldung.springdoc.SpringdocApplication</mainClass>
10676
</configuration>
107-
</plugin>
77+
</plugin>
10878
<plugin>
10979
<groupId>org.asciidoctor</groupId>
11080
<artifactId>asciidoctor-maven-plugin</artifactId>
@@ -150,7 +120,6 @@
150120
<snippetsDirectory>${project.build.directory}/generated-snippets</snippetsDirectory>
151121
<springdoc-openapi-maven-plugin.version>1.4</springdoc-openapi-maven-plugin.version>
152122
<spring-boot.repackage.skip>true</spring-boot.repackage.skip>
153-
<start-class>com.baeldung.springdoc.SpringdocApplication</start-class>
154123
</properties>
155124

156125
</project>

0 commit comments

Comments
 (0)