jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torgeir Veimo (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-5215) remove use of deprecated guava methods
Date Fri, 02 Dec 2016 10:56:59 GMT

     [ https://issues.apache.org/jira/browse/OAK-5215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Torgeir Veimo updated OAK-5215:
-------------------------------
    Attachment: guava.patch

Patch to remove use of deprecated methods. Can be tested by also changing the guava version
to version 19.0;

diff --git a/oak-parent/pom.xml b/oak-parent/pom.xml
index fa4d47e..403302d 100644
--- a/oak-parent/pom.xml
+++ b/oak-parent/pom.xml
@@ -512,7 +512,7 @@
       <dependency>
         <groupId>com.google.guava</groupId>
         <artifactId>guava</artifactId>
-        <version>15.0</version>
+        <version>19.0</version>
       </dependency>
       <dependency>
         <groupId>org.easymock</groupId>


> remove use of deprecated guava methods
> --------------------------------------
>
>                 Key: OAK-5215
>                 URL: https://issues.apache.org/jira/browse/OAK-5215
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>    Affects Versions: 1.4.10, 1.5.14
>            Reporter: Torgeir Veimo
>            Priority: Minor
>         Attachments: guava.patch
>
>
> When running in a non-osgi environment it's sometimes necessary to use a more recent
version of the guava dependency due to requirements of other components. By changing the use
of methods that are deprecated in later version of guava, eg. v 19.0, it is possible to use
any guava version between 15.0 (current) and 19.0.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message