문제

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