Addressing a fault in demo-*-javadoc.jar generated files during deploy

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
Joakim Erdfelt 2020-10-02 15:42:02 -05:00
parent 81daea7453
commit 1235539637
No known key found for this signature in database
GPG Key ID: 2D0E1FB8FE4B68B4
2 changed files with 14 additions and 1 deletions

View File

@ -16,6 +16,19 @@
<sonar.skip>true</sonar.skip>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<!-- otherwise javadoc jars for these demos will not be created due to top level pom exclusions on "com.acme" -->
<excludePackageNames>bogus.*</excludePackageNames>
</configuration>
</plugin>
</plugins>
</build>
<modules>
<module>demo-async-rest</module>
<module>demo-jaas-webapp</module>

View File

@ -1308,12 +1308,12 @@
</executions>
</plugin>
<plugin>
<inherited>true</inherited>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadoc-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>