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) > <j...@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.mattm...@nasa.gov WWW: http://sunset.usc.edu/~mattmann/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++