jira-importer commented on issue #222:
URL: 
https://github.com/apache/maven-jar-plugin/issues/222#issuecomment-2956682404

   **[Richard van der 
Hoff](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=richvdh)** 
commented
   
   Hrm, it seems I got this wrong in the case where the project doesn't have 
any dependencies; it's a long story, but basically the indexing code tries to 
open `target/classes` as a zip file, and fails.
   
   The list returned by `project.getRuntimeClasspathElements()` includes 
`target/classes`; it's incorrect to add this as a ConfiguredIndexJar to the 
archiver.
   
   I can't really be doing with preparing a patch for this - if you don't have 
any dependencies, you can disable the 'Class-Path' in the manifest, which works 
around the bug.
   


-- 
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]

Reply via email to