mbien commented on PR #347:
URL: https://github.com/apache/maven-indexer/pull/347#issuecomment-1855644728

   btw while debugging this I read the doc of `MinimalArtifactInfoIndexCreator` 
which states that it "will not open any file to be fastest as possible", which 
is likely no longer correct since it opens poms from zip files indirectly via 
`ArtifactContext`. (probably doesn't really matter since it is still fast)
   
   ```
   java.util.zip.ZipException: zip END header not found
       at java.util.zip.ZipFile$Source.findEND (ZipFile.java:1649)
       at java.util.zip.ZipFile$Source.initCEN (ZipFile.java:1657)
       at java.util.zip.ZipFile$Source.<init> (ZipFile.java:1495)
       at java.util.zip.ZipFile$Source.get (ZipFile.java:1458)
       at java.util.zip.ZipFile$CleanableResource.<init> (ZipFile.java:724)
       at java.util.zip.ZipFile.<init> (ZipFile.java:251)
       at java.util.zip.ZipFile.<init> (ZipFile.java:180)
       at java.util.zip.ZipFile.<init> (ZipFile.java:194)
       at org.apache.maven.index.ArtifactContext.getPomModel 
(ArtifactContext.java:95)
       at 
org.apache.maven.index.creator.MinimalArtifactInfoIndexCreator.populateArtifactInfo
 (MinimalArtifactInfoIndexCreator.java:213)
       at org.apache.maven.index.ArtifactContext.createDocument 
(ArtifactContext.java:153)
       at org.apache.maven.index.DefaultIndexerEngine.index 
(DefaultIndexerEngine.java:52)
       at org.apache.maven.index.DefaultScannerListener.artifactDiscovered 
(DefaultScannerListener.java:114)
       at org.netbeans.modules.maven.indexer.FastScanner.processFile 
(FastScanner.java:135)
   ```


-- 
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: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to