I don't know anything about aspectj or its maven plugin, but there is no tools.jar on a mac. The classes are included in the normal java runtime. IMO you should try to remove the dependency completely.

thanks
david jencks

On Jan 1, 2006, at 7:15 PM, Man-Chi Leung wrote:

hi,

I checked out aspectj-maven-plugin from mojo sandbox, and I was trying to build it.

however, I encountered an error saying that tools.jar was not found.

to my understand, we need to install Sun's Jar separately due to the license issue. em.. ok!

but there is no tools.jar for Mac in /System/Library/Java/ Extensions. any advice? should I copy tools.jar from windows SDK to mac?

anyone is having the same problem? pls help!

[INFO] ---------------------------------------------------------------------- ------
[ERROR] BUILD ERROR
[INFO] ---------------------------------------------------------------------- ------
[INFO] Failed to resolve artifact.

required artifacts missing:
  sun.jdk:tools:jar:1.4.0

for the artifact:
  org.codehaus.mojo:aspectj-maven-plugin:maven-plugin:2.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  snapshots (http://snapshots.maven.codehaus.org/maven2)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to