Re: Maven-sar plugin changes
peter royal <[email protected]>
| Newsgroups | gmane.comp.java.jcontainer.interest |
|---|---|
| Message-ID | <[email protected]> |
On Nov 4, 2003, at 8:27 AM, Mauro Talevi wrote: > Yes, but once the plugin has been installed, it applies the postGoal > to *all* java:compile, regardless of the fact that it is invoked in a > project that has the sar plugin as a dependency. > So it ends up being used in other projects that have no need for it. > And I think this is counterintuitive - and could also be annoying. ah, that's bad! > how about we try to keep it automatised but turn the thing on its head. > ie have a dependency structure like: > > <goal name="sar:metagenerate" prereqs="java:compile"/> > <goal name="sar:sar" prereqs="sar:metagenerate, jar:jar"/> > > in this way, someone wanting to compile and generate descriptors would > call the sar:metagenerate goal in place of java:compile. That sounds like it would work.. -pete
smime.p7s
(application/pkcs7-signature, 2.3 KB) - not displayed