Howdy Jan, will try to reproduce locally, but have to add, that (weirdly) Maven Project is NOT publishing any indexes, it is Sonatype who runs Maven Central as well. We do not have control over that process. We do have control over indexer sources: https://github.com/apache/maven-indexer But Sonatype may miss to upgrade even if we fix something in there.
Please use https://selfserve.apache.org/jira-account.html and ask for yourself a JIRA account. Thanks T On Thu, Oct 10, 2024 at 5:43 PM Jan Kränzke <[email protected]> wrote: > > Hello. > > > > I am trying to read maven (central and any others, in case I find them) > indexes using the maven indexer library. > > Jira’s sign-up said to discuss “on the appropriate mailing list“ first; being > inexperienced with mailing lists, I hope to have found the right place. > > On to my issue. > > > > Using indexer libraries to read indexes provided under maven2/.index/, I > found some weird gaps in the index. > > Namely, binary jars and poms of bouncycastle appear to be missing in > downloaded index files. > > Exemplary are these two (tested up to the index stamped ”#Tue Oct 08 01:59:36 > UTC 2024“, I have been having at this since mid-September): > > https://repo1.maven.org/maven2/org/bouncycastle/bcprov-jdk18on/1.77/bcprov-jdk18on-1.77.pom > the bcprov-jdk18on-1.77.jar under the same directory (not linkified since it > starts a bigger download) > > Perhaps also notable: some adjacent classifier/type parts of the same > artifactid, e.g. its ‘sources’ jar and a ‘pom.sha512’ do show up in the index. > > In debugging, I was simply matching a string “bcprov-jdk18on“ against the ‘u’ > field to get to these results. > > They also appear missing from many other versions of the package as well. > > > > I must admit I’m not 100% sure this isn’t user error. Documentation appears > scarce and some crucial parts of the indexing stage > > appear to be shrouded behind guice and I wasn’t able to find a complete > implementation or configuration. > > So perhaps I’m not reading the files correctly? > > I tried: > > IndexDataReader (from core), > IndexReader (from indexer-reader) as well as > a custom string search on raw binary index files (unpacked from gz). > > The given artifacts never appeared. > > > > I assume a bug in the indexer. I’d file a proper bug report, but didn’t know > the appropriate place. > > I’m grateful for any help or pointers. > > > > Greetings, > > Jan Kränzke > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
