Jason, Out of curiosity, how does the "create a new pom" thing work?
I'm mostly just curious in regards to the gpg signing. I want to make sure the pom that is deployed matches what is signed. Dan On Sunday 22 April 2007 20:36, Jason van Zyl wrote: > Hi, > > In the shade plugin I've added the capability to create a POM that > reflects what has been shaded. To correct the problem with the two > plexus JARs, I shaded one into the other so I have the single plexus- > default-container artifact again. So the idea being during > development modules are good, but for a user a single aggregate JAR > may be more convenient. > > I am still of the opinion that if you have created N aggregate > artifacts for a given artifact that you should create a new POM to > reflect that. So in the example of the JAR I made for plexus. The > plexus-component-api artifact has been merged into the plexus- > container-default JAR so I removed that dependency from the deployed > artifact. I think this approach is far simpler then trying to wrangle > in something in the artifact code. I don't see how it could be easily > done when there are multiple aggregate artifacts produced, and third > party tools just grabbing the POM would have no idea how to deal with > excluding the right dependencies if it relied on magic in maven- > artifact. > > So the general rule would become if you change the dependency > structure via some transformation then the deployed POM must reflect > this. I would prefer no magic and what you see in the POM is what you > get. > > Anyone have any thoughts on this? > > Jason. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- J. Daniel Kulp Principal Engineer IONA P: 781-902-8727 C: 508-380-7194 [EMAIL PROTECTED] http://www.dankulp.com/blog --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
