[ 
https://issues.apache.org/jira/browse/UIMA-4973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15383809#comment-15383809
 ] 

Richard Eckart de Castilho commented on UIMA-4973:
--------------------------------------------------

{quote}
On 18.07.2016, at 09:33, info uniknow <[email protected]> wrote:

Hi Richard,

Haven't found any yet but I'm currently excluding the spring dependencies
of UIMA FIT and bringing in the latest Spring version. I was wondering
whether it is possible to create a new version of UIMA Fit with the latest
spring version or set the dependencies to provided.
{quote}

Maven does automatically choose the latest (and closest) version of a library.
So it is easier for Maven to automatically choose a newer version of Spring
if you need it than to downgrade e.g. from Spring 4 to 3 if a user wants
to use uimaFIT in such an environment.

Unless there are security or incompatibility issues, I would prefer keeping
the Spring dependency in uimaFIT at the lowest level possible. In my
experience, uimaFIT can be used in Spring 4 environments without problems.

Instead of excluding the Spring dependencies in uimaFIT, I would recommend
adding explicit Spring 4 dependencies to your POM (instead of e.g. relying
them to be added as transitive dependencies). In that way, Maven should do
the right thing. Also check your dependency tree and make sure you add
explicit dependencies until you see all the Spring dependencies at the
version you want them to be.

Should you encounter incompatibilities between uimaFIT and Spring 4, 
please let us know.

Best,

-- Richard

> Upgrade Spring Version uimafit
> ------------------------------
>
>                 Key: UIMA-4973
>                 URL: https://issues.apache.org/jira/browse/UIMA-4973
>             Project: UIMA
>          Issue Type: Improvement
>          Components: uimaFIT
>            Reporter: UniKnow
>            Priority: Minor
>
> Upgrade spring to version 4.x



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

Reply via email to