Slackbot
06/09/2023, 8:54 AMSlackbot
06/09/2023, 11:00 AMSlackbot
06/09/2023, 8:21 PMSlackbot
06/10/2023, 3:46 PMSlackbot
06/10/2023, 4:58 PMSlackbot
06/10/2023, 9:38 PMSlackbot
06/11/2023, 10:35 AMSlackbot
06/12/2023, 2:07 AMSlackbot
06/12/2023, 4:10 AMSlackbot
06/12/2023, 8:11 AMSlackbot
06/12/2023, 8:50 AMSlackbot
06/12/2023, 10:27 AMSlackbot
06/12/2023, 10:36 AMSlackbot
06/12/2023, 1:13 PMSlackbot
06/12/2023, 1:15 PMSlackbot
06/12/2023, 5:15 PMSlackbot
06/12/2023, 5:23 PMSlackbot
06/13/2023, 7:16 AMSlackbot
06/13/2023, 10:17 AMLucas Hahn
06/13/2023, 10:32 AMgradle init
There are some dependencies from a private repository included. The credentials are provided through a settings.xml, which works with mvn clean install
. Gradle init seems to read the settings.xml, however I always get an error
[FATAL] Non-resolvable parent POM for de.novum.training:de.novum.training:MASTER-SNAPSHOT: Could not transfer artifact de.novum:de.novum:pom:0.9.18 from/to nexus-ndo (<https://nexus.novum.rgigroup.io/repository/development/>): authentication failed for <https://nexus.novum.rgigroup.io/repository/development/de/novum/de.novum/0.9.18/de.novum-0.9.18.pom>, status: 401 Unauthorized and 'parent.relativePath' points at wrong local POM @ line 4, column 13
for project de.novum.training:de.novum.training:MASTER-SNAPSHOT at /home/rdo/workspace/repos/de.novum.training/pom.xml
I also tried providing the credentials via init.gradle
which also doesn't really work. No matter what I do, I run into the 401 error. Any suggestions :)?Slackbot
06/13/2023, 2:45 PMMatan Sabag
06/13/2023, 3:18 PM./gradlew build
on a project with lockfiles I get the following error:
* What went wrong:
Could not determine the dependencies of task ‘gcs clienttest’.
> Could not resolve all task dependencies for configuration ‘gcs clienttestRuntimeClasspath’.
> Resolved ‘com.google.guavalistenablefuture9999.0-empty-to-avoid-conflict-with-guava’ which is not part of the dependency lock stateI tried adding the following to the
build.gradle
:
testImplementation("com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava")
and also
testRuntimeClasspath("com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava")
and then resolve and lock all, and try to run build
again but still fails. The thing is, that this is a subproject, and while this dependency is not added to its lockfile, it is added to other subprojects.
Any idea why this is not added to this subproject lockfile?
If I add it manually to the lockfile, it works and then fail on another subprojectSlackbot
06/13/2023, 4:00 PMGiuseppe Barbieri
06/13/2023, 5:21 PMclass SciJavaCatalogPlugin : Plugin<Settings> {
override fun apply(settings: Settings) {
settings.enableFeaturePreview("VERSION_CATALOGS")
settings.dependencyResolutionManagement.versionCatalogs.addGeneratedCatalog()
now I'm refreshing the project and at the consumer, I get:
Could not resolve all files for configuration 'classpath'.
> Could not find org.scijavagradle catalog35.1.1+2.
Searched in the following locations:
- https://plugins.gradle.org/m2/org/scijava/gradle-catalog/35.1.1+2/gradle-catalog-35.1.1+2.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
unspecifiedunspecifiedunspecified > org.scijava.catalogsorg.scijava.catalogs.gradle.plugin35.1.1+2What's the problem? The jar looks there
Slackbot
06/13/2023, 6:52 PMSlackbot
06/13/2023, 8:32 PMSlackbot
06/14/2023, 1:16 PMSlackbot
06/13/2023, 7:23 PMSlackbot
06/15/2023, 8:06 AMSlackbot
06/15/2023, 10:17 AM