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
This commit is contained in:
parent
9bb6b8a012
commit
405299a95a
|
|
@ -731,6 +731,19 @@
|
|||
<optional>true</optional>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<excludes>
|
||||
<exclude>**</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>full</id>
|
||||
|
|
|
|||
Loading…
Reference in New Issue