Closed appraveen closed 7 years ago
When running from the command line, you should use pegdown-doclet-1.3-all.jar. Maven adds the dependent JARs to the doclet path, but when running from the command line, you need to specify them manually. That's why there's a second JAR that already contains all dependencies, to make the command line shorter.
BTW, this is the wrong project. The doclet uses pegdown, but other than that, the two projects are completely unrelated. https://github.com/Abnaxos/pegdown-doclet is the right project.
Thank you @Abnaxos. '-all' was the issue. Now both javadoc and mvn works
mvn javadoc:javadoc
When running from the command line, you should use pegdown-doclet-1.3-all.jar. Maven adds the dependent JARs to the doclet path, but when running from the command line, you need to specify them manually. That's why there's a second JAR that already contains all dependencies, to make the command line shorter.
BTW, this is the wrong project. The doclet uses pegdown, but other than that, the two projects are completely unrelated. https://github.com/Abnaxos/pegdown-doclet is the right project.
Hi Abnaxos, How could I build a new "-all" jar?
Thank you for the plugin and this would really solve the problem of decorating the javadoc with ease. I am running in to this issue while trying to consume this plugin.
I have a simple maven Project with no dependencies.
Running the below command produces NoClassDefFoundError
Stacktrace
pom file
Related Issues
https://github.com/sirthias/pegdown/issues/4 https://github.com/sirthias/pegdown/issues/62
Plugin
I installed IntelliJ Plugin, I guess this is only for preview inside IDE. Eventually I get the same error when I run