Hi all,

I've bound the resources:resources goal to the package phase of my build and I wanted it to copy certain resources to a directory but it's ignoring my configuration:

           <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-resources-plugin</artifactId>
               <executions>
                   <execution>
                       <id>copy-resources</id>
                       <phase>package</phase>
                       <goals>
                           <goal>resources</goal>
                       </goals>
                       <configuration>
<outputDirectory>${project.build.directory}/conf</outputDirectory>
                           <resources>
                               <resource>

                                <directory>src/main/resources</directory>
                                <excludes>
                                        <exclude>**/*.xml</exclude>
                                        
<exclude>application.properties</exclude>
                                </excludes>

                               </resource>
                           </resources>
                       </configuration>
                   </execution>
               </executions>
           </plugin>

The problem is that everything after the <outputDirectory> tag is being ignored and all of the src/main/resources directory is getting copied to ${project.build.directory}/conf.

Has anybody else been confronted to this issue? Do you know of any workaround ? I think this is the url for this issue: http://jira.codehaus.org/browse/MRESOURCES-8 (or at least it's the closer issue I found on the tracker). Can somebody confirm that the issue is being worked on ?

Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to