Ok thanks. I think I am going to back step then. I was doing all this to get
around an apparant maven bug, but I dont want to hack into a deeper hole. I
will make a post regarding my original problem first.

Thank You.

Chris


Anders Hammar wrote:
> 
> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Add-a-file-to-JAR-*AFTER*-compile--tp24408464p24409591.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]

Reply via email to