Project

General

Profile

Actions

task #9359

open

Update cdmlib, taxeditor, cdmserver etc. dependencies

Added by Andreas Müller about 1 year ago. Updated 6 days ago.

Status:
In Progress
Priority:
Highest
Category:
cdmlib
Target version:
Start date:
12/18/2020
Due date:
% Done:

10%

Estimated time:
Severity:
normal

Description

A lot of version updates and updates to how dependencies are handled in TaxEditor has been done already in #9204.

However, further cleanup and update is needed.

mvn versions:display-dependency-updates
mvn dependency:tree
mvn dependency:tree -Dscope=compile
mvn org.apache.maven.plugins:maven-dependency-plugin:2.10:tree -Dverbose=true  (verbose flag has been removed in 3.0 (https://maven.apache.org/plugins/maven-dependency-plugin/examples/resolving-conflicts-using-the-dependency-tree.html)
mvn dependency:analyze
mvn versions:display-plugin-updates   (upgrade required maven version from time to time!)

also all other maven projects (CDM Server, cdm-vaadin, webapp, utis(2/3x) need dependency updates

TODO:

  • spring
  • hibernate
  • lucene
  • others
  • remove cdmlib-persistence from taxeditor dependencies (also removes hibernate dependencies) (#9208)
  • upgrade to hibernate >5.1
  • remove apache-log4j-extras from taxeditor #9205
  • update maven-compiler-plugin to 3.x in cdmlib #6407/#9919
  • update maven-resources-plugin to 3.2.0 in cdmlib-remote (see comment in pom)

===

Open issues from older tickets:

#3403: Update remaining libraries:

#3344: Migrate to hibernate 4

  • check if exclusion in parent.pom for hibernate-search-engine is still needed
  • check all applicationContexts.xml (xxx-test.xml) for redundant data
  • check preliminary hardcoded type in CdmEntityDaoBase.addOrder
    • AK: Ich denke das können wir vorerst mal so lassen, da ohnehin fast alles als String indiziert ist. Mit dem neuen hibernate search könnte da nun anders sein. Das würde dann eventuell id und date betreffen. Diese Freetext Methoden auf dao ebene werden bisher ohnehin nicht verwendet insofern besteht eh keine gefahr.
  • remove deprecated new FlatXmlDataSet by DataSetBuilder -> will be handled later
  • uncomment _c3p0ConnectionTest in src/test/resource/cp30-config.xml and remove this file in test (still exists in main)
  • check all errors when running in commandline (e.g. all locks on index updating and others) - index locking problem solved r17458
  • check @Ignore necessary for all tests (especially in service layer)

#2031 Update Hibernate to latest stable 4.1.1:

  • All open issues in ticket, kept open for now, including OrderedColumn ticket (see #3722)

#4716 Other dependencies to be updated

  • remove and solve ignore from DescriptionServiceImplTest.testMoveDescriptionElementsToTaxon => see comment #4716#note-6
  • AK: fix hibernate search related issues
    • 8096b11 : IndexDocValue relates issues solved, indexing now without exceptions, most tests in TaxonServiceSearchTest successful
    • remove Index annotations from abstract classes, hibernate search seems not capable of indexing polymorph classes. This will remove the @HSEARCH000044 warings.
  • AK: use the encrypto Passwordencoder in UserService instead of the deprecated one

  • move remoting-services.xml and httpInvokerServices.xml to remoting

  • try to remove exclusions where possible

  • check if the postcommit handler were set correctly in CdmPostDataChangeObservableListener and ValidationEventListenerBase

  • fix EntityValidationCrudJdbcImplTest and remove ignore

  • move TableGeneratorGlobalOverride back to cdmlib-test (see r27338)

  • remove dependsOn=tableGeneratorGlobalOverride from sessionFactory in persistence.xml and security_base.xml in production mode. It should be used only for test.

  • find a solution for dbunitModul to load datasets also from jars and other packages to avoid duplication of standard dataset files (TODO create ticket with detailed information)

TODO

  • aspectj-main anttask in model-pom still uses org.springframework.aspects and not sring-aspects (?) and aspectjtools version 1.7.1

  • we may concider removing commons-dbcp.commons-dbcp by org.apache.commons.commons-dbcp2 (maybe only used by unitils-database)

  • AK: what is with json-lib, why does it have [classifier]jdk15[/classifier] and is the dependency net.sf.json-lib:json-lib:jar:jdk15:2.4 still required => see #9887

  • do we want to move xpp3.xpp3 (1.1.4c) to org.ogce.xpp3 (1.1.6) ?

  • do we want to move xom.xom (1.2.5) to com.io7m.xom.xom (1.2.10) ? Already upgraded from 1.0 to 1.2.5

  • do we still need hibernate-parent (last version was 3.6.)?

  • decide which oracle driver to use

  • check if usertype.jodatime has been replaced by usertype.core

  • check how to upgrade to jena-tdb 3.0.0 (also check if commonsRDF is an alternative: https://commonsrdf.incubator.apache.org/ )

  • resolve those spring configuration files which still do have a spring-beans-3.0.xsd schema location

  • remove apache snapshot repository (for jena) and others

  • check if we can upgrade hibernate tooling with dependencies to hibernate 3.2.4 in persistence pom (tooling 5 is not yet released)

  • Check if SpringModule dependencies can be fully removed (it is only used in AbstractOaiPmhController for Caching, this could probably handled by other caching frameworks like EhCacheCache from spring-context-support)

  • we may want to further normalize spring config files: #5380

  • check if TaxonNodeByNameComparator is needed as spring bean as it is currently the case

  • Try to fix the HHH90000003 warnings (thrown in org.hibernate.boot.model.source.internal.hbm.ModelBinder line 2416, probably related to hibernate-envers, can be switched off by log4j.logger.org.hibernate.orm.deprecation=error) (related but not #7289)

  • fix open issues for cdmlib-db (#6025)

  • see if we can do more cross-project version management using toolchain plugin (https://maven.apache.org/plugins/maven-toolchains-plugin/index.html) or enforcer plugin or similar solutions. => see https://maven.apache.org/pom.html#Quick_Overview inheritance and aggregation section for all required base information on this. We may create a "cdm_base.pom" for all cdm wide inherited information and maybe another "edit_platform.pom" for all widely shared information (such as the EDIT platform repository and maybe some maven-plugin versioning). Cdmlib-parent will then primarily become an aggregation.pom


Related issues

Related to Edit - task #4009: consider using jackson as json libraryNewAndreas Kohlbecker02/09/2015

Actions
Related to Edit - bug #6025: Remaining open issues for cdmlib-dbNewAndreas Müller08/01/2016

Actions
Related to Edit - bug #6407: Upgrade maven compiler plugin to latest versionNewAndreas Müller02/02/2017

Actions
Related to Edit - task #9837: updadte vaadin to latets 7.* versionIn ProgressAndreas Kohlbecker11/01/2021

Actions
Related to Edit - task #9887: remove jdk15 classifier from json-libRejectedAndreas Müller11/29/2021

Actions
Related to Edit - task #9886: Create cdmlib modul cdmlib-apiIn ProgressAndreas Müller11/26/2021

Actions
Related to Edit - task #9919: Upgrade maven-compiler-plugin to 3.x in cdmlibDuplicateAndreas Müller01/15/2022

Actions
Copied from Edit - feature request #9204: Update cdmlib and taxeditor dependenciesClosedAndreas Müller08/20/2020

Actions
Copied to Edit - task #9205: Remove apache-log4j-extras from TaxEditor dependenciesNewKatja Luther08/24/2020

Actions
Copied to Edit - feature request #9190: Make taxeditor.local a loadable plugin not installed by defaultIn ProgressKatja Luther08/13/2020

Actions
Copied to Edit - feature request #9154: Further reduce TaxEditor size by cleaning up dependencies and making taxeditor.webapp plugin optionalNewKatja Luther07/15/2020

Actions
Copied to Edit - feature request #9341: Move local datasource access fully to taxeditor.localNewAndreas Müller12/03/2020

Actions
Copied to Edit - bug #9351: Include new locations for cdmlib-print and cdmlib-remote in jenkins release scriptClosedAndreas Kohlbecker08/26/2020

Actions
Copied from Edit - feature request #4716: Other dependencies to be updatedClosedAndreas Müller11/26/201502/01/2016

Actions
Actions #1

Updated by Andreas Müller about 1 year ago

  • Description updated (diff)
Actions #2

Updated by Andreas Müller about 1 year ago

Actions #3

Updated by Andreas Müller about 1 year ago

Actions #4

Updated by Andreas Müller about 1 year ago

  • Copied to task #9205: Remove apache-log4j-extras from TaxEditor dependencies added
Actions #5

Updated by Andreas Müller about 1 year ago

Actions #6

Updated by Andreas Müller about 1 year ago

  • Copied to feature request #9154: Further reduce TaxEditor size by cleaning up dependencies and making taxeditor.webapp plugin optional added
Actions #7

Updated by Andreas Müller about 1 year ago

Actions #8

Updated by Andreas Müller about 1 year ago

  • Copied to bug #9351: Include new locations for cdmlib-print and cdmlib-remote in jenkins release script added
Actions #9

Updated by Andreas Müller 12 months ago

  • Target version changed from Release 5.19 to Release 5.21
Actions #11

Updated by Andreas Müller 12 months ago

  • Description updated (diff)
Actions #12

Updated by Andreas Müller 12 months ago

  • Related to task #4009: consider using jackson as json library added
Actions #13

Updated by Andreas Müller 12 months ago

  • Description updated (diff)
Actions #14

Updated by Andreas Müller 12 months ago

  • Description updated (diff)
Actions #16

Updated by Andreas Müller 12 months ago

  • Description updated (diff)
Actions #18

Updated by Andreas Müller 12 months ago

  • Description updated (diff)
Actions #20

Updated by Andreas Müller 12 months ago

  • Description updated (diff)
Actions #21

Updated by Andreas Müller 12 months ago

  • Description updated (diff)
Actions #22

Updated by Andreas Müller 12 months ago

  • Description updated (diff)
Actions #23

Updated by Andreas Müller 12 months ago

Actions #24

Updated by Andreas Müller 12 months ago

Actions #25

Updated by Andreas Müller 12 months ago

  • Related to task #6714: Create 001-cdm.h2.sql automatically added
Actions #26

Updated by Andreas Müller 12 months ago

  • Related to deleted (task #6714: Create 001-cdm.h2.sql automatically)
Actions #27

Updated by Andreas Müller 11 months ago

  • Status changed from New to In Progress
  • Priority changed from New to Highest
  • % Done changed from 0 to 10
Actions #28

Updated by Andreas Müller 11 months ago

  • Target version changed from Release 5.21 to Release 5.22
Actions #29

Updated by Andreas Müller 9 months ago

  • Target version changed from Release 5.22 to Release 5.30
Actions #30

Updated by Andreas Müller 4 months ago

  • Description updated (diff)
Actions #32

Updated by Andreas Müller 3 months ago

  • Related to bug #6025: Remaining open issues for cdmlib-db added
Actions #33

Updated by Andreas Müller 3 months ago

  • Description updated (diff)
Actions #34

Updated by Andreas Müller 3 months ago

  • Related to bug #6407: Upgrade maven compiler plugin to latest version added
Actions #35

Updated by Andreas Müller 3 months ago

  • Description updated (diff)
Actions #36

Updated by Andreas Müller 3 months ago

  • Related to task #9837: updadte vaadin to latets 7.* version added
Actions #37

Updated by Andreas Müller about 2 months ago

  • Related to task #9887: remove jdk15 classifier from json-lib added
Actions #38

Updated by Andreas Müller about 2 months ago

  • Description updated (diff)
Actions #39

Updated by Andreas Müller about 1 month ago

  • Related to task #9886: Create cdmlib modul cdmlib-api added
Actions #40

Updated by Andreas Müller 9 days ago

  • Subject changed from Update cdmlib and taxeditor dependencies to Update cdmlib, taxeditor, cdmserver etc. dependencies
  • Description updated (diff)
Actions #41

Updated by Andreas Müller 9 days ago

  • Description updated (diff)
Actions #42

Updated by Andreas Müller 9 days ago

  • Related to task #9919: Upgrade maven-compiler-plugin to 3.x in cdmlib added
Actions #43

Updated by Andreas Müller 9 days ago

  • Description updated (diff)
Actions #44

Updated by Andreas Müller 9 days ago

  • Description updated (diff)
Actions #45

Updated by Andreas Müller 9 days ago

  • Description updated (diff)
Actions #46

Updated by Andreas Müller 9 days ago

  • Description updated (diff)
Actions #47

Updated by Andreas Müller 9 days ago

  • Description updated (diff)
Actions #48

Updated by Andreas Müller 9 days ago

  • Description updated (diff)
Actions #49

Updated by Andreas Müller 9 days ago

  • Description updated (diff)
Actions #50

Updated by Andreas Müller 9 days ago

  • Description updated (diff)
Actions #51

Updated by Andreas Müller 7 days ago

  • Description updated (diff)
Actions #52

Updated by Andreas Müller 7 days ago

  • Description updated (diff)
Actions #53

Updated by Andreas Müller 6 days ago

  • Description updated (diff)
Actions

Also available in: Atom PDF