These things don't happen at the same time.  

Have you looked at 
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html 
yet?  

Plugins are attached to the lifecycle, plugins are the only thing that can do 
work in a maven build.  The jar plugin expects that the folder structure is 
complete by the time it is run.  So you need to add another plugin EARLIER in 
the lifecycle in order to add the XML files you speak of.  Then when the jar 
plugin gets there, everything is ready for it.


On Aug 29, 2012, at 11:36 AM, TarunKhandelwal <[email protected]> 
wrote:

> I am having problem with maven plugin.
> How to add external files while creating par file.
> I have read somewhere that with maven you can only add jar files through
> dependencies.
> So how to do that and another question how can i sign that par file through
> Maven.
> 
> Feel free to clear doubts.
> 
> Thanks,
> Tarun Khandelwal
> 
> 
> 
> --
> View this message in context: 
> http://maven.40175.n5.nabble.com/How-to-Sign-a-par-file-through-Maven-tp5718722p5718727.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]

Reply via email to