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 2024/03/22 09:07:03 UTC
(camel) branch main updated: CAMEL-20599: camel-ai - pom.xml should be clean (#13588)
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 2e25f290a2b CAMEL-20599: camel-ai - pom.xml should be clean (#13588)
2e25f290a2b is described below
commit 2e25f290a2b86e3e6ed96bfd9b985254dafc5989
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Mar 22 10:06:56 2024 +0100
CAMEL-20599: camel-ai - pom.xml should be clean (#13588)
CAMEL-20599: camel-ai - pom.xml should be clean
---
components/camel-ai/camel-langchain-chat/pom.xml | 86 +++++-----
.../camel-ai/camel-langchain-embeddings/pom.xml | 174 +++++++++++----------
components/camel-ai/pom.xml | 18 +--
3 files changed, 137 insertions(+), 141 deletions(-)
diff --git a/components/camel-ai/camel-langchain-chat/pom.xml b/components/camel-ai/camel-langchain-chat/pom.xml
index a4db1e5dde5..3e7b29e7f0b 100644
--- a/components/camel-ai/camel-langchain-chat/pom.xml
+++ b/components/camel-ai/camel-langchain-chat/pom.xml
@@ -17,50 +17,54 @@
limitations under the License.
-->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <artifactId>camel-ai-parent</artifactId>
- <groupId>org.apache.camel</groupId>
- <version>4.5.0-SNAPSHOT</version>
- </parent>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <artifactId>camel-langchain-chat</artifactId>
- <packaging>jar</packaging>
+ <modelVersion>4.0.0</modelVersion>
- <name>Camel :: LangChain :: Chat</name>
- <description>LangChain4j Chat component</description>
+ <parent>
+ <artifactId>camel-ai-parent</artifactId>
+ <groupId>org.apache.camel</groupId>
+ <version>4.5.0-SNAPSHOT</version>
+ </parent>
- <properties>
- <firstVersion>4.5.0</firstVersion>
- <supportLevel>Preview</supportLevel>
- <label>ai</label>
- </properties>
+ <artifactId>camel-langchain-chat</artifactId>
+ <packaging>jar</packaging>
+ <name>Camel :: LangChain :: Chat</name>
+ <description>LangChain4j Chat component</description>
- <dependencies>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-support</artifactId>
- </dependency>
- <!-- for testing -->
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-test-spring-junit5</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>dev.langchain4j</groupId>
- <artifactId>langchain4j-ollama</artifactId>
- <version>${langchain4j.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-test-infra-ollama</artifactId>
- <version>${project.version}</version>
- <type>test-jar</type>
- <scope>test</scope>
- </dependency>
- </dependencies>
+ <dependencies>
+
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-support</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>dev.langchain4j</groupId>
+ <artifactId>langchain4j</artifactId>
+ <version>${langchain4j.version}</version>
+ </dependency>
+
+ <!-- for testing -->
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-test-spring-junit5</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>dev.langchain4j</groupId>
+ <artifactId>langchain4j-ollama</artifactId>
+ <version>${langchain4j.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-test-infra-ollama</artifactId>
+ <version>${project.version}</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+
+ </dependencies>
</project>
diff --git a/components/camel-ai/camel-langchain-embeddings/pom.xml b/components/camel-ai/camel-langchain-embeddings/pom.xml
index 16fdc554bc5..bd614dc46ad 100644
--- a/components/camel-ai/camel-langchain-embeddings/pom.xml
+++ b/components/camel-ai/camel-langchain-embeddings/pom.xml
@@ -17,99 +17,103 @@
limitations under the License.
-->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <artifactId>camel-ai-parent</artifactId>
- <groupId>org.apache.camel</groupId>
- <version>4.5.0-SNAPSHOT</version>
- </parent>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <artifactId>camel-langchain-embeddings</artifactId>
- <packaging>jar</packaging>
+ <modelVersion>4.0.0</modelVersion>
- <name>Camel :: LangChain :: Embedding</name>
- <description>LangChain4j Embedding</description>
+ <parent>
+ <artifactId>camel-ai-parent</artifactId>
+ <groupId>org.apache.camel</groupId>
+ <version>4.5.0-SNAPSHOT</version>
+ </parent>
- <properties>
- <!-- Qdrant is not available on these platforms -->
- <skipITs.ppc64le>true</skipITs.ppc64le>
- <skipITs.s390x>true</skipITs.s390x>
- <skipTests.ppc64le>true</skipTests.ppc64le>
- <skipTests.s390x>true</skipTests.s390x>
- </properties>
+ <artifactId>camel-langchain-embeddings</artifactId>
+ <packaging>jar</packaging>
+ <name>Camel :: LangChain :: Embedding</name>
+ <description>LangChain4j Embedding</description>
- <dependencies>
- <dependency>
- <groupId>dev.langchain4j</groupId>
- <artifactId>langchain4j-core</artifactId>
- <version>${langchain4j.version}</version>
- </dependency>
+ <properties>
+ <!-- Qdrant is not available on these platforms -->
+ <skipITs.ppc64le>true</skipITs.ppc64le>
+ <skipITs.s390x>true</skipITs.s390x>
+ <skipTests.ppc64le>true</skipTests.ppc64le>
+ <skipTests.s390x>true</skipTests.s390x>
+ </properties>
- <!-- test dependencies -->
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-direct</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-qdrant</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-milvus</artifactId>
- <scope>test</scope>
- </dependency>
+ <dependencies>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-test-junit5</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter</artifactId>
- <scope>test</scope>
- </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-support</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>dev.langchain4j</groupId>
+ <artifactId>langchain4j-core</artifactId>
+ <version>${langchain4j.version}</version>
+ </dependency>
- <dependency>
- <groupId>org.assertj</groupId>
- <artifactId>assertj-core</artifactId>
- <version>${assertj-version}</version>
- <scope>test</scope>
- </dependency>
+ <!-- test dependencies -->
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-direct</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-qdrant</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-milvus</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-test-junit5</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.junit.jupiter</groupId>
+ <artifactId>junit-jupiter</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.assertj</groupId>
+ <artifactId>assertj-core</artifactId>
+ <version>${assertj-version}</version>
+ <scope>test</scope>
+ </dependency>
- <dependency>
- <groupId>dev.langchain4j</groupId>
- <artifactId>langchain4j-embeddings</artifactId>
- <version>${langchain4j.version}</version>
- <scope>test</scope>
- </dependency>
+ <dependency>
+ <groupId>dev.langchain4j</groupId>
+ <artifactId>langchain4j-embeddings</artifactId>
+ <version>${langchain4j.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>dev.langchain4j</groupId>
+ <artifactId>langchain4j-embeddings-all-minilm-l6-v2</artifactId>
+ <version>${langchain4j.version}</version>
+ <scope>test</scope>
+ </dependency>
- <dependency>
- <groupId>dev.langchain4j</groupId>
- <artifactId>langchain4j-embeddings-all-minilm-l6-v2</artifactId>
- <version>${langchain4j.version}</version>
- <scope>test</scope>
- </dependency>
+ <!-- test infra -->
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-test-infra-qdrant</artifactId>
+ <version>${project.version}</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-test-infra-milvus</artifactId>
+ <version>${project.version}</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
- <!-- test infra -->
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-test-infra-qdrant</artifactId>
- <version>${project.version}</version>
- <type>test-jar</type>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-test-infra-milvus</artifactId>
- <version>${project.version}</version>
- <type>test-jar</type>
- <scope>test</scope>
- </dependency>
-
- </dependencies>
+ </dependencies>
</project>
diff --git a/components/camel-ai/pom.xml b/components/camel-ai/pom.xml
index fa2b6861b51..843f9c1ec92 100644
--- a/components/camel-ai/pom.xml
+++ b/components/camel-ai/pom.xml
@@ -17,7 +17,9 @@
limitations under the License.
-->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
<modelVersion>4.0.0</modelVersion>
<parent>
@@ -28,7 +30,6 @@
<artifactId>camel-ai-parent</artifactId>
<packaging>pom</packaging>
-
<name>Camel :: AI :: Parent</name>
<description>Camel AI parent</description>
@@ -38,18 +39,5 @@
<module>camel-langchain-embeddings</module>
</modules>
- <dependencies>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-support</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>dev.langchain4j</groupId>
- <artifactId>langchain4j</artifactId>
- <version>${langchain4j.version}</version>
- </dependency>
- </dependencies>
-
</project>