I just found a bug related to this filed 2 days ago: 
http://jira.codehaus.org/browse/MRESOURCES-8.

Anybody can confirm this is a bug or is it simply a misconfiguration on my end?

[EMAIL PROTECTED] wrote: I want to use the plugin maven-resources-plugin to 
copy some files in a non-default location during the lifecycle phase "package". 
I'm using a company-wide pom.xml (which is included into the project's pom.xml 
using 
) to configure the plugin:

Parent POM:

...
      
        

            

              

                    org.apache.maven.plugins
                    maven-resources-plugin
                    
                        
                            
package

                            
                                
target/mhave/packaging/${project.artifactId}-${project.version}
                                
                                    
                                        src/main/packaging/
                                        true
                                    
                                
                            
                            
                                resources
                            
                        
                    
                

            

        

...

Now, what happens is that it copies the files from what I specified in 
${project.resources} rather than what I configured in the POM above 
(src/main/packaging). I simply can't get it to fetch the files from 
src/main/packaging.

Anybody any idea what's wrong with my config?

Thanks,
Chris




Reply via email to