Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-3178

build failed on Mac OSX caused by Failed to resolve artifact. om.sun:tools:jar:1.5.0

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3.2, 2.4
    • None
    • None

    Description

      the latest com.puppycrawl.tools.checkstyle have dependency like
      <dependency>
      <groupId>com.sun</groupId>
      <artifactId>tools</artifactId>
      <version>1.5.0</version>
      <scope>system</scope>
      <systemPath>${java.home}/../lib/tools.jar</systemPath>
      </dependency>

      but on Mac OSX, there's no tools.jar, it should be ${java.home}/../Classes/classes.jar instead, we need add a profile for mac to replace the path tomake the build pass.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ffang Freeman Yue Fang
            ffang Freeman Yue Fang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment