TU-ADSP / Blockchain-Logging-Framework

This framework provides advanced querying and logging capabilities for Ethereum and Hyperledger blockchains.
Other
7 stars 5 forks source link

Fix snakeyaml dependency scope #169

Closed rohrschacht closed 3 years ago

rohrschacht commented 3 years ago

The dependency SnakeYaml was added to our pom, because we use it for the jUnit tests. It was added just for the test scope. But it is also a transitive dependency through the Hyperledger SDK. This causes no problems when building and executing the project with maven, since maven correctly resolves the transitive dependency. But when executing a run configuration with IntelliJ, IntelliJ messes up the dependency resolvement. It detects that SnakeYaml is only a dependency for the test scope and throws a ClassDefNotFound Exception when running with a Hyperledger manifest.