This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-indexer.git
commit c9037af75aa63249f80393c8a801450b172adfd5 Author: Sylwester Lachiewicz <[email protected]> AuthorDate: Thu Oct 29 13:20:47 2026 +0000 Clean up declared dependencies Declared: - lucene-core (indexer-cli) - lucene-core, plexus-utils (indexer-examples-basic) - lucene-core, lucene-queryparser, lucene-analysis-common (indexer-examples-spring) - plexus-utils, maven-model, test scope (indexer-examples-spring) - lucene-core (search-backend-indexer) Removed: - slf4j-api (indexer-examples-basic) - sisu.inject, guice, spring-core (indexer-examples-spring) Rescoped to test: - sisu.inject, guice (indexer-examples-basic) - javax.inject (search-backend-indexer) --- indexer-cli/pom.xml | 4 +++ indexer-examples/indexer-examples-basic/pom.xml | 15 +++++++---- indexer-examples/indexer-examples-spring/pom.xml | 34 +++++++++++++++--------- search-backend-indexer/pom.xml | 4 +++ 4 files changed, 39 insertions(+), 18 deletions(-) diff --git a/indexer-cli/pom.xml b/indexer-cli/pom.xml index 5373c219..190115df 100644 --- a/indexer-cli/pom.xml +++ b/indexer-cli/pom.xml @@ -44,6 +44,10 @@ under the License. <groupId>org.apache.maven.indexer</groupId> <artifactId>indexer-core</artifactId> </dependency> + <dependency> + <groupId>org.apache.lucene</groupId> + <artifactId>lucene-core</artifactId> + </dependency> <!-- Plexus (as compile since it has to end up in CLI) --> <dependency> diff --git a/indexer-examples/indexer-examples-basic/pom.xml b/indexer-examples/indexer-examples-basic/pom.xml index ad0bd86d..1fce6b43 100644 --- a/indexer-examples/indexer-examples-basic/pom.xml +++ b/indexer-examples/indexer-examples-basic/pom.xml @@ -36,11 +36,6 @@ under the License. <dependencies> <!-- Logging --> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - <scope>compile</scope> - </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> @@ -60,16 +55,26 @@ under the License. <groupId>org.apache.maven.resolver</groupId> <artifactId>maven-resolver-util</artifactId> </dependency> + <dependency> + <groupId>org.apache.lucene</groupId> + <artifactId>lucene-core</artifactId> + </dependency> + <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-utils</artifactId> + </dependency> <!-- Runtime: DI --> <dependency> <groupId>org.eclipse.sisu</groupId> <artifactId>org.eclipse.sisu.inject</artifactId> + <scope>test</scope> </dependency> <dependency> <groupId>com.google.inject</groupId> <artifactId>guice</artifactId> <classifier>classes</classifier> + <scope>test</scope> </dependency> <!-- Test --> diff --git a/indexer-examples/indexer-examples-spring/pom.xml b/indexer-examples/indexer-examples-spring/pom.xml index fbfaae08..b7fe6bdd 100644 --- a/indexer-examples/indexer-examples-spring/pom.xml +++ b/indexer-examples/indexer-examples-spring/pom.xml @@ -73,6 +73,18 @@ under the License. <artifactId>indexer-core</artifactId> <scope>compile</scope> </dependency> + <dependency> + <groupId>org.apache.lucene</groupId> + <artifactId>lucene-analysis-common</artifactId> + </dependency> + <dependency> + <groupId>org.apache.lucene</groupId> + <artifactId>lucene-core</artifactId> + </dependency> + <dependency> + <groupId>org.apache.lucene</groupId> + <artifactId>lucene-queryparser</artifactId> + </dependency> <dependency> <groupId>org.apache.maven</groupId> @@ -87,15 +99,6 @@ under the License. </dependency> <!-- Runtime: DI --> - <dependency> - <groupId>org.eclipse.sisu</groupId> - <artifactId>org.eclipse.sisu.inject</artifactId> - </dependency> - <dependency> - <groupId>com.google.inject</groupId> - <artifactId>guice</artifactId> - <classifier>classes</classifier> - </dependency> <!-- Spring dependencies start: --> <dependency> @@ -110,13 +113,18 @@ under the License. </dependency> <dependency> <groupId>org.springframework</groupId> - <artifactId>spring-core</artifactId> + <artifactId>spring-test</artifactId> <version>${version.spring}</version> + <scope>test</scope> </dependency> <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-test</artifactId> - <version>${version.spring}</version> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-utils</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-model</artifactId> <scope>test</scope> </dependency> <dependency> diff --git a/search-backend-indexer/pom.xml b/search-backend-indexer/pom.xml index 6d4df6ed..baba3a05 100644 --- a/search-backend-indexer/pom.xml +++ b/search-backend-indexer/pom.xml @@ -41,6 +41,10 @@ under the License. <groupId>org.apache.maven.indexer</groupId> <artifactId>indexer-core</artifactId> </dependency> + <dependency> + <groupId>org.apache.lucene</groupId> + <artifactId>lucene-core</artifactId> + </dependency> <!-- Test --> <dependency>
