Skip to content

Commit 328fb47

Browse files
committed
Cleaned up dependency management.
Declaring bacnet4j and sero stuff as optional since it is re-exported by api module. Other projects depending on the wrapper should not require bacnet4j dependencies to be present on their classpath. Signed-off-by: Łukasz Dywicki <[email protected]>
1 parent ad7e1bd commit 328fb47

File tree

3 files changed

+8
-15
lines changed

3 files changed

+8
-15
lines changed

api/pom.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,20 @@
4343
<dependency>
4444
<groupId>com.infiniteautomation</groupId>
4545
<artifactId>bacnet4j</artifactId>
46+
<scope>compile</scope>
47+
<optional>true</optional>
4648
</dependency>
4749
<dependency>
4850
<groupId>lohbihler</groupId>
49-
<artifactId>sero-scheduler </artifactId>
51+
<artifactId>sero-scheduler</artifactId>
52+
<scope>compile</scope>
53+
<optional>true</optional>
5054
</dependency>
5155
<dependency>
5256
<groupId>lohbihler</groupId>
5357
<artifactId>sero-warp</artifactId>
58+
<scope>compile</scope>
59+
<optional>true</optional>
5460
</dependency>
5561
</dependencies>
5662

mstp/pom.xml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,6 @@
4545
<groupId>log4j</groupId>
4646
<artifactId>log4j</artifactId>
4747
</dependency>
48-
49-
<dependency>
50-
<groupId>com.infiniteautomation</groupId>
51-
<artifactId>bacnet4j</artifactId>
52-
</dependency>
53-
<dependency>
54-
<groupId>lohbihler</groupId>
55-
<artifactId>sero-scheduler</artifactId>
56-
</dependency>
57-
<dependency>
58-
<groupId>lohbihler</groupId>
59-
<artifactId>sero-warp</artifactId>
60-
</dependency>
6148
</dependencies>
6249

6350
</project>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
</exclusion>
8989
<exclusion>
9090
<groupId>lohbihler</groupId>
91-
<artifactId>sero-scheduler </artifactId>
91+
<artifactId>sero-scheduler</artifactId>
9292
</exclusion>
9393
<exclusion>
9494
<groupId>lohbihler</groupId>

0 commit comments

Comments
 (0)