This is an automated email from the ASF dual-hosted git repository.
ndipiazza pushed a commit to branch TIKA-4595-dynamic-fetcher-management
in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to
refs/heads/TIKA-4595-dynamic-fetcher-management by this push:
new bbf2ae5c1 TIKA-4598: Move Ignite ConfigStore from plugin to core module
bbf2ae5c1 is described below
commit bbf2ae5c151190e105bc5c8ef704e091b0ba7f28
Author: Nicholas DiPiazza <[email protected]>
AuthorDate: Mon Dec 29 03:37:31 2025 -0600
TIKA-4598: Move Ignite ConfigStore from plugin to core module
- Moved tika-pipes-ignite from tika-pipes/tika-pipes-plugins to
tika-pipes/tika-pipes-config-store-ignite
- Removed plugin architecture (@Extension, PF4J dependencies, assembly,
plugin.properties)
- Changed scope from 'provided' to regular dependencies since it's now a
core module
- Updated parent from tika-pipes-plugins to tika-pipes
- Removed plugin.excluded properties as they're no longer needed
- Simplified build configuration by removing assembly and dependency copy
plugins
- Module is now a regular JAR dependency instead of a PF4J plugin
---
tika-pipes/pom.xml | 1 +
.../README.md | 0
.../pom.xml | 61 +----------
.../tika/pipes/ignite/ExtensionConfigDTO.java | 0
.../tika/pipes/ignite/IgniteConfigStore.java | 42 ++++++--
.../pipes/ignite/IgniteConfigStoreFactory.java | 3 -
.../ignite/config/IgniteConfigStoreConfig.java | 0
.../pipes/ignite/server/IgniteStoreServer.java | 118 +++++++++++++++++++++
.../tika/pipes/ignite/IgniteConfigStoreTest.java | 10 ++
tika-pipes/tika-pipes-plugins/pom.xml | 1 -
.../src/main/assembly/assembly.xml | 55 ----------
.../pipes/plugin/ignite/IgnitePipesPlugin.java | 48 ---------
.../src/main/resources/plugin.properties | 22 ----
13 files changed, 167 insertions(+), 194 deletions(-)
diff --git a/tika-pipes/pom.xml b/tika-pipes/pom.xml
index e8366313d..71838aa6d 100644
--- a/tika-pipes/pom.xml
+++ b/tika-pipes/pom.xml
@@ -35,6 +35,7 @@
<module>tika-httpclient-commons</module>
<module>tika-pipes-reporter-commons</module>
<module>tika-pipes-iterator-commons</module>
+ <module>tika-pipes-config-store-ignite</module>
<module>tika-pipes-plugins</module>
<module>tika-pipes-fork-parser</module>
<module>tika-async-cli</module>
diff --git a/tika-pipes/tika-pipes-plugins/tika-pipes-ignite/README.md
b/tika-pipes/tika-pipes-config-store-ignite/README.md
similarity index 100%
rename from tika-pipes/tika-pipes-plugins/tika-pipes-ignite/README.md
rename to tika-pipes/tika-pipes-config-store-ignite/README.md
diff --git a/tika-pipes/tika-pipes-plugins/tika-pipes-ignite/pom.xml
b/tika-pipes/tika-pipes-config-store-ignite/pom.xml
similarity index 65%
rename from tika-pipes/tika-pipes-plugins/tika-pipes-ignite/pom.xml
rename to tika-pipes/tika-pipes-config-store-ignite/pom.xml
index eb52ff0e9..b9a52adba 100644
--- a/tika-pipes/tika-pipes-plugins/tika-pipes-ignite/pom.xml
+++ b/tika-pipes/tika-pipes-config-store-ignite/pom.xml
@@ -19,22 +19,20 @@
-->
<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
https://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
- <artifactId>tika-pipes-plugins</artifactId>
+ <artifactId>tika-pipes</artifactId>
<groupId>org.apache.tika</groupId>
<version>4.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
- <artifactId>tika-pipes-ignite</artifactId>
- <name>Apache Tika Pipes Apache Ignite</name>
+ <artifactId>tika-pipes-config-store-ignite</artifactId>
+ <name>Apache Tika Pipes Apache Ignite ConfigStore</name>
<packaging>jar</packaging>
<properties>
<ignite.version>2.17.0</ignite.version>
<!-- Ignite 2.16.0 requires H2 1.4.x - not compatible with 2.x -->
<h2.version>1.4.197</h2.version>
-
<plugin.excluded.artifactIds>tika-core,tika-pipes-api,tika-pipes-core,tika-serialization,tika-plugins-core</plugin.excluded.artifactIds>
-
<plugin.excluded.groupIds>org.apache.logging.log4j,org.slf4j</plugin.excluded.groupIds>
</properties>
<dependencies>
@@ -47,18 +45,15 @@
<groupId>${project.groupId}</groupId>
<artifactId>tika-pipes-api</artifactId>
<version>${project.version}</version>
- <scope>provided</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>tika-core</artifactId>
<version>${project.version}</version>
- <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j2-impl</artifactId>
- <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.ignite</groupId>
@@ -111,59 +106,11 @@
<configuration>
<archive>
<manifestEntries>
-
<Automatic-Module-Name>org.apache.tika.pipes.ignite</Automatic-Module-Name>
+
<Automatic-Module-Name>org.apache.tika.pipes.config.store.ignite</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-dependencies</id>
- <phase>package</phase>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <configuration>
- <outputDirectory>${project.build.directory}/lib</outputDirectory>
- <includeScope>runtime</includeScope>
-
<excludeArtifactIds>${plugin.excluded.artifactIds}</excludeArtifactIds>
- <excludeGroupIds>${plugin.excluded.groupIds}</excludeGroupIds>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptors>
- <descriptor>src/main/assembly/assembly.xml</descriptor>
- </descriptors>
- <finalName>${project.artifactId}-${project.version}</finalName>
- <appendAssemblyId>false</appendAssemblyId>
- </configuration>
- <executions>
- <execution>
- <id>make-assembly</id>
- <phase>package</phase>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <annotationProcessors>
-
<annotationProcessor>org.pf4j.processor.ExtensionAnnotationProcessor</annotationProcessor>
- </annotationProcessors>
- </configuration>
- </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
diff --git
a/tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/main/java/org/apache/tika/pipes/ignite/ExtensionConfigDTO.java
b/tika-pipes/tika-pipes-config-store-ignite/src/main/java/org/apache/tika/pipes/ignite/ExtensionConfigDTO.java
similarity index 100%
rename from
tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/main/java/org/apache/tika/pipes/ignite/ExtensionConfigDTO.java
rename to
tika-pipes/tika-pipes-config-store-ignite/src/main/java/org/apache/tika/pipes/ignite/ExtensionConfigDTO.java
diff --git
a/tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/main/java/org/apache/tika/pipes/ignite/IgniteConfigStore.java
b/tika-pipes/tika-pipes-config-store-ignite/src/main/java/org/apache/tika/pipes/ignite/IgniteConfigStore.java
similarity index 77%
rename from
tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/main/java/org/apache/tika/pipes/ignite/IgniteConfigStore.java
rename to
tika-pipes/tika-pipes-config-store-ignite/src/main/java/org/apache/tika/pipes/ignite/IgniteConfigStore.java
index e2f8a6c74..05becb62b 100644
---
a/tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/main/java/org/apache/tika/pipes/ignite/IgniteConfigStore.java
+++
b/tika-pipes/tika-pipes-config-store-ignite/src/main/java/org/apache/tika/pipes/ignite/IgniteConfigStore.java
@@ -60,6 +60,7 @@ public class IgniteConfigStore implements ConfigStore {
private boolean autoClose = true;
private ExtensionConfig extensionConfig;
private boolean closed = false;
+ private boolean clientMode = true; // Default to client mode
public IgniteConfigStore() {
}
@@ -96,18 +97,30 @@ public class IgniteConfigStore implements ConfigStore {
LOG.info("Initializing IgniteConfigStore with cache: {}, mode: {},
instance: {}",
cacheName, cacheMode, igniteInstanceName);
+ // Disable Ignite's Object Input Filter autoconfiguration to avoid
conflicts
+
System.setProperty("IGNITE_ENABLE_OBJECT_INPUT_FILTER_AUTOCONFIGURATION",
"false");
+
IgniteConfiguration cfg = new IgniteConfiguration();
- cfg.setIgniteInstanceName(igniteInstanceName);
- cfg.setClientMode(false);
+ cfg.setIgniteInstanceName(igniteInstanceName + (clientMode ? "-Client"
: ""));
+ cfg.setClientMode(clientMode);
+ cfg.setPeerClassLoadingEnabled(false); // Disable to avoid
classloader conflicts
+
+ // Set work directory to /var/cache/tika to match Tika's cache location
+ cfg.setWorkDirectory(System.getProperty("ignite.work.dir",
"/var/cache/tika/ignite-work"));
ignite = Ignition.start(cfg);
- CacheConfiguration<String, ExtensionConfigDTO> cacheCfg = new
CacheConfiguration<>(cacheName);
- cacheCfg.setCacheMode(cacheMode);
- cacheCfg.setBackups(cacheMode == CacheMode.PARTITIONED ? 1 : 0);
-
- cache = ignite.getOrCreateCache(cacheCfg);
- LOG.info("IgniteConfigStore initialized successfully");
+ // Get cache (it should already exist on the server)
+ cache = ignite.cache(cacheName);
+ if (cache == null) {
+ // If not found, create it (shouldn't happen if server started
first)
+ LOG.warn("Cache {} not found on server, creating it", cacheName);
+ CacheConfiguration<String, ExtensionConfigDTO> cacheCfg = new
CacheConfiguration<>(cacheName);
+ cacheCfg.setCacheMode(cacheMode);
+ cacheCfg.setBackups(cacheMode == CacheMode.PARTITIONED ? 1 : 0);
+ cache = ignite.getOrCreateCache(cacheCfg);
+ }
+ LOG.info("IgniteConfigStore initialized successfully as client");
}
@Override
@@ -155,6 +168,15 @@ public class IgniteConfigStore implements ConfigStore {
return cache.size();
}
+ @Override
+ public ExtensionConfig remove(String id) {
+ if (cache == null) {
+ throw new IllegalStateException("IgniteConfigStore not
initialized. Call init() first.");
+ }
+ ExtensionConfigDTO removed = cache.getAndRemove(id);
+ return removed != null ? removed.toExtensionConfig() : null;
+ }
+
public void close() {
if (ignite != null && autoClose) {
LOG.info("Closing IgniteConfigStore");
@@ -180,4 +202,8 @@ public class IgniteConfigStore implements ConfigStore {
public void setAutoClose(boolean autoClose) {
this.autoClose = autoClose;
}
+
+ public void setClientMode(boolean clientMode) {
+ this.clientMode = clientMode;
+ }
}
diff --git
a/tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/main/java/org/apache/tika/pipes/ignite/IgniteConfigStoreFactory.java
b/tika-pipes/tika-pipes-config-store-ignite/src/main/java/org/apache/tika/pipes/ignite/IgniteConfigStoreFactory.java
similarity index 97%
rename from
tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/main/java/org/apache/tika/pipes/ignite/IgniteConfigStoreFactory.java
rename to
tika-pipes/tika-pipes-config-store-ignite/src/main/java/org/apache/tika/pipes/ignite/IgniteConfigStoreFactory.java
index c527b5c67..81c40b79b 100644
---
a/tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/main/java/org/apache/tika/pipes/ignite/IgniteConfigStoreFactory.java
+++
b/tika-pipes/tika-pipes-config-store-ignite/src/main/java/org/apache/tika/pipes/ignite/IgniteConfigStoreFactory.java
@@ -18,8 +18,6 @@ package org.apache.tika.pipes.ignite;
import java.io.IOException;
-import org.pf4j.Extension;
-
import org.apache.tika.exception.TikaConfigException;
import org.apache.tika.pipes.core.config.ConfigStore;
import org.apache.tika.pipes.core.config.ConfigStoreFactory;
@@ -28,7 +26,6 @@ import org.apache.tika.plugins.ExtensionConfig;
/**
* Factory for creating Ignite-based ConfigStore instances.
*/
-@Extension
public class IgniteConfigStoreFactory implements ConfigStoreFactory {
private static final String NAME = "ignite";
diff --git
a/tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/main/java/org/apache/tika/pipes/ignite/config/IgniteConfigStoreConfig.java
b/tika-pipes/tika-pipes-config-store-ignite/src/main/java/org/apache/tika/pipes/ignite/config/IgniteConfigStoreConfig.java
similarity index 100%
rename from
tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/main/java/org/apache/tika/pipes/ignite/config/IgniteConfigStoreConfig.java
rename to
tika-pipes/tika-pipes-config-store-ignite/src/main/java/org/apache/tika/pipes/ignite/config/IgniteConfigStoreConfig.java
diff --git
a/tika-pipes/tika-pipes-config-store-ignite/src/main/java/org/apache/tika/pipes/ignite/server/IgniteStoreServer.java
b/tika-pipes/tika-pipes-config-store-ignite/src/main/java/org/apache/tika/pipes/ignite/server/IgniteStoreServer.java
new file mode 100644
index 000000000..8d8759ac8
--- /dev/null
+++
b/tika-pipes/tika-pipes-config-store-ignite/src/main/java/org/apache/tika/pipes/ignite/server/IgniteStoreServer.java
@@ -0,0 +1,118 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.tika.pipes.ignite.server;
+
+import org.apache.ignite.Ignite;
+import org.apache.ignite.IgniteCache;
+import org.apache.ignite.Ignition;
+import org.apache.ignite.cache.CacheMode;
+import org.apache.ignite.configuration.CacheConfiguration;
+import org.apache.ignite.configuration.IgniteConfiguration;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import org.apache.tika.pipes.ignite.ExtensionConfigDTO;
+
+/**
+ * Embedded Ignite server that hosts the distributed cache.
+ * This runs as a background thread within the tika-grpc process.
+ * Tika gRPC and forked PipesServer instances connect as clients.
+ */
+public class IgniteStoreServer implements AutoCloseable {
+
+ private static final Logger LOG =
LoggerFactory.getLogger(IgniteStoreServer.class);
+ private static final String DEFAULT_CACHE_NAME = "tika-config-store";
+ private static final String DEFAULT_INSTANCE_NAME = "TikaIgniteServer";
+
+ private Ignite ignite;
+ private final String cacheName;
+ private final CacheMode cacheMode;
+ private final String instanceName;
+
+ public IgniteStoreServer() {
+ this(DEFAULT_CACHE_NAME, CacheMode.REPLICATED, DEFAULT_INSTANCE_NAME);
+ }
+
+ public IgniteStoreServer(String cacheName, CacheMode cacheMode, String
instanceName) {
+ this.cacheName = cacheName;
+ this.cacheMode = cacheMode;
+ this.instanceName = instanceName;
+ }
+
+ /**
+ * Start the Ignite server node in a background daemon thread.
+ */
+ public void startAsync() {
+ Thread serverThread = new Thread(() -> {
+ try {
+ start();
+ } catch (Exception e) {
+ LOG.error("Failed to start Ignite server", e);
+ }
+ }, "IgniteServerThread");
+ serverThread.setDaemon(true);
+ serverThread.start();
+
+ // Wait for server to initialize
+ try {
+ Thread.sleep(3000);
+ } catch (InterruptedException e) {
+ Thread.currentThread().interrupt();
+ }
+ }
+
+ private void start() throws Exception {
+ LOG.info("Starting Ignite server: instance={}, cache={}, mode={}",
+ instanceName, cacheName, cacheMode);
+
+ // Disable Ignite's Object Input Filter autoconfiguration to avoid
conflicts
+
System.setProperty("IGNITE_ENABLE_OBJECT_INPUT_FILTER_AUTOCONFIGURATION",
"false");
+
+ IgniteConfiguration cfg = new IgniteConfiguration();
+ cfg.setIgniteInstanceName(instanceName);
+ cfg.setClientMode(false); // Server mode
+ cfg.setPeerClassLoadingEnabled(false); // Disable to avoid classloader
conflicts
+
+ // Set work directory to /var/cache/tika to match Tika's cache location
+ cfg.setWorkDirectory(System.getProperty("ignite.work.dir",
"/var/cache/tika/ignite-work"));
+
+ ignite = Ignition.start(cfg);
+
+ CacheConfiguration<String, ExtensionConfigDTO> cacheCfg =
+ new CacheConfiguration<>(cacheName);
+ cacheCfg.setCacheMode(cacheMode);
+ cacheCfg.setBackups(cacheMode == CacheMode.PARTITIONED ? 1 : 0);
+
+ IgniteCache<String, ExtensionConfigDTO> cache =
ignite.getOrCreateCache(cacheCfg);
+
+ LOG.info("Ignite server started successfully with cache: {}",
cache.getName());
+ LOG.info("Ignite topology: {} nodes", ignite.cluster().nodes().size());
+ }
+
+ public boolean isRunning() {
+ return ignite != null;
+ }
+
+ @Override
+ public void close() {
+ if (ignite != null) {
+ LOG.info("Stopping Ignite server: {}", instanceName);
+ ignite.close();
+ ignite = null;
+ }
+ }
+}
diff --git
a/tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/test/java/org/apache/tika/pipes/ignite/IgniteConfigStoreTest.java
b/tika-pipes/tika-pipes-config-store-ignite/src/test/java/org/apache/tika/pipes/ignite/IgniteConfigStoreTest.java
similarity index 95%
rename from
tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/test/java/org/apache/tika/pipes/ignite/IgniteConfigStoreTest.java
rename to
tika-pipes/tika-pipes-config-store-ignite/src/test/java/org/apache/tika/pipes/ignite/IgniteConfigStoreTest.java
index bc72ad0b5..41a520e1f 100644
---
a/tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/test/java/org/apache/tika/pipes/ignite/IgniteConfigStoreTest.java
+++
b/tika-pipes/tika-pipes-config-store-ignite/src/test/java/org/apache/tika/pipes/ignite/IgniteConfigStoreTest.java
@@ -23,20 +23,30 @@ import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
+import java.nio.file.Path;
+
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.io.TempDir;
import org.apache.tika.plugins.ExtensionConfig;
public class IgniteConfigStoreTest {
+ @TempDir
+ private Path tempDir;
+
private IgniteConfigStore store;
@BeforeEach
public void setUp() throws Exception {
+ // Set the work directory for Ignite to use the temp directory
+ System.setProperty("ignite.work.dir", tempDir.toString());
+
store = new IgniteConfigStore();
store.setIgniteInstanceName("TestIgniteInstance-" +
System.currentTimeMillis());
+ store.setClientMode(false); // Run as server for tests
store.init();
}
diff --git a/tika-pipes/tika-pipes-plugins/pom.xml
b/tika-pipes/tika-pipes-plugins/pom.xml
index d33378351..abc9314f6 100644
--- a/tika-pipes/tika-pipes-plugins/pom.xml
+++ b/tika-pipes/tika-pipes-plugins/pom.xml
@@ -37,7 +37,6 @@
<module>tika-pipes-file-system</module>
<module>tika-pipes-gcs</module>
<module>tika-pipes-http</module>
- <module>tika-pipes-ignite</module>
<module>tika-pipes-jdbc</module>
<module>tika-pipes-json</module>
<module>tika-pipes-kafka</module>
diff --git
a/tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/main/assembly/assembly.xml
b/tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/main/assembly/assembly.xml
deleted file mode 100644
index ea0f8b4a1..000000000
---
a/tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/main/assembly/assembly.xml
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<assembly xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
- xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0
- http://maven.apache.org/xsd/assembly-2.0.0.xsd">
- <id>dependencies-zip</id>
- <formats>
- <format>zip</format>
- </formats>
- <includeBaseDirectory>false</includeBaseDirectory>
- <fileSets>
- <fileSet>
- <directory>${project.build.directory}/lib</directory>
- <outputDirectory>/lib</outputDirectory>
- </fileSet>
- <fileSet>
- <directory>${project.build.directory}</directory>
- <outputDirectory>/lib</outputDirectory>
- <includes>
- <include>${project.artifactId}-${project.version}.jar</include>
- </includes>
- </fileSet>
- <fileSet>
- <directory>${project.build.directory}</directory>
- <outputDirectory>/</outputDirectory>
- <includes>
- <include>classes/META-INF/extensions.idx</include>
- <include>classes/META-INF/MANIFEST.MF</include>
- </includes>
- </fileSet>
- <fileSet>
- <directory>${project.basedir}/src/main/resources</directory>
- <outputDirectory>/</outputDirectory>
- <includes>
- <include>plugin.properties</include>
- </includes>
- </fileSet>
- </fileSets>
-</assembly>
diff --git
a/tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/main/java/org/apache/tika/pipes/plugin/ignite/IgnitePipesPlugin.java
b/tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/main/java/org/apache/tika/pipes/plugin/ignite/IgnitePipesPlugin.java
deleted file mode 100644
index 07b2f68d0..000000000
---
a/tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/main/java/org/apache/tika/pipes/plugin/ignite/IgnitePipesPlugin.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.tika.pipes.plugin.ignite;
-
-import org.pf4j.Plugin;
-import org.pf4j.PluginWrapper;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class IgnitePipesPlugin extends Plugin {
- private static final Logger LOG =
LoggerFactory.getLogger(IgnitePipesPlugin.class);
-
- public IgnitePipesPlugin(PluginWrapper wrapper) {
- super(wrapper);
- }
-
- @Override
- public void start() {
- LOG.info("Starting Ignite Config Store Plugin");
- super.start();
- }
-
- @Override
- public void stop() {
- LOG.info("Stopping Ignite Config Store Plugin");
- super.stop();
- }
-
- @Override
- public void delete() {
- LOG.info("Deleting Ignite Config Store Plugin");
- super.delete();
- }
-}
diff --git
a/tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/main/resources/plugin.properties
b/tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/main/resources/plugin.properties
deleted file mode 100644
index da2660f1a..000000000
---
a/tika-pipes/tika-pipes-plugins/tika-pipes-ignite/src/main/resources/plugin.properties
+++ /dev/null
@@ -1,22 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-plugin.id=tika-pipes-ignite-plugin
-plugin.class=org.apache.tika.pipes.plugin.ignite.IgnitePipesPlugin
-plugin.version=4.0.0-SNAPSHOT
-plugin.provider=Apache Tika
-plugin.description=Pipes for Apache Ignite Config Store
-