Hi David,

What version of java are you running? How have you configured your pom to find 
it?

- Russ

On Aug 28, 2013, at 5:13 PM, David Hay <david....@enstratius.com> wrote:

> Hi,
> 
> Just tried to add the cobertura plugin to our maven build, and I get this 
> strange error.
> 
> I'm running on a Mac (OS X 10.8.3) and apparently the tools.jar contents has 
> been added to classes.jar on this OS.  However, I tried to set the dependency 
> to a systemPath, which points to JAVA_HOME/../Classes/classes.jar and it 
> seems to ignore that completely and still look for it in lib/tools.jar:
> 
>     "Could not find artifact com.sun:tools:jar:0 at specified path 
> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../lib/tools.jar"
> 
> Can anyone explain why the version is '0'?  And does anyone know how I can 
> get this working on a Mac?
> 
> cheers,
> 
> David
> 

-----------------
Come read my webnovel, Take a Lemon <http://www.takealemon.com>, 
and listen to the Misfile radio play <http://www.fuzzyfacetheater.com/misfile/>!





Reply via email to