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

   **[Simon 
Kitching](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=skitching)**
 commented
   
   I'd also like to see include/exclude for the jar plugin. Like the original 
requester, I have a project (jakarta commons logging) where three jars are 
created: one with the full set of classes, and two with selected subsets. All 
three need to be created to build a "distribution". Splitting into separate 
modules doesn't seem right to me; this is the same codebase with exactly the 
same classes, unit tests, etc. It's more like the "classifier" concept. 
Rebinding maven-jar-plugin using executions with different include/exclude 
patterns configured would seem to be a perfectly fine solution to this problem. 
And besides, there is an ant build already in place, so restructuring the 
source code (breaking the ant build) just for the purposes of creating maven 
modules isn't tempting.
   
   I'll try to create a patch, though for someone already familiar with maven 
plugins this would be a lot quicker!
   
   Thanks,  Simon
   


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