[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [m2e-users] build-helper-maven-plugin add-resource
|
do you really want to install your files in "/"?
targetPath should be something like ${project.build.outputDirectory}/WEB-INF.
also, .svn and other SCM metafiles are skipped by default.
you might have better luck on the maven-users list since this is not really an m2e issue.
the connectors only impact your ability to use m2e to configure the plugin, not run maven.
/r
At 11:59 AM +0100 6/12/12, 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
>m2e-users@xxxxxxxxxxx
>https://dev.eclipse.org/mailman/listinfo/m2e-users