Skip copying resources
How do I skip copying resources? I try in but it does not work. maven-resources-plugin copy-xxx compile copy-resources true ${webapp.dir}/example/resources ${webapp.dir}/resources ** Joncheng Kuo
Re: Skip copying resources
Your problem is that, I think, you attached the execution to the "compile" phase. However, the "process-resources" phase already happened so you're not getting the right behavior. Attach to the correct phase. On Wed, Jan 8, 2014 at 4:05 PM, Kuo, Joncheng (HP Storage - MSDU) < joncheng@hp.com> wrote: > How do I skip copying resources? I try in but it > does not work. > > > maven-resources-plugin > > > copy-xxx > compile > > copy-resources > > > true > > ${webapp.dir}/example/resources > > > ${webapp.dir}/resources > > ** > > > > > > > > Joncheng Kuo > > -- Cheers, Paul
Re: Skip copying resources
I'm pretty sure it works for the binding (execution) you have configured. Look for the id 'copy-xxx' in the console output and for the execution it should say that it is skipping. (Unless you have the plugin config in pluginManagement). At the same time the config you should doesn't make sense. Why would you create a binding but set skip to true? What is it that you're trying to do? /Anders On Thu, Jan 9, 2014 at 1:05 AM, Kuo, Joncheng (HP Storage - MSDU) < joncheng@hp.com> wrote: > How do I skip copying resources? I try in but it > does not work. > > > maven-resources-plugin > > > copy-xxx > compile > > copy-resources > > > true > > ${webapp.dir}/example/resources > > > ${webapp.dir}/resources > > ** > > > > > > > > Joncheng Kuo > >