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

   **[Ilia 
Lewis](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=ilia.lewis)**
 commented
   
   I would also like to see this capability get added.
   
   I've got a legacy project with an ant build that currently uses Java classes 
to generate other resources during the compile phase.  The unit tests use these 
classes as well, so I cannot use ANTRUN to delete them after the compile phase. 
 These classes are then excluded from the jar.  I can't think of any way to get 
rid of these files short of relying on ANTRUN to delete them after the test 
phase, which feels like a hack.
   
   I realize that if I had a brand new project that I could modify, I could 
find better ways of doing this, but based on the comments I've read here and 
elsewhere, there seems to be a hundred different reasons why someone would need 
to exclude files from the jar.
   
   Thanks,
   
   Ilia
   


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