Maven BOM dependencies in Gradle
问题 Given that there is a BOM listed in the dependency management of a Maven project Foo like this: <groupId>someGroup</groupId> <artifactId>someArtifact-bom</artifactId> <version>1.0-SNAPSHOT</version> <type>pom</type> <scope>import</scope> but this BOM comes only into play for a test dependency in a sub-module. <dependency> <groupId>someGroup</groupId> <artifactId>someArtifact</artifactId> <scope>test</scope> </dependency> The artifact declared in the BOM and BOM itself are only available by