You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2021/01/27 15:46:27 UTC
[camel] 03/04: CAMEL-16078: move camel-caffeine-lrucache from core
to components
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit e33222447d1ec0cb32ff070df682d5a4a61f7856
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Jan 27 15:44:44 2021 +0100
CAMEL-16078: move camel-caffeine-lrucache from core to components
---
{core => components}/camel-caffeine-lrucache/pom.xml | 2 +-
.../resources/META-INF/services/org/apache/camel/lru-cache-factory | 0
.../org/apache/camel/component/caffeine/lrucache/CaffeineLRUCache.java | 0
.../camel/component/caffeine/lrucache/CaffeineLRUCacheFactory.java | 0
.../apache/camel/component/caffeine/lrucache/CaffeineLRUSoftCache.java | 0
.../apache/camel/component/caffeine/lrucache/CaffeineLRUWeakCache.java | 0
.../apache/camel/component/caffeine/lrucache/CaffeineLRUCacheTest.java | 0
.../camel/component/caffeine/lrucache/CaffeineLRUSoftCacheTest.java | 0
.../camel-caffeine-lrucache/src/test/resources/log4j2.properties | 0
components/pom.xml | 1 +
core/pom.xml | 1 -
11 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/camel-caffeine-lrucache/pom.xml b/components/camel-caffeine-lrucache/pom.xml
similarity index 99%
rename from core/camel-caffeine-lrucache/pom.xml
rename to components/camel-caffeine-lrucache/pom.xml
index 8e00e06..e6dd739 100644
--- a/core/camel-caffeine-lrucache/pom.xml
+++ b/components/camel-caffeine-lrucache/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.camel</groupId>
- <artifactId>core</artifactId>
+ <artifactId>components</artifactId>
<version>3.8.0-SNAPSHOT</version>
</parent>
diff --git a/core/camel-caffeine-lrucache/src/generated/resources/META-INF/services/org/apache/camel/lru-cache-factory b/components/camel-caffeine-lrucache/src/generated/resources/META-INF/services/org/apache/camel/lru-cache-factory
similarity index 100%
rename from core/camel-caffeine-lrucache/src/generated/resources/META-INF/services/org/apache/camel/lru-cache-factory
rename to components/camel-caffeine-lrucache/src/generated/resources/META-INF/services/org/apache/camel/lru-cache-factory
diff --git a/core/camel-caffeine-lrucache/src/main/java/org/apache/camel/component/caffeine/lrucache/CaffeineLRUCache.java b/components/camel-caffeine-lrucache/src/main/java/org/apache/camel/component/caffeine/lrucache/CaffeineLRUCache.java
similarity index 100%
rename from core/camel-caffeine-lrucache/src/main/java/org/apache/camel/component/caffeine/lrucache/CaffeineLRUCache.java
rename to components/camel-caffeine-lrucache/src/main/java/org/apache/camel/component/caffeine/lrucache/CaffeineLRUCache.java
diff --git a/core/camel-caffeine-lrucache/src/main/java/org/apache/camel/component/caffeine/lrucache/CaffeineLRUCacheFactory.java b/components/camel-caffeine-lrucache/src/main/java/org/apache/camel/component/caffeine/lrucache/CaffeineLRUCacheFactory.java
similarity index 100%
rename from core/camel-caffeine-lrucache/src/main/java/org/apache/camel/component/caffeine/lrucache/CaffeineLRUCacheFactory.java
rename to components/camel-caffeine-lrucache/src/main/java/org/apache/camel/component/caffeine/lrucache/CaffeineLRUCacheFactory.java
diff --git a/core/camel-caffeine-lrucache/src/main/java/org/apache/camel/component/caffeine/lrucache/CaffeineLRUSoftCache.java b/components/camel-caffeine-lrucache/src/main/java/org/apache/camel/component/caffeine/lrucache/CaffeineLRUSoftCache.java
similarity index 100%
rename from core/camel-caffeine-lrucache/src/main/java/org/apache/camel/component/caffeine/lrucache/CaffeineLRUSoftCache.java
rename to components/camel-caffeine-lrucache/src/main/java/org/apache/camel/component/caffeine/lrucache/CaffeineLRUSoftCache.java
diff --git a/core/camel-caffeine-lrucache/src/main/java/org/apache/camel/component/caffeine/lrucache/CaffeineLRUWeakCache.java b/components/camel-caffeine-lrucache/src/main/java/org/apache/camel/component/caffeine/lrucache/CaffeineLRUWeakCache.java
similarity index 100%
rename from core/camel-caffeine-lrucache/src/main/java/org/apache/camel/component/caffeine/lrucache/CaffeineLRUWeakCache.java
rename to components/camel-caffeine-lrucache/src/main/java/org/apache/camel/component/caffeine/lrucache/CaffeineLRUWeakCache.java
diff --git a/core/camel-caffeine-lrucache/src/test/java/org/apache/camel/component/caffeine/lrucache/CaffeineLRUCacheTest.java b/components/camel-caffeine-lrucache/src/test/java/org/apache/camel/component/caffeine/lrucache/CaffeineLRUCacheTest.java
similarity index 100%
rename from core/camel-caffeine-lrucache/src/test/java/org/apache/camel/component/caffeine/lrucache/CaffeineLRUCacheTest.java
rename to components/camel-caffeine-lrucache/src/test/java/org/apache/camel/component/caffeine/lrucache/CaffeineLRUCacheTest.java
diff --git a/core/camel-caffeine-lrucache/src/test/java/org/apache/camel/component/caffeine/lrucache/CaffeineLRUSoftCacheTest.java b/components/camel-caffeine-lrucache/src/test/java/org/apache/camel/component/caffeine/lrucache/CaffeineLRUSoftCacheTest.java
similarity index 100%
rename from core/camel-caffeine-lrucache/src/test/java/org/apache/camel/component/caffeine/lrucache/CaffeineLRUSoftCacheTest.java
rename to components/camel-caffeine-lrucache/src/test/java/org/apache/camel/component/caffeine/lrucache/CaffeineLRUSoftCacheTest.java
diff --git a/core/camel-caffeine-lrucache/src/test/resources/log4j2.properties b/components/camel-caffeine-lrucache/src/test/resources/log4j2.properties
similarity index 100%
rename from core/camel-caffeine-lrucache/src/test/resources/log4j2.properties
rename to components/camel-caffeine-lrucache/src/test/resources/log4j2.properties
diff --git a/components/pom.xml b/components/pom.xml
index ca255f2..829ae58 100644
--- a/components/pom.xml
+++ b/components/pom.xml
@@ -159,6 +159,7 @@
<module>camel-box</module>
<module>camel-braintree</module>
<module>camel-caffeine</module>
+ <module>camel-caffeine-lrucache</module>
<module>camel-cassandraql</module>
<module>camel-cbor</module>
<module>camel-cdi</module>
diff --git a/core/pom.xml b/core/pom.xml
index 378d189..d47d325 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -38,7 +38,6 @@
<module>camel-api</module>
<module>camel-core-catalog</module>
<module>camel-support</module>
- <module>camel-caffeine-lrucache</module>
<module>camel-management-api</module>
<module>camel-management</module>
<module>camel-base</module>