You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Marshall Pierce (JIRA)" <ji...@apache.org> on 2011/04/01 20:10:05 UTC

[jira] [Created] (GORA-31) jersey-json dependency not in repositories currently in ivysettings.xml

jersey-json dependency not in repositories currently in ivysettings.xml
-----------------------------------------------------------------------

                 Key: GORA-31
                 URL: https://issues.apache.org/jira/browse/GORA-31
             Project: Gora
          Issue Type: Improvement
            Reporter: Marshall Pierce


I checked out http://svn.apache.org/repos/asf/incubator/gora/trunk (currently at revision 1087834) and attempted to build with ant.
I got:
module not found: com.sun.jersey#jersey-json;1.4

This is because that doesn't exist in the maven central repo. A simple fix:


Index: ivy/ivysettings.xml
===================================================================
--- ivy/ivysettings.xml (revision 1087834)
+++ ivy/ivysettings.xml (working copy)
@@ -53,6 +53,11 @@
       pattern="${maven2.pattern.ext}"
       m2compatible="true"
       />
+    <ibiblio name="java.net-maven2"
+      root="http://download.java.net/maven/2/"
+      pattern="${maven2.pattern.ext}"
+      m2compatible="true"
+      />
     <ibiblio name="apache-snapshot"
       root="${snapshot.apache.org}"
       pattern="${maven2.pattern.ext}"
@@ -69,6 +74,7 @@
       <resolver ref="local"/>
       <resolver ref="maven2-local"/>
       <resolver ref="maven2"/>
+      <resolver ref="java.net-maven2"/>
     </chain>
     <chain name="internal">
       <resolver ref="local"/>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Re: [jira] [Commented] (GORA-31) jersey-json dependency not in repositories currently in ivysettings.xml

Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
In Maven, we can exclude a transitive dep and then replace with an explicit one -- can we do that with Ivy?

On Apr 6, 2011, at 9:34 PM, Henry Saputra wrote:

