Skip to content

Commit 764298e

Browse files
committed
Do not modularize the scijava-taglets component
Due to a bug in the maven-javadoc-plugin, the following warning gets emitted with the scijava-taglets artifact included in the javadoc build: [WARNING] Unable to auto-detect Taglet class names from '/path/to/jar.jar'. Try to specify them with <taglets/>. Running with `mvn -X` shows the underlying cause: NoClassDefFoundError: module-info is not a class because access_flag ACC_MODULE is set Removing scijava-taglets's module-info.java avoids the problem. I filed an issue about it on the Apache JIRA: https://issues.apache.org/jira/projects/MJAVADOC/issues/MJAVADOC-794 It's too bad, because ideally we would leave the module-info.java in place and simply not export anything from the scijava-taglets module to completely encapsulate it, since the taglets do still function correctly with the <taglet> elements manually specified in the POM. Hopefully, a future version of the plugin will fix this problem, at which point we can modularize the scijava-taglets component again.
1 parent ff09a1e commit 764298e

2 files changed

Lines changed: 0 additions & 49 deletions

File tree

‎pom.xml‎

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -218,20 +218,6 @@
218218
<plugin>
219219
<artifactId>maven-javadoc-plugin</artifactId>
220220
<configuration>
221-
<taglets>
222-
<taglet>
223-
<tagletClass>org.scijava.taglets.InputTaglet</tagletClass>
224-
</taglet>
225-
<taglet>
226-
<tagletClass>org.scijava.taglets.MutableTaglet</tagletClass>
227-
</taglet>
228-
<taglet>
229-
<tagletClass>org.scijava.taglets.ContainerTaglet</tagletClass>
230-
</taglet>
231-
<taglet>
232-
<tagletClass>org.scijava.taglets.OutputTaglet</tagletClass>
233-
</taglet>
234-
</taglets>
235221
<tagletArtifacts>
236222
<tagletArtifact>
237223
<groupId>org.scijava</groupId>

‎scijava-taglets/src/main/java/module-info.java‎

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)