You need to have m2e/buildhelper integration installed. You should have
"execution not covered" error marker on the pom.xml with quick-fix to
install needed bits from m2e discovery catalog. You can also install
m2e/builderhelper using m2e discovery catalog
(preferences->maven->discovery).

I am not sure m2e/buildhelper supports <excludes> though, so svn stuff
may get into your web-inf dir.

--
Regards,
Igor

On 12-06-12 6:59 AM, Reginald Blank wrote:
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


_______________________________________________
m2e-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/m2e-users

Reply via email to