Linkage Checker Enforcer Rule verifies that the transitive dependency tree of pom.xml
does not have
any linkage errors.
User documentation: Linkage Checker Enforcer Rule
For developers to debug the enforcer rule implementation, set the MAVEN_OPTS
environment variable
to wait for debuggers (suspend=y
) before running mvn
command.
$ export MAVEN_OPTS='-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005'
$ mvn verify
Listening for transport dt_socket at address: 5005
Then run remote debug to the port (5005) via your IDE.