<systemPath>${java.home}/../rt.jar</systemPath>
That's how it's supposed to work.
in my opinion it'd probably be better in the repository also, but
anyway it's not redistributable.
On 3/29/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote:
>
> I'd like to add JRE "rt.jar" as a dependency to my POM, so that I can
> use it in compiler plugin configuration :
>
> <bootclasspath>${pom.getDependencyPath('jara:rt')}</bootclasspath>
>
> As this jar should be devivered on the system, I've set scope to "system" :
> <dependency>
> <groupId>java</groupId>
> <artifactId>rt</artifactId>
> <version>1.3</version>
> <scope>system</scope>
> </dependency>
>
>
> How to configure maven so that it founds where the expected jar is on my
> systme ? I can't find info about "system" scope in maven doc. Some use
> the <systemPath> to set the jar location, but this will may not be
> portable !
>
> Any suggestion is welcome.
> Nico.
>
> This message contains information that may be privileged or confidential and
> is the property of the Capgemini Group. It is intended only for the person to
> whom it is addressed. If you are not the intended recipient, you are not
> authorized to read, print, retain, copy, disseminate, distribute, or use
> this message or any part thereof. If you receive this message in error,
> please notify the sender immediately and delete all copies of this message.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
-- The Princess Bride
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]