| <?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 |
| |
| https://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. |
| --> |
| <project xmlns="http://maven.apache.org/POM/4.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 http://maven.apache.org/xsd/maven-4.1.0.xsd"> |
| |
| <parent> |
| <groupId>org.apache.plc4x</groupId> |
| <artifactId>plc4j-utils</artifactId> |
| <version>1.0.0-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>plc4j-utils-subscription-emulation</artifactId> |
| |
| <name>PLC4J: Utils: Subscription Emulation</name> |
| |
| <properties> |
| <project.build.outputTimestamp>2026-07-16T15:00:59Z</project.build.outputTimestamp> |
| </properties> |
| |
| <build> |
| <plugins> |
| <!-- Override JaCoCo coverage rules for this module --> |
| <!-- Subscription emulation has moderate coverage at 61% --> |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>check-coverage</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| <configuration> |
| <rules> |
| <rule implementation="org.jacoco.maven.RuleConfiguration"> |
| <element>BUNDLE</element> |
| <limits> |
| <!-- Maintain 60% instruction coverage --> |
| <limit implementation="org.jacoco.report.check.Limit"> |
| <counter>INSTRUCTION</counter> |
| <value>COVEREDRATIO</value> |
| <minimum>0.60</minimum> |
| </limit> |
| <!-- Allow up to 3 classes without coverage --> |
| <limit implementation="org.jacoco.report.check.Limit"> |
| <counter>CLASS</counter> |
| <value>MISSEDCOUNT</value> |
| <maximum>3</maximum> |
| </limit> |
| </limits> |
| </rule> |
| </rules> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <!-- PLC4J API --> |
| <dependency> |
| <groupId>org.apache.plc4x</groupId> |
| <artifactId>plc4j-api</artifactId> |
| <version>1.0.0-SNAPSHOT</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.plc4x</groupId> |
| <artifactId>plc4j-spi-config</artifactId> |
| <version>1.0.0-SNAPSHOT</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.plc4x</groupId> |
| <artifactId>plc4j-spi-drivers</artifactId> |
| <version>1.0.0-SNAPSHOT</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.plc4x</groupId> |
| <artifactId>plc4j-transports-api</artifactId> |
| <version>1.0.0-SNAPSHOT</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.plc4x</groupId> |
| <artifactId>plc4j-utils-audit-log-api</artifactId> |
| <version>1.0.0-SNAPSHOT</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.plc4x</groupId> |
| <artifactId>plc4j-tools-event-pump</artifactId> |
| <version>1.0.0-SNAPSHOT</version> |
| </dependency> |
| |
| <!-- Logging --> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </dependency> |
| |
| <!-- Test Dependencies --> |
| <dependency> |
| <groupId>org.apache.plc4x</groupId> |
| <artifactId>plc4j-spi-values</artifactId> |
| <version>1.0.0-SNAPSHOT</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.plc4x</groupId> |
| <artifactId>plc4j-utils-test-utils</artifactId> |
| <version>1.0.0-SNAPSHOT</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-classic</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.junit.jupiter</groupId> |
| <artifactId>junit-jupiter-api</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| </project> |