Skip to content

Commit

Permalink
#3571 - Update dependencies
Browse files Browse the repository at this point in the history
- Remove disabled ehcache/jcache configurations and dependencies since we do not use them anyway
  • Loading branch information
reckart committed Nov 22, 2022
1 parent fc198a5 commit 0252e70
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 57 deletions.
10 changes: 0 additions & 10 deletions inception/inception-app-webapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -516,14 +516,6 @@
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-jcache</artifactId>
</dependency>
<dependency>
<groupId>org.ehcache</groupId>
<artifactId>ehcache</artifactId>
</dependency>

<dependency>
<groupId>org.hsqldb</groupId>
Expand Down Expand Up @@ -938,11 +930,9 @@
<usedDependency>de.tudarmstadt.ukp.inception.app:inception-telemetry</usedDependency>
<!-- JDBC drivers and database stuff - used via reflection -->
<usedDependency>org.hibernate:hibernate-entitymanager</usedDependency>
<usedDependency>org.hibernate:hibernate-jcache</usedDependency>
<usedDependency>org.mariadb.jdbc:mariadb-java-client</usedDependency>
<usedDependency>org.postgresql:postgresql</usedDependency>
<usedDependency>org.hsqldb:hsqldb</usedDependency>
<usedDependency>org.ehcache:ehcache</usedDependency>
<!-- Logging - used via reflection / optional -->
<usedDependency>org.slf4j:log4j-over-slf4j</usedDependency>
<usedDependency>org.slf4j:jcl-over-slf4j</usedDependency>
Expand Down
24 changes: 0 additions & 24 deletions inception/inception-app-webapp/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,31 +54,12 @@ spring:
show-sql: false
open-in-view: true
properties:
javax:
persistence:
sharedCache:
# L2 CACHE: enable selective caching mode - only entities with @Cacheable annotation
# mode: ENABLE_SELECTIVE
mode: NONE
hibernate:
dialect: ${database.dialect:${INCEPTION_DB_DIALECT:}}
# Enable SQL statements formatting.
# format_sql: true
# L2 CACHE: generate statistics to check if L2/query cache is actually being used.
# generate_statistics: true
# jmx:
# enabled: true
# javax.cache:
# provider: org.ehcache.jsr107.EhcacheCachingProvider
# uri: classpath:ehcache.xml
cache:
# L2 CACHE: turn on L2 cache for individual entities
use_second_level_cache: false
# L2 CACHE: turn on L2 cache for collections entities
use_query_cache: false
# region:
# L2 CACHE: classpath to cache region factory.
# factory_class: org.hibernate.cache.jcache.JCacheRegionFactory
hibernate:
ddl-auto: validate
naming:
Expand All @@ -87,11 +68,6 @@ spring:
implicit-strategy: org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyJpaImpl
physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl

# spring:
# cache:
# jcache:
# config: classpath:/ehcache.xml

liquibase:
change-log: classpath:/db/changelog/db.changelog-master.xml

Expand Down
13 changes: 0 additions & 13 deletions inception/inception-app-webapp/src/main/resources/ehcache.xml

This file was deleted.

10 changes: 0 additions & 10 deletions inception/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1524,11 +1524,6 @@
<artifactId>hibernate-entitymanager</artifactId>
<version>${hibernate.version}</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-jcache</artifactId>
<version>${hibernate.version}</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
Expand All @@ -1544,11 +1539,6 @@
<artifactId>hibernate-validator</artifactId>
<version>${hibernate.validator.version}</version>
</dependency>
<dependency>
<groupId>org.ehcache</groupId>
<artifactId>ehcache</artifactId>
<version>3.10.8</version>
</dependency>
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
Expand Down

0 comments on commit 0252e70

Please sign in to comment.