From e7256f7b81ac7477687093150812d8f821b18b18 Mon Sep 17 00:00:00 2001 From: Konstantin Pavlov <1517853+kpavlov@users.noreply.github.com> Date: Wed, 16 Oct 2024 17:38:47 +0200 Subject: [PATCH] #1506 refactor enforcer plugin (#1923) ## Issue Contributes to #1506 ## Change This pull request involves the moving of the Maven Enforcer Plugin to langchain4j-parent and the addition of a temporary property to skip dependency convergence checks across multiple `pom.xml` files. Enforcer plugin contains following rules enabled by default: - [Require Maven version 3.8+](https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html) - [dependencyConvergence](https://maven.apache.org/enforcer/enforcer-rules/dependencyConvergence.html) - [banDuplicatePomDependencyVersions](https://maven.apache.org/enforcer/enforcer-rules/banDuplicatePomDependencyVersions.html) - Planned, but failing right now: [requireUpperBoundDeps](https://maven.apache.org/enforcer/enforcer-rules/requireUpperBoundDeps.html) The change can be tested locally with `mvn validate` command. ## General checklist - [x] There are no breaking changes - [ ] I have added unit and integration tests for my change - [ ] I have manually run all the unit and integration tests in the module I have added/changed, and they are all green - [ ] I have manually run all the unit and integration tests in the [core](https://github.com/langchain4j/langchain4j/tree/main/langchain4j-core) and [main](https://github.com/langchain4j/langchain4j/tree/main/langchain4j) modules, and they are all green - [ ] I have added/updated the [documentation](https://github.com/langchain4j/langchain4j/tree/main/docs/docs) - [ ] I have added an example in the [examples repo](https://github.com/langchain4j/langchain4j-examples) (only for "big" features) - [ ] I have added/updated [Spring Boot starter(s)](https://github.com/langchain4j/langchain4j-spring) (if applicable) --- .../pom.xml | 20 +---------- .../pom.xml | 25 -------------- .../pom.xml | 5 +++ .../pom.xml | 5 +++ .../pom.xml | 23 ------------- .../pom.xml | 23 ------------- .../pom.xml | 2 ++ .../pom.xml | 5 +++ .../pom.xml | 23 ------------- .../pom.xml | 23 ------------- .../pom.xml | 2 ++ .../pom.xml | 23 ------------- .../langchain4j-experimental-sql/pom.xml | 19 ----------- langchain4j-anthropic/pom.xml | 19 ----------- langchain4j-azure-ai-search/pom.xml | 5 +++ langchain4j-azure-cosmos-mongo-vcore/pom.xml | 23 ------------- langchain4j-azure-cosmos-nosql/pom.xml | 5 +++ langchain4j-azure-open-ai/pom.xml | 34 +++---------------- langchain4j-bedrock/pom.xml | 5 +++ langchain4j-cassandra/pom.xml | 2 ++ langchain4j-chatglm/pom.xml | 25 -------------- langchain4j-chroma/pom.xml | 25 -------------- langchain4j-cohere/pom.xml | 25 -------------- langchain4j-core/pom.xml | 22 ++---------- langchain4j-easy-rag/pom.xml | 5 +++ langchain4j-elasticsearch/pom.xml | 19 ----------- langchain4j-github-models/pom.xml | 23 ------------- langchain4j-hugging-face/pom.xml | 25 -------------- langchain4j-infinispan/pom.xml | 23 ------------- langchain4j-milvus/pom.xml | 2 ++ langchain4j-mistral-ai/pom.xml | 25 -------------- langchain4j-mongodb-atlas/pom.xml | 19 ----------- langchain4j-neo4j/pom.xml | 23 ------------- langchain4j-nomic/pom.xml | 25 -------------- langchain4j-ollama/pom.xml | 19 ----------- langchain4j-open-ai/pom.xml | 23 ------------- langchain4j-opensearch/pom.xml | 5 +++ langchain4j-parent/pom.xml | 29 ++++++++++++++++ langchain4j-pgvector/pom.xml | 2 ++ langchain4j-pinecone/pom.xml | 5 +++ langchain4j-qdrant/pom.xml | 5 +++ langchain4j-qianfan/pom.xml | 25 -------------- langchain4j-redis/pom.xml | 23 ------------- langchain4j-vearch/pom.xml | 31 ----------------- langchain4j-vertex-ai-gemini/pom.xml | 18 ---------- langchain4j-vertex-ai/pom.xml | 23 ------------- langchain4j-vespa/pom.xml | 25 -------------- langchain4j-voyage-ai/pom.xml | 25 -------------- langchain4j-weaviate/pom.xml | 5 +++ langchain4j-workers-ai/pom.xml | 25 -------------- langchain4j-zhipu-ai/pom.xml | 25 -------------- langchain4j/pom.xml | 19 ----------- .../pom.xml | 5 +++ .../pom.xml | 25 -------------- .../pom.xml | 25 -------------- 55 files changed, 108 insertions(+), 856 deletions(-) diff --git a/code-execution-engines/langchain4j-code-execution-engine-graalvm-polyglot/pom.xml b/code-execution-engines/langchain4j-code-execution-engine-graalvm-polyglot/pom.xml index 56fc022a1..5e116d583 100644 --- a/code-execution-engines/langchain4j-code-execution-engine-graalvm-polyglot/pom.xml +++ b/code-execution-engines/langchain4j-code-execution-engine-graalvm-polyglot/pom.xml @@ -112,25 +112,7 @@ true - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - + diff --git a/code-execution-engines/langchain4j-code-execution-engine-judge0/pom.xml b/code-execution-engines/langchain4j-code-execution-engine-judge0/pom.xml index a0250a632..c97bbe944 100644 --- a/code-execution-engines/langchain4j-code-execution-engine-judge0/pom.xml +++ b/code-execution-engines/langchain4j-code-execution-engine-judge0/pom.xml @@ -97,29 +97,4 @@ - - - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - - - \ No newline at end of file diff --git a/document-loaders/langchain4j-document-loader-amazon-s3/pom.xml b/document-loaders/langchain4j-document-loader-amazon-s3/pom.xml index e0b7ac7df..ece14fe59 100644 --- a/document-loaders/langchain4j-document-loader-amazon-s3/pom.xml +++ b/document-loaders/langchain4j-document-loader-amazon-s3/pom.xml @@ -14,6 +14,11 @@ langchain4j-document-loader-amazon-s3 LangChain4j :: Document Loader :: Amazon S3 + + + dependencyConvergence + + diff --git a/document-loaders/langchain4j-document-loader-azure-storage-blob/pom.xml b/document-loaders/langchain4j-document-loader-azure-storage-blob/pom.xml index e5958a4d1..294abf899 100644 --- a/document-loaders/langchain4j-document-loader-azure-storage-blob/pom.xml +++ b/document-loaders/langchain4j-document-loader-azure-storage-blob/pom.xml @@ -14,6 +14,11 @@ langchain4j-document-loader-azure-storage-blob LangChain4j :: Document Loader :: Azure Blob Storage + + + dependencyConvergence + + diff --git a/document-loaders/langchain4j-document-loader-github/pom.xml b/document-loaders/langchain4j-document-loader-github/pom.xml index 69f6754fd..bbb6b3ace 100644 --- a/document-loaders/langchain4j-document-loader-github/pom.xml +++ b/document-loaders/langchain4j-document-loader-github/pom.xml @@ -67,27 +67,4 @@ - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - - - \ No newline at end of file diff --git a/document-loaders/langchain4j-document-loader-google-cloud-storage/pom.xml b/document-loaders/langchain4j-document-loader-google-cloud-storage/pom.xml index 9aa12ea55..cb6414f06 100644 --- a/document-loaders/langchain4j-document-loader-google-cloud-storage/pom.xml +++ b/document-loaders/langchain4j-document-loader-google-cloud-storage/pom.xml @@ -71,27 +71,4 @@ - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - - - \ No newline at end of file diff --git a/document-loaders/langchain4j-document-loader-selenium/pom.xml b/document-loaders/langchain4j-document-loader-selenium/pom.xml index c8ef29a5e..33d7f1710 100644 --- a/document-loaders/langchain4j-document-loader-selenium/pom.xml +++ b/document-loaders/langchain4j-document-loader-selenium/pom.xml @@ -20,6 +20,8 @@ 4.13.0 + + dependencyConvergence diff --git a/document-loaders/langchain4j-document-loader-tencent-cos/pom.xml b/document-loaders/langchain4j-document-loader-tencent-cos/pom.xml index 57e56a2f2..fbe04052d 100644 --- a/document-loaders/langchain4j-document-loader-tencent-cos/pom.xml +++ b/document-loaders/langchain4j-document-loader-tencent-cos/pom.xml @@ -13,6 +13,11 @@ langchain4j-document-loader-tencent-cos LangChain4j :: Document Loader :: Tencent COS + + + dependencyConvergence + + dev.langchain4j diff --git a/document-parsers/langchain4j-document-parser-apache-pdfbox/pom.xml b/document-parsers/langchain4j-document-parser-apache-pdfbox/pom.xml index 4cb595aa0..458f7a1c0 100644 --- a/document-parsers/langchain4j-document-parser-apache-pdfbox/pom.xml +++ b/document-parsers/langchain4j-document-parser-apache-pdfbox/pom.xml @@ -41,27 +41,4 @@ - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - - - \ No newline at end of file diff --git a/document-parsers/langchain4j-document-parser-apache-poi/pom.xml b/document-parsers/langchain4j-document-parser-apache-poi/pom.xml index f8bbb0dc3..d302f750f 100644 --- a/document-parsers/langchain4j-document-parser-apache-poi/pom.xml +++ b/document-parsers/langchain4j-document-parser-apache-poi/pom.xml @@ -63,27 +63,4 @@ - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - - - \ No newline at end of file diff --git a/document-parsers/langchain4j-document-parser-apache-tika/pom.xml b/document-parsers/langchain4j-document-parser-apache-tika/pom.xml index a0db61855..4bf6b7d8b 100644 --- a/document-parsers/langchain4j-document-parser-apache-tika/pom.xml +++ b/document-parsers/langchain4j-document-parser-apache-tika/pom.xml @@ -17,6 +17,8 @@ 2.9.1 + + dependencyConvergence diff --git a/embedding-store-filter-parsers/langchain4j-embedding-store-filter-parser-sql/pom.xml b/embedding-store-filter-parsers/langchain4j-embedding-store-filter-parser-sql/pom.xml index 9d5558807..b6c39a298 100644 --- a/embedding-store-filter-parsers/langchain4j-embedding-store-filter-parser-sql/pom.xml +++ b/embedding-store-filter-parsers/langchain4j-embedding-store-filter-parser-sql/pom.xml @@ -91,27 +91,4 @@ - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - - - \ No newline at end of file diff --git a/experimental/langchain4j-experimental-sql/pom.xml b/experimental/langchain4j-experimental-sql/pom.xml index 02afa1f4e..207e1d975 100644 --- a/experimental/langchain4j-experimental-sql/pom.xml +++ b/experimental/langchain4j-experimental-sql/pom.xml @@ -103,25 +103,6 @@ true - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - diff --git a/langchain4j-anthropic/pom.xml b/langchain4j-anthropic/pom.xml index 6153a0ab5..916828006 100644 --- a/langchain4j-anthropic/pom.xml +++ b/langchain4j-anthropic/pom.xml @@ -132,25 +132,6 @@ - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - org.apache.maven.plugins maven-failsafe-plugin diff --git a/langchain4j-azure-ai-search/pom.xml b/langchain4j-azure-ai-search/pom.xml index 4b0986b02..bb2edd89e 100644 --- a/langchain4j-azure-ai-search/pom.xml +++ b/langchain4j-azure-ai-search/pom.xml @@ -14,6 +14,11 @@ langchain4j-azure-ai-search LangChain4j :: Integration :: Azure AI Search + + + dependencyConvergence + + diff --git a/langchain4j-azure-cosmos-mongo-vcore/pom.xml b/langchain4j-azure-cosmos-mongo-vcore/pom.xml index 92c3ae2fd..f12e3302a 100644 --- a/langchain4j-azure-cosmos-mongo-vcore/pom.xml +++ b/langchain4j-azure-cosmos-mongo-vcore/pom.xml @@ -94,27 +94,4 @@ - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - - - \ No newline at end of file diff --git a/langchain4j-azure-cosmos-nosql/pom.xml b/langchain4j-azure-cosmos-nosql/pom.xml index e0a0a487d..2a254c509 100644 --- a/langchain4j-azure-cosmos-nosql/pom.xml +++ b/langchain4j-azure-cosmos-nosql/pom.xml @@ -14,6 +14,11 @@ langchain4j-azure-cosmos-nosql LangChain4j :: Integration :: Azure CosmosDB NoSQL + + + dependencyConvergence + + diff --git a/langchain4j-azure-open-ai/pom.xml b/langchain4j-azure-open-ai/pom.xml index 8a1232b1d..18f99c893 100644 --- a/langchain4j-azure-open-ai/pom.xml +++ b/langchain4j-azure-open-ai/pom.xml @@ -14,6 +14,11 @@ langchain4j-azure-open-ai LangChain4j :: Integration :: Azure OpenAI + + + dependencyConvergence + + @@ -88,12 +93,6 @@ 4.1.110.Final - - io.netty - netty-transport-native-epoll - 4.1.110.Final - - io.netty netty-codec-http2 @@ -227,29 +226,6 @@ - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - - - Apache-2.0 diff --git a/langchain4j-bedrock/pom.xml b/langchain4j-bedrock/pom.xml index fc5d560e4..92f3a9fda 100644 --- a/langchain4j-bedrock/pom.xml +++ b/langchain4j-bedrock/pom.xml @@ -13,6 +13,11 @@ langchain4j-bedrock LangChain4j :: Integration :: Amazon Bedrock + + + dependencyConvergence + + dev.langchain4j diff --git a/langchain4j-cassandra/pom.xml b/langchain4j-cassandra/pom.xml index 59f6046c0..cfd535d8a 100644 --- a/langchain4j-cassandra/pom.xml +++ b/langchain4j-cassandra/pom.xml @@ -18,6 +18,8 @@ 1.2.4 2.16.1 11 + + dependencyConvergence diff --git a/langchain4j-chatglm/pom.xml b/langchain4j-chatglm/pom.xml index 9773991a8..aa62f318f 100644 --- a/langchain4j-chatglm/pom.xml +++ b/langchain4j-chatglm/pom.xml @@ -84,29 +84,4 @@ - - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - - - - \ No newline at end of file diff --git a/langchain4j-chroma/pom.xml b/langchain4j-chroma/pom.xml index 026980c11..ce8011cb0 100644 --- a/langchain4j-chroma/pom.xml +++ b/langchain4j-chroma/pom.xml @@ -108,31 +108,6 @@ - - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - - - - Apache-2.0 diff --git a/langchain4j-cohere/pom.xml b/langchain4j-cohere/pom.xml index 7cbb33701..9bf210ba0 100644 --- a/langchain4j-cohere/pom.xml +++ b/langchain4j-cohere/pom.xml @@ -78,29 +78,4 @@ - - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - - - - \ No newline at end of file diff --git a/langchain4j-core/pom.xml b/langchain4j-core/pom.xml index 74f163044..c3e33b922 100644 --- a/langchain4j-core/pom.xml +++ b/langchain4j-core/pom.xml @@ -7,6 +7,8 @@ -options + + requireUpperBoundDeps @@ -202,25 +204,7 @@ - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - + diff --git a/langchain4j-easy-rag/pom.xml b/langchain4j-easy-rag/pom.xml index 72f0771a3..2a4ac8794 100644 --- a/langchain4j-easy-rag/pom.xml +++ b/langchain4j-easy-rag/pom.xml @@ -15,6 +15,11 @@ LangChain4j :: Easy RAG + + + dependencyConvergence + + diff --git a/langchain4j-elasticsearch/pom.xml b/langchain4j-elasticsearch/pom.xml index 70723257c..70329b6ed 100644 --- a/langchain4j-elasticsearch/pom.xml +++ b/langchain4j-elasticsearch/pom.xml @@ -146,25 +146,6 @@ - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - diff --git a/langchain4j-github-models/pom.xml b/langchain4j-github-models/pom.xml index b6f102748..bd4a86201 100644 --- a/langchain4j-github-models/pom.xml +++ b/langchain4j-github-models/pom.xml @@ -182,29 +182,6 @@ - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - - - Apache-2.0 diff --git a/langchain4j-hugging-face/pom.xml b/langchain4j-hugging-face/pom.xml index 2efc9f98a..40c61d94a 100644 --- a/langchain4j-hugging-face/pom.xml +++ b/langchain4j-hugging-face/pom.xml @@ -73,31 +73,6 @@ - - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - - - - Apache-2.0 diff --git a/langchain4j-infinispan/pom.xml b/langchain4j-infinispan/pom.xml index 823bfa3dd..78f54df9c 100644 --- a/langchain4j-infinispan/pom.xml +++ b/langchain4j-infinispan/pom.xml @@ -110,29 +110,6 @@ - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - - - Apache-2.0 diff --git a/langchain4j-milvus/pom.xml b/langchain4j-milvus/pom.xml index ddc15ef05..433fbb222 100644 --- a/langchain4j-milvus/pom.xml +++ b/langchain4j-milvus/pom.xml @@ -16,6 +16,8 @@ false + + dependencyConvergence diff --git a/langchain4j-mistral-ai/pom.xml b/langchain4j-mistral-ai/pom.xml index f3653a0c6..d5b6ed66c 100644 --- a/langchain4j-mistral-ai/pom.xml +++ b/langchain4j-mistral-ai/pom.xml @@ -126,31 +126,6 @@ - - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - - - - Apache-2.0 diff --git a/langchain4j-mongodb-atlas/pom.xml b/langchain4j-mongodb-atlas/pom.xml index 4621a55b2..2f86d37db 100644 --- a/langchain4j-mongodb-atlas/pom.xml +++ b/langchain4j-mongodb-atlas/pom.xml @@ -109,25 +109,6 @@ ${skipMongoDbAtlasITs} - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - diff --git a/langchain4j-neo4j/pom.xml b/langchain4j-neo4j/pom.xml index 3073f3ef7..c2965a335 100644 --- a/langchain4j-neo4j/pom.xml +++ b/langchain4j-neo4j/pom.xml @@ -124,27 +124,4 @@ - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - - - \ No newline at end of file diff --git a/langchain4j-nomic/pom.xml b/langchain4j-nomic/pom.xml index 4bc6d8828..6004e2890 100644 --- a/langchain4j-nomic/pom.xml +++ b/langchain4j-nomic/pom.xml @@ -83,29 +83,4 @@ - - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - - - - diff --git a/langchain4j-ollama/pom.xml b/langchain4j-ollama/pom.xml index cecd05fd8..79e8e4e92 100644 --- a/langchain4j-ollama/pom.xml +++ b/langchain4j-ollama/pom.xml @@ -145,25 +145,6 @@ - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - org.apache.maven.plugins maven-failsafe-plugin diff --git a/langchain4j-open-ai/pom.xml b/langchain4j-open-ai/pom.xml index 36828fc69..532269b9a 100644 --- a/langchain4j-open-ai/pom.xml +++ b/langchain4j-open-ai/pom.xml @@ -100,29 +100,6 @@ - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - - - Apache-2.0 diff --git a/langchain4j-opensearch/pom.xml b/langchain4j-opensearch/pom.xml index 192c0264d..5b8ac3992 100644 --- a/langchain4j-opensearch/pom.xml +++ b/langchain4j-opensearch/pom.xml @@ -14,6 +14,11 @@ langchain4j-opensearch LangChain4j :: Integration :: OpenSearch + + + dependencyConvergence + + dev.langchain4j diff --git a/langchain4j-parent/pom.xml b/langchain4j-parent/pom.xml index ab56babe9..bb685f868 100644 --- a/langchain4j-parent/pom.xml +++ b/langchain4j-parent/pom.xml @@ -485,6 +485,11 @@ maven-dependency-plugin 3.8.0 + + org.apache.maven.plugins + maven-enforcer-plugin + 3.5.0 + @@ -572,6 +577,30 @@ + + + org.apache.maven.plugins + maven-enforcer-plugin + + + enforce + + + + + + 3.8 + + + + + + enforce + + + + + diff --git a/langchain4j-pgvector/pom.xml b/langchain4j-pgvector/pom.xml index 5a7b89091..cc2c1601a 100644 --- a/langchain4j-pgvector/pom.xml +++ b/langchain4j-pgvector/pom.xml @@ -15,6 +15,8 @@ 0.1.4 42.7.3 2.40.0 + + dependencyConvergence langchain4j-pgvector diff --git a/langchain4j-pinecone/pom.xml b/langchain4j-pinecone/pom.xml index 119a87f08..326beee75 100644 --- a/langchain4j-pinecone/pom.xml +++ b/langchain4j-pinecone/pom.xml @@ -14,6 +14,11 @@ langchain4j-pinecone LangChain4j :: Integration :: Pinecone + + + dependencyConvergence + + diff --git a/langchain4j-qdrant/pom.xml b/langchain4j-qdrant/pom.xml index d737a2db5..c69f04fd3 100644 --- a/langchain4j-qdrant/pom.xml +++ b/langchain4j-qdrant/pom.xml @@ -14,6 +14,11 @@ langchain4j-qdrant LangChain4j :: Integration :: Qdrant + + + dependencyConvergence + + diff --git a/langchain4j-qianfan/pom.xml b/langchain4j-qianfan/pom.xml index 322dd732a..96c09c405 100644 --- a/langchain4j-qianfan/pom.xml +++ b/langchain4j-qianfan/pom.xml @@ -99,31 +99,6 @@ - - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - - - - Apache-2.0 diff --git a/langchain4j-redis/pom.xml b/langchain4j-redis/pom.xml index 895221d96..6cbb822e4 100644 --- a/langchain4j-redis/pom.xml +++ b/langchain4j-redis/pom.xml @@ -97,29 +97,6 @@ - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - - - Apache-2.0 diff --git a/langchain4j-vearch/pom.xml b/langchain4j-vearch/pom.xml index b79166820..f3686a808 100644 --- a/langchain4j-vearch/pom.xml +++ b/langchain4j-vearch/pom.xml @@ -122,35 +122,4 @@ - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - - - org.apache.maven.plugins - maven-failsafe-plugin - - ${skipVearchITs} - - - - - \ No newline at end of file diff --git a/langchain4j-vertex-ai-gemini/pom.xml b/langchain4j-vertex-ai-gemini/pom.xml index cb5ab27f7..bb5008150 100644 --- a/langchain4j-vertex-ai-gemini/pom.xml +++ b/langchain4j-vertex-ai-gemini/pom.xml @@ -137,24 +137,6 @@ true - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - diff --git a/langchain4j-vertex-ai/pom.xml b/langchain4j-vertex-ai/pom.xml index 61d1d3868..5a41af502 100644 --- a/langchain4j-vertex-ai/pom.xml +++ b/langchain4j-vertex-ai/pom.xml @@ -88,29 +88,6 @@ - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - - - Apache-2.0 diff --git a/langchain4j-vespa/pom.xml b/langchain4j-vespa/pom.xml index 62f6c5829..4e3c46a09 100644 --- a/langchain4j-vespa/pom.xml +++ b/langchain4j-vespa/pom.xml @@ -103,31 +103,6 @@ - - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - - - - Apache-2.0 diff --git a/langchain4j-voyage-ai/pom.xml b/langchain4j-voyage-ai/pom.xml index d20ac4a1a..5801f9d3d 100644 --- a/langchain4j-voyage-ai/pom.xml +++ b/langchain4j-voyage-ai/pom.xml @@ -85,29 +85,4 @@ - - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - - - - \ No newline at end of file diff --git a/langchain4j-weaviate/pom.xml b/langchain4j-weaviate/pom.xml index 812a33ea1..40beaea90 100644 --- a/langchain4j-weaviate/pom.xml +++ b/langchain4j-weaviate/pom.xml @@ -17,6 +17,11 @@ https://github.com/weaviate/java-client/blob/main/LICENSE + + + dependencyConvergence + + diff --git a/langchain4j-workers-ai/pom.xml b/langchain4j-workers-ai/pom.xml index 47b00a00e..55b4a2d57 100644 --- a/langchain4j-workers-ai/pom.xml +++ b/langchain4j-workers-ai/pom.xml @@ -70,31 +70,6 @@ - - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - - - - Apache-2.0 diff --git a/langchain4j-zhipu-ai/pom.xml b/langchain4j-zhipu-ai/pom.xml index 1d8236574..b9ca49a92 100644 --- a/langchain4j-zhipu-ai/pom.xml +++ b/langchain4j-zhipu-ai/pom.xml @@ -119,31 +119,6 @@ - - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - - - - Apache-2.0 diff --git a/langchain4j/pom.xml b/langchain4j/pom.xml index ebb1e6211..be85d90cd 100644 --- a/langchain4j/pom.xml +++ b/langchain4j/pom.xml @@ -135,25 +135,6 @@ - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - diff --git a/web-search-engines/langchain4j-web-search-engine-google-custom/pom.xml b/web-search-engines/langchain4j-web-search-engine-google-custom/pom.xml index 5a9075774..7e9eaf701 100644 --- a/web-search-engines/langchain4j-web-search-engine-google-custom/pom.xml +++ b/web-search-engines/langchain4j-web-search-engine-google-custom/pom.xml @@ -17,6 +17,11 @@ LangChain4j :: Web Search Engine :: Google Custom Search Implementation of Google Custom Search API for LangChain4j + + + dependencyConvergence + + diff --git a/web-search-engines/langchain4j-web-search-engine-searchapi/pom.xml b/web-search-engines/langchain4j-web-search-engine-searchapi/pom.xml index 26dad7106..3026aa081 100644 --- a/web-search-engines/langchain4j-web-search-engine-searchapi/pom.xml +++ b/web-search-engines/langchain4j-web-search-engine-searchapi/pom.xml @@ -89,31 +89,6 @@ - - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - - - - Apache-2.0 diff --git a/web-search-engines/langchain4j-web-search-engine-tavily/pom.xml b/web-search-engines/langchain4j-web-search-engine-tavily/pom.xml index 5e8fafe7e..25d65c702 100644 --- a/web-search-engines/langchain4j-web-search-engine-tavily/pom.xml +++ b/web-search-engines/langchain4j-web-search-engine-tavily/pom.xml @@ -79,31 +79,6 @@ - - - - - org.apache.maven.plugins - maven-enforcer-plugin - 3.5.0 - - - enforce - - - - - - - enforce - - - - - - - - Apache-2.0