Short answer:
Use "mvn site" for a couple of days to have the package link defs work,
but ideally "mvn scala:doc" should be consistent. I'll fix that, give me
a day or two please.
Long answer:
"mvn site" picks up plugin settings from reporting section and "mvn
scala:doc" picks up plugin settings from build section. The trick
(jvmArg -DpackageLinkDefs) is done in the maven-scala-plugin
configuration in the reporting section. Per Maven's documentation build
plugin settings (and thus config) should be picked up from their
corresponding settings in reporting section (odd, but true). Strangely,
that's happening for all the config elements except for <jvmArgs/>.
So I'll go ahead and duplicate <jvmArgs/> section in both places:report
plugin and build plugin.
Pain:
Next up, you, or somebody else who is regularly doing mvn scala:doc
locally (and want to stay offline) would find that with "mvn site" (or
"mvn scala:doc" when the fix is in) you end up having the click thru to
different package classes land up somewhere in
http://scala-tools.org/mvnsites-snapshots/.... instead of local filesystem.
This is because, by default vscaladoc.links.liftweb.baseurl is set to
http://scala-tools.org/mvnsites-snapshots/liftweb. Adjust this using
"-Dvscaladoc.links.liftweb.baseurl=<local_lift_base>" during "mvn site"
to circumvent that.
Cheers, IRC