Skip to content

Commit dd9176e

Browse files
author
terrypacker
committed
Updating readme for public maven repo.
1 parent e66cf59 commit dd9176e

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

Modbus4J/README.txt

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,28 @@ Build Via the Ant Targets, maven will automatically download and install librari
22

33
modbus4J.jar requires: (See pom.xml)
44

5-
A discussion forum for this package can be found at http://mango.serotoninsoftware.com/forum/forums/show/11.page.
5+
A discussion forum for this package can be found at http://mango.serotoninsoftware.com/forum/forums/show/11.page.
6+
7+
There is a public maven repository for downloading Modbus4J as a dependency in your project. Just add this:
8+
9+
<repositories>
10+
<repository>
11+
<id>modbus4j-local</id>
12+
<name>Modbus4j Local Dependencies</name>
13+
<releases>
14+
<enabled>true</enabled>
15+
<checksumPolicy>ignore</checksumPolicy>
16+
</releases>
17+
<snapshots>
18+
<enabled>false</enabled>
19+
</snapshots>
20+
<url>file://${project.basedir}/modbus4j-maven-local</url>
21+
</repository>
22+
</repositories>
23+
24+
Use this as the dependency info:
25+
<dependency>
26+
<groupId>com.infiniteautomation</groupId>
27+
<artifactId>modbus4j</artifactId>
28+
<version>3.0.0</version>
29+
</dependency>

0 commit comments

Comments
 (0)