Skip to content

Commit

Permalink
Adds empty javadoc jar to maven shade artifact in order to meet OSS S…
Browse files Browse the repository at this point in the history
…onatype requirements
  • Loading branch information
rzo1 committed Nov 15, 2023
1 parent 84dfe2f commit 47deef4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions dkpro-jwpl-deps/dkpro-jwpl-swc-engine-shade/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,23 @@

<build>
<plugins>
<!-- This creates an empty javadoc file as required by OSS Sonatype -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>empty-javadoc-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>javadoc</classifier>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
Expand Down

0 comments on commit 47deef4

Please sign in to comment.