You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2010/12/09 03:44:01 UTC

[jira] Created: (CXF-3178) build failed on Mac OSX caused by Failed to resolve artifact. om.sun:tools:jar:1.5.0

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

                 Key: CXF-3178
                 URL: https://issues.apache.org/jira/browse/CXF-3178
             Project: CXF
          Issue Type: Bug
            Reporter: Freeman Fang
            Assignee: Freeman Fang
             Fix For: 2.3.2, 2.4


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CXF-3178) build failed on Mac OSX caused by Failed to resolve artifact. om.sun:tools:jar:1.5.0

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-3178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang resolved CXF-3178.
-------------------------------

    Resolution: Fixed

commit fix
http://svn.apache.org/viewvc?rev=1043830&view=rev for trunk
http://svn.apache.org/viewvc?rev=1043832&view=rev for 2.3 branch
http://svn.apache.org/viewvc?rev=1043836&view=rev for 2.2 branch

> build failed on Mac OSX caused by Failed to resolve artifact. om.sun:tools:jar:1.5.0
> ------------------------------------------------------------------------------------
>
>                 Key: CXF-3178
>                 URL: https://issues.apache.org/jira/browse/CXF-3178
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 2.3.2, 2.4
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-3178) build failed on Mac OSX caused by Failed to resolve artifact. om.sun:tools:jar:1.5.0

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-3178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969617#action_12969617 ] 

Freeman Fang commented on CXF-3178:
-----------------------------------

seems we can safely exclude com.sun.tools as it try to fix some lower version maven issue.
I test it with maven 2.2.1 on my mac box and it's ok

> build failed on Mac OSX caused by Failed to resolve artifact. om.sun:tools:jar:1.5.0
> ------------------------------------------------------------------------------------
>
>                 Key: CXF-3178
>                 URL: https://issues.apache.org/jira/browse/CXF-3178
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 2.3.2, 2.4
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.