質問

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?

正しい解決策はありません

他のヒント

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top