Message-ID: <326621260.1485.1427673876449.JavaMail.firstname.lastname@example.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_1484_895326027.1427673876448" ------=_Part_1484_895326027.1427673876448 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.