[ https://issues.apache.org/jira/browse/UNOMI-829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17843735#comment-17843735 ]
Jonathan Sinovassin-Naïk edited comment on UNOMI-829 at 5/21/24 2:12 PM: ------------------------------------------------------------------------- https://issues.apache.org/jira/browse/UNOMI-830 to remove the usage of javax.validation Open ticket to remove apache-beanutils, last release was in 2019 and it's using commons-collections 3.2.2 Update commons-email <!-- This is the latest version we can use right now because of the javax.mail dependency that is still on 1.3 provided by pax-web, standard and cxf features --> Migrate jUnit 4 to jUnit 5 Update plugins version (maven release-plugin, build-helper-maven-plugin etc) Remove json-patcher. com.github.fge has been moved to com.github.java-json-tools. Last release was in 2020 and last release is not compatible with OSGI due to private packages in the MANIFEST was (Author: JIRAUSER291459): https://issues.apache.org/jira/browse/UNOMI-830 to remove the usage of javax.validation Open ticket to remove apache-beanutils, last release was in 2019 and it's using commons-collections 3.2.2 Update commons-email <!-- This is the latest version we can use right now because of the javax.mail dependency that is still on 1.3 provided by pax-web, standard and cxf features --> Migrate jUnit 4 to jUnit 5 Update plugins version (maven release-plugin, build-helper-maven-plugin etc) Remove json-patcher. com.github.fge has been moved to com.github.java-json-tools. Last release was in 2020 and last release is not compatible with OSGI due to private packages in the MANIFEST Fix or remove testGroovyAction.groovy in the samples: https://github.com/apache/unomi/blob/feda0ac62802562ee819cd0255a8f3f1c2cd0c5b/samples/groovy-actions/src/main/resources/META-INF/cxs/actions/testGroovyAction.groovy > Upgrade the dependencies version > -------------------------------- > > Key: UNOMI-829 > URL: https://issues.apache.org/jira/browse/UNOMI-829 > Project: Apache Unomi > Issue Type: Task > Components: unomi(-core) > Reporter: Jonathan Sinovassin-Naïk > Assignee: Jonathan Sinovassin-Naïk > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > The goal of this ticket is to update as many libraries as possible in the > unomi codebase. > Begin with libraries that are expected to be simple to upgrade, do not try > updating complex libraries in the context of this ticket. > Upgrade strategy: > * Look at library usage, see if it can be easily removed. > * If not, update the library and trigger a build. > * If the build fails, estimate effort to fix, if fix seems easy, timebox it > to 30mn MAX. > * If update is not easy, detail (briefly) why in this ticket and move on to > the next library. > Versioning strategy: > * Try updating to the last released version of the library (except if tagged > beta or alpha). > * If too many breaking changes, if a maintenance branch exists for that > library on the same major digit that the version used in unomi, and if this > version is still maintained (updated less than 2 years ago), update to the > latest released in this maintenance branch and create a ticket to update the > library to the latest released version. > * If not possible, detail briefly why in this ticket and create a ticket to > update or replace the library. -- This message was sent by Atlassian Jira (v8.20.10#820010)