I guess you could use the copy goal of the maven-dependency-plugin to do that. The trick would be to bind it to a phase that's after the compile phase (see http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Lifecycle_Reference).
/Anders On Thu, Jul 9, 2009 at 13:26, Chris303<[email protected]> wrote: > > Hi I have the following directory structure. > > src > --main > ----java > ----resources > ------META-INF > --------services > ------processorFiles > --------javax.annotation.processing.Processor > > When I build my jar I want to be able to copy the > javax.annotation.processing.Processor file to the META-INF/services > directory, but only *after* compilation. > > -- > View this message in context: > http://www.nabble.com/Add-a-file-to-JAR-*AFTER*-compile--tp24408464p24408464.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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
