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

Martin Wiesner updated OPENNLP-1788:
------------------------------------
    Description: 
github account _rsvoboda_ wrote:

"Without this change, versions like 1.5.4.foobar-007 end with 
java.lang.NumberFormatException: For input string: "4.foobar" when parsed by 
opennlp.tools.util.Version

Quarkus LangChain4J uses opennlp library transitively. We faced the above 
exception during startup when the dependency got productized - RedHat (part of 
IBM) rebuilds dependencies from the sources and adds a suffix to avoid GAV 
collision with the upstream project."


> Enhance opennlp.tools.util.Version to parse suffixed version
> ------------------------------------------------------------
>
>                 Key: OPENNLP-1788
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-1788
>             Project: OpenNLP
>          Issue Type: Improvement
>    Affects Versions: 2.5.6, 2.5.6.1
>            Reporter: Martin Wiesner
>            Assignee: Richard Zowalla
>            Priority: Minor
>             Fix For: 2.5.7, 3.0.0
>
>
> github account _rsvoboda_ wrote:
> "Without this change, versions like 1.5.4.foobar-007 end with 
> java.lang.NumberFormatException: For input string: "4.foobar" when parsed by 
> opennlp.tools.util.Version
> Quarkus LangChain4J uses opennlp library transitively. We faced the above 
> exception during startup when the dependency got productized - RedHat (part 
> of IBM) rebuilds dependencies from the sources and adds a suffix to avoid GAV 
> collision with the upstream project."



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to