When adding Maven repositories specific to Spine, we used to have the following method of the SpineBasedProject class :
private void addSpineRepository(Url repositoryUrl,
Consumer<MavenRepositoryContentDescriptor> contentConfig) {
project.getRepositories().maven(repo -> {
repo.setUrl(repositoryUrl.getSpec());
repo.mavenContent(contentConfig::accept);
repo.content(descriptor -> descriptor.includeGroupByRegex(SPINE_GROUP_PATTERN));
});
}
After recent migration to Gradle 7 and new repositories the content filtering causes artifact lookup to fail. The filtering is configured by this code line:
repo.mavenContent(contentConfig::accept);
This line was recently commented out. It needs to be investigated why the artifact lookup fails if we do apply the Maven content filtering.
When adding Maven repositories specific to Spine, we used to have the following method of the
SpineBasedProjectclass :After recent migration to Gradle 7 and new repositories the content filtering causes artifact lookup to fail. The filtering is configured by this code line:
This line was recently commented out. It needs to be investigated why the artifact lookup fails if we do apply the Maven content filtering.