Create links to java files in Doxia Apt site file?

213 Views Asked by At

As part of our application development, we are creating documentation using the Maven site plugin. Our apt files are located in src/site/apt. I know one can make links in apt using {{xxx}} syntax, but I was wondering if there was an easy way to create a link to a java file and/or a package?

Is the only way to use relative paths (ie: ../../main/java/com/pkg/MyFile.java)?

Is there a way to link to a package name?

1

There are 1 best solutions below

0
On

you can use jxr plugin http://maven.apache.org/jxr/maven-jxr-plugin/ to get source as html in the generated site then make links to xref/com/pkg/MyFile.html