Skip to content

Commit

Permalink
fix: Fixed a false positive in the serial module
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdutz committed Sep 14, 2024
1 parent a27eb49 commit e1606b5
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions plc4j/transports/serial/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
</properties>

<dependencies>
<dependency>
<groupId>org.apache.plc4x</groupId>
<artifactId>plc4j-api</artifactId>
<version>0.13.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.plc4x</groupId>
<artifactId>plc4j-spi</artifactId>
Expand Down Expand Up @@ -65,12 +70,6 @@
<artifactId>jSerialComm</artifactId>
</dependency>

<dependency>
<groupId>org.apache.plc4x</groupId>
<artifactId>plc4j-api</artifactId>
<version>0.13.0-SNAPSHOT</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-codec</artifactId>
Expand Down Expand Up @@ -100,6 +99,19 @@
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<configuration>
<ignoredDependencies combine.children="append">
<!--
For some reason we need to do this. plc4j-api is indirectly needed by the spi
if we add it as a test-dependency, the build fails.
-->
<ignoredDependency>org.apache.plc4x:plc4j-api</ignoredDependency>
</ignoredDependencies>
</configuration>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit e1606b5

Please sign in to comment.