Message-ID: <174694545.4597.1406329956169.JavaMail.firstname.lastname@example.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_4596_1675627729.1406329956168" ------=_Part_4596_1675627729.1406329956168 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
The maven-antrun-plugin runs ant with JAVA_HOME set to the jre s= ubdirectory of the JDK, even if the JAVA_HOME for the overall run is a JDK.==20
There is documentation elsewhere about how to create a dependency = at the project level for the JDK's tools.jar, but this does not help out an= trun, which is a plugin.=20
The following profile does the job. The '..' in the path hauls up = past the 'jre' directory to the lib directory.=20
The present author got into this pickle by building out a project on a M=
ac, where there is no separate tools.jar, and then having the resulting bui=
ld fail on a hudson instance on Linux.