Adding this seems to work:

<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-resources</id>
<phase>generate-sources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/${project.build.finalName}</
outputDirectory>
<resources>
<resource>
<directory>src/main/webapp</directory>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin> 

On Tuesday, May 9, 2017 at 7:44:25 PM UTC+2, Anders Forsell wrote:
>
> Hi,
>
> I'm migrating over to the "new" GWT Maven plugin from Mojo's and have 
> succeeded in getting my application to compile correctly.
> I'm using "mvn clean install" as the build step and expected the generated 
> WAR to contain my static web resources from "src/main/webapp".
> Now it only contains the directory with the compiled GWT files...
>
> Is there an easy way to configure my POM to include the static web 
> resources?
>
> Anders
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to