The legacy archunit-junit package has been moved to archunit-junit4 many years ago, but the metadata do not show that in a way that the Maven Repository acknowledges this. Such a feature is supported, see e.g. https://mvnrepository.com/artifact/com.gradle/gradle-enterprise-maven-extension:
All we might need is a block in the pom.xml like so:
<distributionManagement>
<relocation>
<artifactId>archunit-junit4</artifactId>
</relocation>
</distributionManagement>
see e.g. this manual and the pom.xml of the gradle-enterprise-maven-extension linked above.
The legacy archunit-junit package has been moved to archunit-junit4 many years ago, but the metadata do not show that in a way that the Maven Repository acknowledges this. Such a feature is supported, see e.g. https://mvnrepository.com/artifact/com.gradle/gradle-enterprise-maven-extension:
All we might need is a block in the
pom.xmllike so:see e.g. this manual and the
pom.xmlof thegradle-enterprise-maven-extensionlinked above.