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:
Phillip Webb 2016-07-28 10:40:17 -07:00
parent 9bb6b8a012
commit 405299a95a
1 changed files with 13 additions and 0 deletions

View File

@ -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>