Skip to content

Commit 405299a

Browse files
committed
Generate empty spring-boot-docs jar
Update spring-boot-docs so that an empty jar file is produced. The code is only needed for documentation includes and if included in the deployed jar seems to prevent promotion to Maven Central. Fixes gh-6495
1 parent 9bb6b8a commit 405299a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

spring-boot-docs/pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -731,6 +731,19 @@
731731
<optional>true</optional>
732732
</dependency>
733733
</dependencies>
734+
<build>
735+
<plugins>
736+
<plugin>
737+
<groupId>org.apache.maven.plugins</groupId>
738+
<artifactId>maven-jar-plugin</artifactId>
739+
<configuration>
740+
<excludes>
741+
<exclude>**</exclude>
742+
</excludes>
743+
</configuration>
744+
</plugin>
745+
</plugins>
746+
</build>
734747
<profiles>
735748
<profile>
736749
<id>full</id>

0 commit comments

Comments
 (0)