restx.build.fragments.maven.javadoc-apidoclet.xml Maven / Gradle / Ivy
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <executions> <execution> <id>attach-docs</id> <!-- we generate javadoc before packaging the jar to let a chance to apidocs doclet to generate comments dictionary to be packaged inside the jar as a resource --> <phase>prepare-package</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> <configuration> <source>${maven.compiler.source}</source> <doclet>restx.apidocs.doclet.ApidocsDoclet</doclet> <docletArtifact> <groupId>io.restx</groupId> <artifactId>restx-apidocs-doclet</artifactId> <version>${restx.version}</version> </docletArtifact> <additionalparam>-restx-target-dir ${project.basedir}/target/classes</additionalparam> </configuration> </plugin>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy