st-tu-dresden/salespoint

Dependency version for moduliths-test is inconsistent in 7.3.x branch

Closed this issue · 2 comments

Version for moduliths-test is hardcoded to a snapshot version and prevents successful invocation of mvn release:prepare.

Can't get this to work, this is seriously frustrating. I am really sorry for all those folks who have to work with Maven and this dependency/repository hell on a daily basis.

[The following points all apply to the 7.3.x branch.]

  • Changing the version of moduliths-test to be consistent to the rest now leads to a compile error because class org.moduliths.test.AggregateTestUtils can't be found in OrderUnitTests.java.
  • One might think, ok, let's try changing the property moduliths.version to 1.0.0-RC2 as it is in main, where things work. But no: "… The following artifacts could not be resolved: org.moduliths:moduliths-api:jar:1.0.0-RC2 …".
  • Ok, let's try with the same <repositories/> configuration as in main, where artifact resolve works. But this doesn't help either.

Giving up.

Ah, never mind. Banging head against the keyboard and changing the version to 1.1.0-RC2 (instead of 1.0.0-RC2) solved the issue.