Skip to content

Commit

Permalink
generate java docs
Browse files Browse the repository at this point in the history
  • Loading branch information
keski committed Sep 10, 2024
1 parent 4609d2a commit 10208cb
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,42 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.10.0</version>
<configuration>
<outputDirectory>docs/javadoc/${project.version}</outputDirectory>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<id>copy-javadoc</id>
<phase>package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<mkdir dir="docs/javadoc/latest"/>
<copy todir="docs/javadoc/latest">
<fileset dir="docs/javadoc/${project.version}">
<include name="**/*"/>
</fileset>
</copy>
</target>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 10208cb

Please sign in to comment.