robertklaus-bosch commented on issue #13468: URL: https://github.com/apache/maven/issues/13468#issuecomment-6474592925
First of all thanks for taking care about issues like this! If have added a `repositoryOrigin` according to docs and the first warning is gone. For the second warning though, there are still warnings. I did now following: I configured a local repository in the maven call like this: `mvn -X -Dmaven.repo.local=/some/tmp/dir/.m2/repository` The directory is wiped before and after the CI job (according to docs). This is important, as there should be no local files / no older Maven versions interfering. Due to `-X` there are tons of debug messages. I tried to extract the relevant ones for one artifact with warnings. I hope these are the log statements that help. If not, let me know which ones would be needed. ```bash 2026-10-28T16:00:57.3014515Z [DEBUG] Resolving artifact org.apache.activemq:activemq-bom:pom:6.1.8 from [xyz-releases (https://<host>/<app>/xyz-release/, default, releases+snapshots), xyz-snapshots (https://<host>/<app>/xyz-snapshot/, default, releases+snapshots), Artifactory-Central-Mirror (https://<host>/<app>/maven-central-remote/, default, releases)] 2026-10-28T16:00:57.3037132Z [DEBUG] Resolving artifact org.apache.activemq:activemq-bom:pom:6.1.8 from [xyz-releases (https://<host>/<app>/xyz-release/, default, releases+snapshots), xyz-snapshots (https://<host>/<app>/xyz-snapshot/, default, releases+snapshots), Artifactory-Central-Mirror (https://<host>/<app>/maven-central-remote/, default, releases)] 2026-10-28T16:00:57.3053727Z [DEBUG] Selecting RepositoryConnector for xyz-releases (https://<host>/<app>/xyz-release/, default, releases+snapshots) 2026-10-28T16:00:57.3062572Z [DEBUG] Selecting RepositoryLayout for xyz-releases (https://<host>/<app>/xyz-release/, default, releases+snapshots) 2026-10-28T16:00:57.3070515Z [DEBUG] Using layout Maven2RepositoryLayout with priority 0.0 for https://<host>/<app>/xyz-release/ 2026-10-28T16:00:57.3078082Z [DEBUG] Selecting Transporter for xyz-releases (https://<host>/<app>/xyz-release/, default, releases+snapshots) 2026-10-28T16:00:57.3087356Z [DEBUG] Using transporter ApacheTransporter with priority 5.0 for https://<host>/<app>/xyz-release/ with username=***, *** 2026-10-28T16:00:57.3095440Z [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://<host>/<app>/xyz-release/ 2026-10-28T16:00:57.3103670Z [DEBUG] Final pipeline: offline( rrf( basic( xyz-releases (https://<host>/<app>/xyz-release/, default, releases+snapshots) ) ) ) 2026-10-28T16:00:57.3131849Z [DEBUG] Writing tracking file '/some/tmp/dir/.m2/repository/org/apache/activemq/activemq-bom/6.1.8/activemq-bom-6.1.8.pom.lastUpdated' 2026-10-28T16:00:57.3139835Z [DEBUG] Selecting RepositoryConnector for xyz-snapshots (https://<host>/<app>/xyz-snapshot/, default, releases+snapshots) 2026-10-28T16:00:57.3148788Z [DEBUG] Selecting RepositoryLayout for xyz-snapshots (https://<host>/<app>/xyz-snapshot/, default, releases+snapshots) 2026-10-28T16:00:57.3156622Z [DEBUG] Using layout Maven2RepositoryLayout with priority 0.0 for https://<host>/<app>/xyz-snapshot/ 2026-10-28T16:00:57.3164680Z [DEBUG] Selecting Transporter for xyz-snapshots (https://<host>/<app>/xyz-snapshot/, default, releases+snapshots) 2026-10-28T16:00:57.3173871Z [DEBUG] Using transporter ApacheTransporter with priority 5.0 for https://<host>/<app>/xyz-snapshot/ with username=***, *** 2026-10-28T16:00:57.3181768Z [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://<host>/<app>/xyz-snapshot/ 2026-10-28T16:00:57.3190079Z [DEBUG] Final pipeline: offline( rrf( basic( xyz-snapshots (https://<host>/<app>/xyz-snapshot/, default, releases+snapshots) ) ) ) 2026-10-28T16:00:57.3242533Z [DEBUG] Writing tracking file '/some/tmp/dir/.m2/repository/org/apache/activemq/activemq-bom/6.1.8/activemq-bom-6.1.8.pom.lastUpdated' 2026-10-28T16:00:57.3249623Z [DEBUG] Selecting RepositoryConnector for Artifactory-Central-Mirror (https://<host>/<app>/maven-central-remote/, default, releases) 2026-10-28T16:00:57.3256728Z [DEBUG] Selecting RepositoryLayout for Artifactory-Central-Mirror (https://<host>/<app>/maven-central-remote/, default, releases) 2026-10-28T16:00:57.3263339Z [DEBUG] Using layout Maven2RepositoryLayout with priority 0.0 for https://<host>/<app>/maven-central-remote/ 2026-10-28T16:00:57.3270044Z [DEBUG] Selecting Transporter for Artifactory-Central-Mirror (https://<host>/<app>/maven-central-remote/, default, releases) 2026-10-28T16:00:57.3277955Z [DEBUG] Using transporter ApacheTransporter with priority 5.0 for https://<host>/<app>/maven-central-remote/ with username=***, *** 2026-10-28T16:00:57.3284705Z [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://<host>/<app>/maven-central-remote/ 2026-10-28T16:00:57.3291707Z [DEBUG] Final pipeline: offline( rrf( basic( Artifactory-Central-Mirror (https://<host>/<app>/maven-central-remote/, default, releases) ) ) ) 2026-10-28T16:00:57.3926202Z [DEBUG] Writing tracking file '/some/tmp/dir/.m2/repository/org/apache/activemq/activemq-bom/6.1.8/_remote.repositories' 2026-10-28T16:00:57.3935174Z [WARNING] org.apache.activemq:activemq-bom:pom:6.1.8 was downloaded from https://<host>/<app>/maven-central-remote/ while a cached not-found from a previous attempt suppresses re-checking https://<host>/<app>/xyz-release/; expiring the cached not-found so that repository is checked again on the next resolution 2026-10-28T16:00:57.3945433Z [WARNING] org.apache.activemq:activemq-bom:pom:6.1.8 was downloaded from https://<host>/<app>/maven-central-remote/ while a cached not-found from a previous attempt suppresses re-checking https://<host>/<app>/xyz-snapshot/; expiring the cached not-found so that repository is checked again on the next resolution 2026-10-28T16:00:57.3952229Z [DEBUG] Writing tracking file '/some/tmp/dir/.m2/repository/org/apache/activemq/activemq-bom/6.1.8/activemq-bom-6.1.8.pom.lastUpdated' ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
