Excellent John!! That's exactly what I was looking for. I definitely need to read through the Sonatype book completely.
John Stoneham wrote: > >>> Off the top of my head the only viable idea I have is to deploy it in a >>> zip >>> to the Maven repo and use dependency plugin to resolve and unpack before >>> assembly step. Any caveats to that idea? >> >> None that I am aware of. This is the approach generally used for >> sharing configurations for Checkstyle etc across projects, so I think >> it makes sense to use in this case as well. > > Make a standard JAR project, and put the descriptor in > src/main/resources/assemblies. (The 'assemblies' bit is important.) > Build. > > Add that artifact as a plugin-level dependency of the assembly plugin > for your project. > > Now, you can use it as a descriptorRef, just like jar-with-dependencies. > > http://books.sonatype.com/maven-book/reference/assemblies.html#d0e16265 > has step-by-step instructions. > > - John > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Reusing-assembly-descriptors-aka.-sharing-them-between-projects-tp20905611p20918021.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
