Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: Problems with Maven

Carlos Curotto

2007-02-06

Replies:

Did you try to do this?

Then, install it using the command:
  mvn install:install-file -DgroupId=com.sun -DartifactId=tools \
     -Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file

where the path/to/file is the path to the file that maven cannot find, in
your case, ${java.home}/../lib/tools.jar.

Regards,

--
Carlos Curotto
©2008 junlu.com - Jax Systems, LLC, U.S.A.