• Phillip Webb's avatar
    Update OSX Java 1.6 compatibility fix for plugins · e23bcdbe
    Phillip Webb authored
    Change the initial fix for OSX Java 1.6 compatibility by removing the
    need for a direct `tools.jar` dependency.
    
    It appears that `system` dependencies are always pulled in when
    used in a Maven plugin. This makes the the dependency on `tools.jar`
    particularly brittle since we need to make assumptions about where
    the jar is located.
    
    Since the tools jar is *only* needed for Spring Loaded support, the
    plugin has now been updated to locate the jar programmatically and
    call it via reflection. This should reduce the risk of problems when
    using the plugin and at the very least isolate them to Spring Loaded
    support.
    
    (See original commit b8c47200)
    
    Fixes gh-497
    e23bcdbe
Name
Last commit
Last update
..
main/java/org/springframework/boot/loader/tools Loading commit data...
test/java/org/springframework/boot/loader/tools Loading commit data...