I'd like to add some Spring xml configuration files to my existing
WEB-INF spring configuration files in WEB-INF. They differ by
customer. I've tried using ant which, understandably make eclipse
quite upset I've tried using build-help-maven-plugin but it doesn't
seem to work. Here is my plugin config. Have I got the paths correct?
I am using STS 2.9.x

                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                
<artifactId>build-helper-maven-plugin</artifactId>
                                <version>1.7</version>
                                <executions>
                                        <execution>
                                                <id>add-resource</id>
                                                
<phase>generate-resources</phase>
                                                <goals>
                                                        
<goal>add-resource</goal>
                                                </goals>
                                                <configuration>
                                                        <resources>
                                                                <resource>
                                                                        
<directory>./src/customers/mycustomer/main/webapp/WEB-INF/spring</directory>
                                                                        
<targetPath>/WEB-INF/spring</targetPath>
                                                                        
<excludes>
                                                                                
<exclude>**/.svn/**</exclude>
                                                                        
</excludes>
                                                                </resource>
                                                        </resources>
                                                </configuration>
                                        </execution>
                                </executions>
                        </plugin>
_______________________________________________
m2e-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to