eventuate-tram-examples / eventuate-tram-examples-micronaut-customers-and-orders

Microservices, Sagas, Choreography, Eventuate Tram, Micronaut
Other
40 stars 13 forks source link

Upgrading to the latest dependencies breaks the build #26

Closed cer closed 3 years ago

cer commented 3 years ago

Upgrading to the latest dependencies breaks the build: https://github.com/eventuate-tram-examples/eventuate-tram-examples-micronaut-customers-and-orders/commit/966a92d4d865e99a0ab28fc2d1b0b58ed33f199e

This might be a problem with the Eventuate Gradle publishing plugin (or perhaps eventuate-tram-core needs to be republished using the latest version)

* What went wrong:
Execution failed for task ':common:compileJava'.
> Could not resolve all files for configuration ':common:compileClasspath'.
   > Could not find io.micronaut:micronaut-inject:.
     Required by:
         project :common > io.eventuate.tram.core:eventuate-tram-micronaut-events:0.27.0.BUILD-SNAPSHOT:20210318.171356-6
   > Could not find io.micronaut:micronaut-validation:.
     Required by:
         project :common > io.eventuate.tram.core:eventuate-tram-micronaut-events:0.27.0.BUILD-SNAPSHOT:20210318.171356-6
   > Could not find io.micronaut:micronaut-runtime:.
     Required by:
         project :common > io.eventuate.tram.core:eventuate-tram-micronaut-events:0.27.0.BUILD-SNAPSHOT:20210318.171356-6
cer commented 3 years ago

It seems that the published io.eventuate.tram.core:eventuate-tram-micronaut-events pom.xml does not contain versions for this dependencies.

Presumably, other micronaut projects don't encounter this problem because they use the micronaut bom?

cer commented 3 years ago

Appears to be fixed with https://github.com/eventuate-tram/eventuate-tram-core/commit/ba7658da3540edabd055d1a575fb124008ac9f13