> I think jersey-core is used by HBase itself but not by Gora-hbase.
> 
> Someone could correct me if I am wrong. We should remove it as part of
> removing the package jar files in the /lib directory to use ivy to
> pull them from maven repo.
> 
> - Henry
> 
> On Wed, Apr 6, 2011 at 9:06 PM, Chris A. Mattmann (JIRA)
> <ji...@apache.org> wrote:
>> 
>>    [ https://issues.apache.org/jira/browse/GORA-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13016675#comment-13016675 ]
>> 
>> Chris A. Mattmann commented on GORA-31:
>> ---------------------------------------
>> 
>> we can move to Apache CXF -- we shouldn't need Jersey, right?
>> 
>>> jersey-json dependency not in repositories currently in ivysettings.xml
>>> -----------------------------------------------------------------------
>>> 
>>>                 Key: GORA-31
>>>                 URL: https://issues.apache.org/jira/browse/GORA-31
>>>             Project: Gora
>>>          Issue Type: Improvement
>>>            Reporter: Marshall Pierce
>>> 
>>> I checked out http://svn.apache.org/repos/asf/incubator/gora/trunk (currently at revision 1087834) and attempted to build with ant.
>>> I got:
>>> module not found: com.sun.jersey#jersey-json;1.4
>>> This is because that doesn't exist in the maven central repo. A simple fix:
>>> Index: ivy/ivysettings.xml
>>> ===================================================================
>>> --- ivy/ivysettings.xml (revision 1087834)
>>> +++ ivy/ivysettings.xml (working copy)
>>> @@ -53,6 +53,11 @@
>>>        pattern="${maven2.pattern.ext}"
>>>        m2compatible="true"
>>>        />
>>> +    <ibiblio name="java.net-maven2"
>>> +      root="http://download.java.net/maven/2/"
>>> +      pattern="${maven2.pattern.ext}"
>>> +      m2compatible="true"
>>> +      />
>>>      <ibiblio name="apache-snapshot"
>>>        root="${snapshot.apache.org}"
>>>        pattern="${maven2.pattern.ext}"
>>> @@ -69,6 +74,7 @@
>>>        <resolver ref="local"/>
>>>        <resolver ref="maven2-local"/>
>>>        <resolver ref="maven2"/>
>>> +      <resolver ref="java.net-maven2"/>
>>>      </chain>
>>>      <chain name="internal">
>>>        <resolver ref="local"/>
>> 
>> --
>> This message is automatically generated by JIRA.
>> For more information on JIRA, see: http://www.atlassian.com/software/jira
>> 
> 
> 
> 
> -- 
> Thanks,
> Henry


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.a.mattmann@nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Re: [jira] [Commented] (GORA-31) jersey-json dependency not in repositories currently in ivysettings.xml

Posted by Henry Saputra <he...@gmail.com>.
I think jersey-core is used by HBase itself but not by Gora-hbase.

Someone could correct me if I am wrong. We should remove it as part of
removing the package jar files in the /lib directory to use ivy to
pull them from maven repo.

- Henry

On Wed, Apr 6, 2011 at 9:06 PM, Chris A. Mattmann (JIRA)
<ji...@apache.org> wrote:
>
>    [ https://issues.apache.org/jira/browse/GORA-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13016675#comment-13016675 ]
>
> Chris A. Mattmann commented on GORA-31:
> ---------------------------------------
>
> we can move to Apache CXF -- we shouldn't need Jersey, right?
>
>> jersey-json dependency not in repositories currently in ivysettings.xml
>> -----------------------------------------------------------------------
>>
>>                 Key: GORA-31
>>                 URL: https://issues.apache.org/jira/browse/GORA-31
>>             Project: Gora
>>          Issue Type: Improvement
>>            Reporter: Marshall Pierce
>>
>> I checked out http://svn.apache.org/repos/asf/incubator/gora/trunk (currently at revision 1087834) and attempted to build with ant.
>> I got:
>> module not found: com.sun.jersey#jersey-json;1.4
>> This is because that doesn't exist in the maven central repo. A simple fix:
>> Index: ivy/ivysettings.xml
>> ===================================================================
>> --- ivy/ivysettings.xml (revision 1087834)
>> +++ ivy/ivysettings.xml (working copy)
>> @@ -53,6 +53,11 @@
>>        pattern="${maven2.pattern.ext}"
>>        m2compatible="true"
>>        />
>> +    <ibiblio name="java.net-maven2"
>> +      root="http://download.java.net/maven/2/"
>> +      pattern="${maven2.pattern.ext}"
>> +      m2compatible="true"
>> +      />
>>      <ibiblio name="apache-snapshot"
>>        root="${snapshot.apache.org}"
>>        pattern="${maven2.pattern.ext}"
>> @@ -69,6 +74,7 @@
>>        <resolver ref="local"/>
>>        <resolver ref="maven2-local"/>
>>        <resolver ref="maven2"/>
>> +      <resolver ref="java.net-maven2"/>
>>      </chain>
>>      <chain name="internal">
>>        <resolver ref="local"/>
>
> --
> This message is automatically generated by JIRA.
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>



-- 
Thanks,
Henry

[jira] [Commented] (GORA-31) jersey-json dependency not in repositories currently in ivysettings.xml

Posted by "Chris A. Mattmann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GORA-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13016675#comment-13016675 ] 

Chris A. Mattmann commented on GORA-31:
---------------------------------------

we can move to Apache CXF -- we shouldn't need Jersey, right?

> jersey-json dependency not in repositories currently in ivysettings.xml
> -----------------------------------------------------------------------
>
>                 Key: GORA-31
>                 URL: https://issues.apache.org/jira/browse/GORA-31
>             Project: Gora
>          Issue Type: Improvement
>            Reporter: Marshall Pierce
>
> I checked out http://svn.apache.org/repos/asf/incubator/gora/trunk (currently at revision 1087834) and attempted to build with ant.
> I got:
> module not found: com.sun.jersey#jersey-json;1.4
> This is because that doesn't exist in the maven central repo. A simple fix:
> Index: ivy/ivysettings.xml
> ===================================================================
> --- ivy/ivysettings.xml (revision 1087834)
> +++ ivy/ivysettings.xml (working copy)
> @@ -53,6 +53,11 @@
>        pattern="${maven2.pattern.ext}"
>        m2compatible="true"
>        />
> +    <ibiblio name="java.net-maven2"
> +      root="http://download.java.net/maven/2/"
> +      pattern="${maven2.pattern.ext}"
> +      m2compatible="true"
> +      />
>      <ibiblio name="apache-snapshot"
>        root="${snapshot.apache.org}"
>        pattern="${maven2.pattern.ext}"
> @@ -69,6 +74,7 @@
>        <resolver ref="local"/>
>        <resolver ref="maven2-local"/>
>        <resolver ref="maven2"/>
> +      <resolver ref="java.net-maven2"/>
>      </chain>
>      <chain name="internal">
>        <resolver ref="local"/>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (GORA-31) jersey-json dependency not in repositories currently in ivysettings.xml

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

Henry Saputra closed GORA-31.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 0.2-incubating

Fix with rev1089722

> jersey-json dependency not in repositories currently in ivysettings.xml
> -----------------------------------------------------------------------
>
>                 Key: GORA-31
>                 URL: https://issues.apache.org/jira/browse/GORA-31
>             Project: Gora
>          Issue Type: Improvement
>            Reporter: Marshall Pierce
>             Fix For: 0.2-incubating
>
>
> I checked out http://svn.apache.org/repos/asf/incubator/gora/trunk (currently at revision 1087834) and attempted to build with ant.
> I got:
> module not found: com.sun.jersey#jersey-json;1.4
> This is because that doesn't exist in the maven central repo. A simple fix:
> Index: ivy/ivysettings.xml
> ===================================================================
> --- ivy/ivysettings.xml (revision 1087834)
> +++ ivy/ivysettings.xml (working copy)
> @@ -53,6 +53,11 @@
>        pattern="${maven2.pattern.ext}"
>        m2compatible="true"
>        />
> +    <ibiblio name="java.net-maven2"
> +      root="http://download.java.net/maven/2/"
> +      pattern="${maven2.pattern.ext}"
> +      m2compatible="true"
> +      />
>      <ibiblio name="apache-snapshot"
>        root="${snapshot.apache.org}"
>        pattern="${maven2.pattern.ext}"
> @@ -69,6 +74,7 @@
>        <resolver ref="local"/>
>        <resolver ref="maven2-local"/>
>        <resolver ref="maven2"/>
> +      <resolver ref="java.net-maven2"/>
>      </chain>
>      <chain name="internal">
>        <resolver ref="local"/>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (GORA-31) jersey-json dependency not in repositories currently in ivysettings.xml

Posted by "Henry Saputra (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GORA-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13016674#comment-13016674 ] 

Henry Saputra commented on GORA-31:
-----------------------------------

Weird, I swore I cleaned ~/ivy2 and didnt see this missing dependency before =(

> jersey-json dependency not in repositories currently in ivysettings.xml
> -----------------------------------------------------------------------
>
>                 Key: GORA-31
>                 URL: https://issues.apache.org/jira/browse/GORA-31
>             Project: Gora
>          Issue Type: Improvement
>            Reporter: Marshall Pierce
>
> I checked out http://svn.apache.org/repos/asf/incubator/gora/trunk (currently at revision 1087834) and attempted to build with ant.
> I got:
> module not found: com.sun.jersey#jersey-json;1.4
> This is because that doesn't exist in the maven central repo. A simple fix:
> Index: ivy/ivysettings.xml
> ===================================================================
> --- ivy/ivysettings.xml (revision 1087834)
> +++ ivy/ivysettings.xml (working copy)
> @@ -53,6 +53,11 @@
>        pattern="${maven2.pattern.ext}"
>        m2compatible="true"
>        />
> +    <ibiblio name="java.net-maven2"
> +      root="http://download.java.net/maven/2/"
> +      pattern="${maven2.pattern.ext}"
> +      m2compatible="true"
> +      />
>      <ibiblio name="apache-snapshot"
>        root="${snapshot.apache.org}"
>        pattern="${maven2.pattern.ext}"
> @@ -69,6 +74,7 @@
>        <resolver ref="local"/>
>        <resolver ref="maven2-local"/>
>        <resolver ref="maven2"/>
> +      <resolver ref="java.net-maven2"/>
>      </chain>
>      <chain name="internal">
>        <resolver ref="local"/>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira