You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2024/10/10 18:06:44 UTC

(plc4x-extras) branch develop updated: fix: Updated the extras repository to latest changes in the main repo.

This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x-extras.git


The following commit(s) were added to refs/heads/develop by this push:
     new 134ce6f  fix: Updated the extras repository to latest changes in the main repo.
134ce6f is described below

commit 134ce6f9dd5cb00ffbd09c3a907d39a7d3848f45
Author: Christofer Dutz <cd...@apache.org>
AuthorDate: Thu Oct 10 12:06:33 2024 -0600

    fix: Updated the extras repository to latest changes in the main repo.
---
 .../java/examples/helloinflux/HelloInflux.java     |  2 +-
 .../apache-nifi/nifi-plc4x-processors/pom.xml      |  4 ++++
 .../org/apache/plc4x/nifi/BasePlc4xProcessor.java  |  4 ++--
 .../plc4x/nifi/Plc4xListenRecordProcessor.java     |  9 +++------
 .../org/apache/plc4x/nifi/Plc4xSinkProcessor.java  |  4 ++--
 .../plc4x/nifi/Plc4xSourceRecordProcessor.java     |  2 +-
 .../plc4x/nifi/address/AddressesAccessUtils.java   |  2 +-
 .../plc4x/nifi/address/BaseAccessStrategy.java     |  2 +-
 .../nifi/record/Plc4xReadResponseRecordSet.java    |  2 +-
 .../org/apache/plc4x/nifi/record/Plc4xWriter.java  |  2 +-
 .../org/apache/plc4x/nifi/record/SchemaCache.java  |  4 +---
 .../nifi/subscription/Plc4xListenerDispatcher.java | 22 ++++++++++------------
 .../org/apache/plc4x/nifi/util/Plc4xCommon.java    |  3 +--
 .../apache/plc4x/nifi/Plc4xSinkProcessorTest.java  | 15 +++++++--------
 .../integrations/apache-nifi/plc4j-apache-nifi.iml |  8 --------
 plc4j/integrations/plc4j-integrations.iml          |  8 --------
 16 files changed, 36 insertions(+), 57 deletions(-)

diff --git a/plc4j/examples/hello-influx-data-collection/src/main/java/org/apache/plc4x/java/examples/helloinflux/HelloInflux.java b/plc4j/examples/hello-influx-data-collection/src/main/java/org/apache/plc4x/java/examples/helloinflux/HelloInflux.java
index 34ce17e..1d520f5 100644
--- a/plc4j/examples/hello-influx-data-collection/src/main/java/org/apache/plc4x/java/examples/helloinflux/HelloInflux.java
+++ b/plc4j/examples/hello-influx-data-collection/src/main/java/org/apache/plc4x/java/examples/helloinflux/HelloInflux.java
@@ -76,7 +76,7 @@ public class HelloInflux {
                     .time(plcSubscriptionEvent.getTimestamp().toEpochMilli(), WritePrecision.MS);
                 final Map<String, PlcResponseItem<PlcValue>> values = internalEvent.getValues();
                 values.forEach((tagName, tagResponsePair) -> {
-                    final PlcResponseCode responseCode = tagResponsePair.getCode();
+                    final PlcResponseCode responseCode = tagResponsePair.getResponseCode();
                     final PlcValue plcValue = tagResponsePair.getValue();
                     if(responseCode == PlcResponseCode.OK) {
                         PlcStruct structValue = (PlcStruct) plcValue;
diff --git a/plc4j/integrations/apache-nifi/nifi-plc4x-processors/pom.xml b/plc4j/integrations/apache-nifi/nifi-plc4x-processors/pom.xml
index c81d0d8..2473abb 100644
--- a/plc4j/integrations/apache-nifi/nifi-plc4x-processors/pom.xml
+++ b/plc4j/integrations/apache-nifi/nifi-plc4x-processors/pom.xml
@@ -114,6 +114,10 @@
             <artifactId>nifi-mock-record-utils</artifactId>
             <scope>test</scope>
         </dependency>
+        <dependency>
+            <groupId>ch.qos.logback</groupId>
+            <artifactId>logback-classic</artifactId>
+        </dependency>
 
         <!-- This one is for test purpouses only, drivers are included in the nar -->
         <dependency>
diff --git a/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/BasePlc4xProcessor.java b/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/BasePlc4xProcessor.java
index b2b0563..bb1abec 100644
--- a/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/BasePlc4xProcessor.java
+++ b/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/BasePlc4xProcessor.java
@@ -236,7 +236,7 @@ public abstract class BasePlc4xProcessor extends AbstractProcessor {
     }
 
     protected PlcWriteRequest getWriteRequest(final ComponentLog logger,
-            final Map<String, String> addressMap, final Map<String, PlcTag> tags, final Map<String, ? extends Object> presentTags,
+            final Map<String, String> addressMap, final Map<String, PlcTag> tags, final Map<String, ?> presentTags,
             final PlcConnection connection, final AtomicLong nrOfRowsHere) {
 
         PlcWriteRequest.Builder builder = connection.writeRequestBuilder();
@@ -294,7 +294,7 @@ public abstract class BasePlc4xProcessor extends AbstractProcessor {
 		boolean codeErrorPresent = false;
 		List<String> tagsAtError = null;
 
-		PlcResponseCode code = null;
+		PlcResponseCode code;
 
 		for (String tag : plcWriteResponse.getTagNames()) {
 			code = plcWriteResponse.getResponseCode(tag);
diff --git a/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/Plc4xListenRecordProcessor.java b/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/Plc4xListenRecordProcessor.java
index 4b6e47b..a3db73e 100644
--- a/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/Plc4xListenRecordProcessor.java
+++ b/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/Plc4xListenRecordProcessor.java
@@ -123,8 +123,7 @@ public class Plc4xListenRecordProcessor extends BasePlc4xProcessor {
         relationships.add(REL_SUCCESS);
 		this.relationships = Collections.unmodifiableSet(relationships);
 
-		final List<PropertyDescriptor> pds = new ArrayList<>();
-		pds.addAll(super.getSupportedPropertyDescriptors());
+        final List<PropertyDescriptor> pds = new ArrayList<>(super.getSupportedPropertyDescriptors());
 		pds.add(PLC_RECORD_WRITER_FACTORY);
 		pds.add(PLC_SUBSCRIPTION_TYPE);
 		pds.add(PLC_SUBSCRIPTION_CYCLIC_POLLING_INTERVAL);
@@ -153,7 +152,6 @@ public class Plc4xListenRecordProcessor extends BasePlc4xProcessor {
 		} catch (Exception e) {
 			if (debugEnabled) {
 				getLogger().debug("Error creating a the subscription event dispatcher");
-				e.printStackTrace();
 			}
 			throw new ProcessException(e);
 		}
@@ -244,8 +242,7 @@ public class Plc4xListenRecordProcessor extends BasePlc4xProcessor {
 			getLogger().debug("Adding Plc-Avro schema and PlcTypes resolution into cache with key: " + addressMap.toString());
 		
 		// Add schema to the cache
-		LinkedHashSet<String> addressNames = new LinkedHashSet<>();
-		addressNames.addAll(event.getTagNames());
+        LinkedHashSet<String> addressNames = new LinkedHashSet<>(event.getTagNames());
 		
 		List<PlcTag> addressTags = addressNames.stream().map(addr -> 
 				new PlcTag() {
@@ -293,7 +290,7 @@ public class Plc4xListenRecordProcessor extends BasePlc4xProcessor {
 	protected static class CyclycPollingIntervalValidator implements Validator {
 		@Override
 		public ValidationResult validate(String subject, String input, ValidationContext context) {
-			if (context.getProperty(PLC_FUTURE_TIMEOUT_MILISECONDS).asLong() > Long.valueOf(input)) {
+			if (context.getProperty(PLC_FUTURE_TIMEOUT_MILISECONDS).asLong() > Long.parseLong(input)) {
 				return new ValidationResult.Builder().valid(true).build();
 			} else {
 				return new ValidationResult.Builder()
diff --git a/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/Plc4xSinkProcessor.java b/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/Plc4xSinkProcessor.java
index 416b010..637f1dc 100644
--- a/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/Plc4xSinkProcessor.java
+++ b/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/Plc4xSinkProcessor.java
@@ -76,11 +76,11 @@ public class Plc4xSinkProcessor extends BasePlc4xProcessor {
                 evaluateWriteResponse(logger, flowFile.getAttributes(), plcWriteResponse);
  
             } catch (TimeoutException e) {
-                logger.error("Timeout writting the data to the PLC", e);
+                logger.error("Timeout writing the data to the PLC", e);
                 getConnectionManager().removeCachedConnection(getConnectionString(context, flowFile));
                 throw new ProcessException(e);
             } catch (Exception e) {
-                logger.error("Exception writting the data to the PLC", e);
+                logger.error("Exception writing the data to the PLC", e);
                 throw (e instanceof ProcessException) ? (ProcessException) e : new ProcessException(e);
             }
 
diff --git a/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/Plc4xSourceRecordProcessor.java b/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/Plc4xSourceRecordProcessor.java
index c2e53e7..33208ce 100644
--- a/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/Plc4xSourceRecordProcessor.java
+++ b/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/Plc4xSourceRecordProcessor.java
@@ -130,7 +130,7 @@ public class Plc4xSourceRecordProcessor extends BasePlc4xProcessor {
 				final RecordSchema recordSchema = getSchemaCache().retrieveSchema(addressMap);
 				final Map<String, PlcTag> tags = getSchemaCache().retrieveTags(addressMap);
 				PlcReadRequest readRequest;
-				Long nrOfRowsHere;
+				long nrOfRowsHere;
 
 				try (PlcConnection connection = getConnectionManager().getConnection(getConnectionString(context, originalFlowFile))) {
 					
diff --git a/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/address/AddressesAccessUtils.java b/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/address/AddressesAccessUtils.java
index 9b63d58..d6e1504 100644
--- a/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/address/AddressesAccessUtils.java
+++ b/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/address/AddressesAccessUtils.java
@@ -27,7 +27,7 @@ import org.apache.plc4x.java.DefaultPlcDriverManager;
 
 public class AddressesAccessUtils {
 
-	private static DefaultPlcDriverManager manager = new DefaultPlcDriverManager();
+	private static final DefaultPlcDriverManager manager = new DefaultPlcDriverManager();
 
     public static DefaultPlcDriverManager getManager() {
         return manager;
diff --git a/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/address/BaseAccessStrategy.java b/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/address/BaseAccessStrategy.java
index c94d7d3..8bb2d96 100644
--- a/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/address/BaseAccessStrategy.java
+++ b/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/address/BaseAccessStrategy.java
@@ -74,7 +74,7 @@ public abstract class BaseAccessStrategy implements AddressesAccessStrategy{
 
     public static class TagValidator implements Validator {
         
-        private DefaultPlcDriverManager manager;
+        private final DefaultPlcDriverManager manager;
 
         public TagValidator(DefaultPlcDriverManager manager) {
             this.manager = manager;
diff --git a/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/record/Plc4xReadResponseRecordSet.java b/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/record/Plc4xReadResponseRecordSet.java
index 41e3617..ef70ccc 100644
--- a/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/record/Plc4xReadResponseRecordSet.java
+++ b/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/record/Plc4xReadResponseRecordSet.java
@@ -44,7 +44,7 @@ import org.slf4j.LoggerFactory;
 public class Plc4xReadResponseRecordSet implements RecordSet, Closeable {
     private static final Logger logger = LoggerFactory.getLogger(Plc4xReadResponseRecordSet.class);
     private final PlcReadResponse readResponse;
-    private Set<String> rsColumnNames;
+    private final Set<String> rsColumnNames;
     private boolean moreRows;
     private final boolean debugEnabled = logger.isDebugEnabled();
     private final String timestampFieldName; 
diff --git a/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/record/Plc4xWriter.java b/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/record/Plc4xWriter.java
index 1d774e7..4066297 100644
--- a/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/record/Plc4xWriter.java
+++ b/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/record/Plc4xWriter.java
@@ -32,7 +32,7 @@ import org.apache.plc4x.java.api.messages.PlcReadResponse;
 public interface Plc4xWriter {
 	/**
      * Writes the given result set out to the given output stream, possibly applying a callback as each row is processed.
-     * @param resultSet the ResultSet to be written
+     * @param response the PlcReadResponse to be written
      * @param outputStream the OutputStream to write the result set to
      * @param logger a common logger that can be used to log messages during write
      * @param callback a MaxValueResultSetRowCollector that may be called as each row in the ResultSet is processed
diff --git a/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/record/SchemaCache.java b/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/record/SchemaCache.java
index df80ffd..ebd3715 100644
--- a/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/record/SchemaCache.java
+++ b/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/record/SchemaCache.java
@@ -83,9 +83,7 @@ public class SchemaCache {
     public void removeSchema(final String schemaIdentifier) {
         if (schemaIdentifier == null)
             return;
-        if (schemaMap.containsKey(schemaIdentifier)){
-            schemaMap.remove(schemaIdentifier);
-        }
+        schemaMap.remove(schemaIdentifier);
     }
 
 
diff --git a/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/subscription/Plc4xListenerDispatcher.java b/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/subscription/Plc4xListenerDispatcher.java
index 549496c..cac0b39 100644
--- a/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/subscription/Plc4xListenerDispatcher.java
+++ b/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/subscription/Plc4xListenerDispatcher.java
@@ -39,15 +39,15 @@ import org.apache.plc4x.java.api.model.PlcSubscriptionHandle;
 
 public class Plc4xListenerDispatcher implements Runnable {
 
-    private PlcConnectionManager connectionManager;
-    private Plc4xSubscriptionType subscriptionType;
-    private Long cyclingPollingInterval;
-    private ComponentLog logger;
+    private final PlcConnectionManager connectionManager;
+    private final Plc4xSubscriptionType subscriptionType;
+    private final Long cyclingPollingInterval;
+    private final ComponentLog logger;
     private boolean running = false;
-    private BlockingQueue<PlcSubscriptionEvent> events;
+    private final BlockingQueue<PlcSubscriptionEvent> events;
     private PlcConnection connection;
-    private Long timeout;
-    private BlockingQueue<PlcSubscriptionEvent> queuedEvents;
+    private final Long timeout;
+    private final BlockingQueue<PlcSubscriptionEvent> queuedEvents;
 
     public boolean isRunning() {
         return running;
@@ -69,8 +69,8 @@ public class Plc4xListenerDispatcher implements Runnable {
      * @param plcConnectionString the connection string for the to the plc
      * @param tags                a map of tag identifier and tag address the
      *                            dispatcher will try subscribing
-     * @throws Exception
-     * @throws PlcConnectionException
+     * @throws Exception exception
+     * @throws PlcConnectionException connection exception
      */
     public void open(String plcConnectionString, Map<String, String> tags) throws PlcConnectionException, Exception {
         connection = connectionManager.getConnection(plcConnectionString);
@@ -110,9 +110,7 @@ public class Plc4xListenerDispatcher implements Runnable {
         }
 
         for (PlcSubscriptionHandle handle : subscriptionResponse.getSubscriptionHandles()) {
-            handle.register(plcSubscriptionEvent -> {
-                queuedEvents.offer(plcSubscriptionEvent);
-            });
+            handle.register(queuedEvents::offer);
         }
 
         running = true;
diff --git a/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/util/Plc4xCommon.java b/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/util/Plc4xCommon.java
index 00075f6..4c5d63c 100644
--- a/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/util/Plc4xCommon.java
+++ b/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/main/java/org/apache/plc4x/nifi/util/Plc4xCommon.java
@@ -57,7 +57,6 @@ public class Plc4xCommon {
 	 * This method is used to infer output AVRO schema directly from the PlcReadResponse object. 
 	 * It is directly used from the RecordPlc4xWriter.writePlcReadResponse() method.
 	 * However, to make sure output schema does not change, it is built from the processor configuration (variable memory addresses).
-	 * 
 	 * At the moment this method does not handle the following Object Types: PlcValueAdapter, PlcIECValue<T>, PlcSimpleValue<T>
 	 * 
 	 * @param responseDataStructure: a map that reflects the structure of the answer given by the PLC when making a Read Request.
@@ -66,7 +65,7 @@ public class Plc4xCommon {
 	public static Schema createSchema(Map<String, ? extends PlcValue> responseDataStructure, String timestampFieldName){
 		//plc and record datatype map
 		final FieldAssembler<Schema> builder = SchemaBuilder.record("PlcReadResponse").namespace("any.data").fields();	
-		String fieldName = null;
+		String fieldName;
 		
 		for (Map.Entry<String, ? extends PlcValue> entry : responseDataStructure.entrySet()) {
 			fieldName = entry.getKey();
diff --git a/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/test/java/org/apache/plc4x/nifi/Plc4xSinkProcessorTest.java b/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/test/java/org/apache/plc4x/nifi/Plc4xSinkProcessorTest.java
index 6160172..19aa2f3 100644
--- a/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/test/java/org/apache/plc4x/nifi/Plc4xSinkProcessorTest.java
+++ b/plc4j/integrations/apache-nifi/nifi-plc4x-processors/src/test/java/org/apache/plc4x/nifi/Plc4xSinkProcessorTest.java
@@ -55,8 +55,7 @@ public class Plc4xSinkProcessorTest {
                 .collect(Collectors.toMap(Map.Entry::getKey, e -> String.valueOf(e.getValue()))));
     }
 
-    public void testProcessor() {
-
+    public void runProcessorTest() {
         testRunner.run(NUMBER_OF_CALLS);
         testRunner.assertTransferCount(Plc4xSinkProcessor.REL_FAILURE, 0);
         testRunner.assertTransferCount(Plc4xSinkProcessor.REL_SUCCESS, NUMBER_OF_CALLS);
@@ -66,27 +65,27 @@ public class Plc4xSinkProcessorTest {
     public void testWithAddressProperties() {
         testRunner.setProperty(AddressesAccessUtils.PLC_ADDRESS_ACCESS_STRATEGY, AddressesAccessUtils.ADDRESS_PROPERTY);
         Plc4xCommonTest.getAddressMap().forEach((k,v) -> testRunner.setProperty(k, v));
-        testProcessor();
+        runProcessorTest();
     }
 
-    // Test addressess text property access strategy
+    // Test addresses text property access strategy
     @Test
     public void testWithAddressText() throws JsonProcessingException { 
         testRunner.setProperty(AddressesAccessUtils.PLC_ADDRESS_ACCESS_STRATEGY, AddressesAccessUtils.ADDRESS_TEXT);
         testRunner.setProperty(AddressesAccessUtils.ADDRESS_TEXT_PROPERTY, new ObjectMapper().writeValueAsString(Plc4xCommonTest.getAddressMap()));
-        testProcessor();
+        runProcessorTest();
     }
 
-    // Test addressess file property access strategy
+    // Test address file property access strategy
     @Test
-    public void testWithAdderessFile() throws InitializationException {
+    public void testWithAddressFile() throws InitializationException {
         testRunner.setProperty(AddressesAccessUtils.ADDRESS_FILE_PROPERTY, "file");
 
         try (MockedStatic<FilePropertyAccessStrategy> staticMock = Mockito.mockStatic(FilePropertyAccessStrategy.class)) {
             staticMock.when(() -> FilePropertyAccessStrategy.extractAddressesFromFile("file"))
                 .thenReturn(Plc4xCommonTest.getAddressMap());
 
-            testProcessor();
+            runProcessorTest();
         }
     }
 
diff --git a/plc4j/integrations/apache-nifi/plc4j-apache-nifi.iml b/plc4j/integrations/apache-nifi/plc4j-apache-nifi.iml
deleted file mode 100644
index 30466db..0000000
--- a/plc4j/integrations/apache-nifi/plc4j-apache-nifi.iml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module version="4">
-  <component name="AdditionalModuleElements">
-    <content url="file://$MODULE_DIR$" dumb="true">
-      <excludeFolder url="file://$MODULE_DIR$/target" />
-    </content>
-  </component>
-</module>
\ No newline at end of file
diff --git a/plc4j/integrations/plc4j-integrations.iml b/plc4j/integrations/plc4j-integrations.iml
deleted file mode 100644
index 30466db..0000000
--- a/plc4j/integrations/plc4j-integrations.iml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module version="4">
-  <component name="AdditionalModuleElements">
-    <content url="file://$MODULE_DIR$" dumb="true">
-      <excludeFolder url="file://$MODULE_DIR$/target" />
-    </content>
-  </component>
-</module>
\ No newline at end of file