Skip to content

Commit

Permalink
Create empty javadoc jar [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
safris committed May 12, 2019
1 parent 5fcaaea commit 6f3f839
Showing 1 changed file with 27 additions and 7 deletions.
34 changes: 27 additions & 7 deletions schema/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,33 @@
facilities for self-documentation. Thus, the JSON Schema Definition Language can be used to
define, describe and catalogue JSON vocabularies for JSON documents.
</description>
<profiles>
<profile>
<id>javadoc</id>
<build>
<plugins>
<plugin>
<!-- Create an empty JavaDoc JAR -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>empty-javadoc-jar</id>
<phase>validate</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>javadoc</classifier>
<classesDirectory>${basedir}/javadoc</classesDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<plugins>
<plugin>
Expand All @@ -54,13 +81,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
Expand Down

0 comments on commit 6f3f839

Please sign in to comment.