Came up in a maven plugin discussion today the possiblity of using a projects 'provided' scope artifacts as a lib entry somthing like: <lib>provided:exclude:[pattern or none]</lib>

The idea being that all 'provided' scope artifacts are 'usually' expected to be extracted/copied to [TomEE]/lib - Except those defined by an optional exclude pattern, or none for all.

This would not be a guarantee for ear projects I guess, but probably workable for war based.

The win is not having to add all the 'provided' libs maven coordinates by hand.

WDYT? Sounds useful, and or possible?

Andy.

--
  Andy Gumbrecht
  https://twitter.com/AndyGeeDe

Reply via email to