Skip to content

Commit

Permalink
fix: remove unused transitive dependency cxf client - EXO-64344 (#304)
Browse files Browse the repository at this point in the history
This will remove an unused transitive dependency cxf-rt-rs-client that causes issues in Unit tests
  • Loading branch information
ahamdi authored Nov 6, 2023
1 parent 256d7ef commit 9610af9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions exo.jcr.component.core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@
<groupId>org.apache.tika</groupId>
<artifactId>tika-core</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-rs-client</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-stax-api_1.0_spec</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public static void attachActivityId(Node ownerNode, String activityId) {
if (!ownerNode.isCheckedOut()) {
verNode = checkout(ownerNode);
}
if (ownerNode.isNodeType(EXO_ACTIVITY_INFO) == false && ownerNode.canAddMixin(EXO_ACTIVITY_INFO)) {
if (!ownerNode.isNodeType(EXO_ACTIVITY_INFO) && ownerNode.canAddMixin(EXO_ACTIVITY_INFO)) {
ownerNode.addMixin(EXO_ACTIVITY_INFO);
}
ownerNode.setProperty(EXO_ACTIVITY_ID, activityId);
Expand Down

0 comments on commit 9610af9

Please sign in to comment.