18 lines
1.3 KiB
Plaintext
18 lines
1.3 KiB
Plaintext
$ mvn -pl order-fulfillment -am test
|
|
(captured after removing the dependency on inventory entirely from OrderManagement --
|
|
see the Javadoc on OrderManagement for why routing it through InventoryManagement's
|
|
public API still was not enough, in output/03-cycle-via-public-api-still-failed.txt)
|
|
|
|
[INFO] Running com.ankurm.modulithdemo.order.OrderFulfillmentIntegrationTests
|
|
2026-10-03T23:53:21.630+05:30 INFO 2118 --- [order-fulfillment] [ task-2] c.a.m.n.NotificationManagement : Order 1 received for 3x WIDGET-1
|
|
2026-10-03T23:53:21.685+05:30 INFO 2118 --- [order-fulfillment] [ task-4] c.a.m.n.NotificationManagement : Order 1 is on its way (WIDGET-1)
|
|
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.748 s -- in com.ankurm.modulithdemo.order.OrderFulfillmentIntegrationTests
|
|
[INFO] Running com.ankurm.modulithdemo.ModularityTests
|
|
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.471 s -- in com.ankurm.modulithdemo.ModularityTests
|
|
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0
|
|
[INFO] BUILD SUCCESS
|
|
|
|
Same ApplicationModules.verify() call, same four modules, zero violations. The only
|
|
change from output/01-verify-violation-failed.txt is that OrderManagement no longer
|
|
depends on anything in inventory, in either direction.
|