<ivysettings>
<settings defaultResolver="ivyrep"/>
<resolvers>
  <chain name="ivyrep" returnFirst="true">
    <ibiblio name="ibiblio" m2compatible="true"/>
  </chain>
  <filesystem name="tools" local="true">
    <artifact pattern="${java.home}/lib/tools.[type]" />
    <artifact pattern="${java.home}/../lib/tools.[type]" />
  </filesystem>
</resolvers>
<modules>
  <module organisation="com.sun" name="tools" resolver="tools"/>
</modules>
</ivysettings>
<ivysettings>
<settings defaultResolver="ivyrep"/>
<resolvers>
  <chain name="ivyrep" returnFirst="true">
    <ibiblio name="ibiblio" m2compatible="true"/>
  </chain>
  <filesystem name="tools" local="true">
    <artifact pattern="${java.home}/lib/tools.[type]" />
    <artifact pattern="${java.home}/../lib/tools.[type]" />
    <artifact pattern="${java.home}/../Classes/classes.[type]" />
  </filesystem>
</resolvers>
<modules>
  <module organisation="com.sun" name="tools" resolver="tools"/>
</modules>
</ivysettings>
Add classes to tools resolver for mac os
Add classes to tools resolver for mac os
