You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Tomas Olsson <to...@sics.se> on 2006/05/19 13:42:05 UTC

Where can I find sun.jdk:tools:jar:1.5.0?

Hi,

When I try to compile the most recent snapshot I get the below 
exception. What I do not understand is why the jdk has to be downloaded 
since I already have jdk 1.5.0 installed.  My guess is that it is the 
tool.jar file from the jdk that is missing. Since this jar does not 
exist in the Mac OS X jdk I think it is futile to try to install it.  
See the following link:

http://developer.apple.com/documentation/Java/Conceptual/Java14Development/02-JavaDevTools/JavaDevTools.html#//apple_ref/doc/uid/TP40001884-208117

/Tomas



Caused by: 
org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException: 
Missing:
----------
1) sun.jdk:tools:jar:1.5.0

  Try downloading the file manually from the project website.

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

  Path to dependency:
        1) org.codehaus.mojo:jaxws-maven-plugin:maven-plugin:1.0-SNAPSHOT
        2) sun.jdk:tools:jar:1.5.0

----------
1 required artifact is missing.

for artifact:
  org.codehaus.mojo:jaxws-maven-plugin:maven-plugin:1.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  servicemix-m2-repo (http://servicemix.org/m2-repo),
  apache.snapshots (http://cvs.apache.org/maven-snapshot-repository),
  snapshots (http://snapshots.maven.codehaus.org/maven2)

Re: Where can I find sun.jdk:tools:jar:1.5.0?

Posted by Guillaume Nodet <gn...@gmail.com>.
I have uploaded a new version of the failing maven 2 plugin for jaxws.
Try running with -U once to update the plugin.

Cheers,
Guillaume Nodet

On 5/19/06, Tomas Olsson <to...@sics.se> wrote:
>
> Hi,
>
> When I try to compile the most recent snapshot I get the below
> exception. What I do not understand is why the jdk has to be downloaded
> since I already have jdk 1.5.0 installed.  My guess is that it is the
> tool.jar file from the jdk that is missing. Since this jar does not
> exist in the Mac OS X jdk I think it is futile to try to install it.
> See the following link:
>
>
> http://developer.apple.com/documentation/Java/Conceptual/Java14Development/02-JavaDevTools/JavaDevTools.html#//apple_ref/doc/uid/TP40001884-208117
>
> /Tomas
>
>
>
> Caused by:
> org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundException:
> Missing:
> ----------
> 1) sun.jdk:tools:jar:1.5.0
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=sun.jdk -DartifactId=tools \
>           -Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file
>
>   Path to dependency:
>         1) org.codehaus.mojo:jaxws-maven-plugin:maven-plugin:1.0-SNAPSHOT
>         2) sun.jdk:tools:jar:1.5.0
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
>   org.codehaus.mojo:jaxws-maven-plugin:maven-plugin:1.0-SNAPSHOT
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   servicemix-m2-repo (http://servicemix.org/m2-repo),
>   apache.snapshots (http://cvs.apache.org/maven-snapshot-repository),
>   snapshots (http://snapshots.maven.codehaus.org/maven2)
>



-- 
Cheers,
Guillaume Nodet