Hi all,
    I need to copy my resources located at src/main/resources, which are
html files to target/web-inf/html.  This is needed to create the war file.

I've tried setting up maven resources plug in as follows

<plugin>
   <groupId>org.apache.maven.plugins</groupId>
   <artifactId>maven-resources-plugin</artifactId>
   <version>2.4.1</version>
   <executions>
   <execution>
         <id>copy-package-config</id>
         <phase>package</phase>
         <goals>
         <goal>copy-resources</goal>
         </goals>
         <configuration>
         <outputDirectory>${basedir}/web-inf/html</outputDirectory>
                        <resources>
                         <resource>

<directory>${basedir}/src/main/resources</directory>
                                <filtering>true</filtering>
                            </resource>
                        </resources>
         </configuration>
   </execution>
   </executions>
  </plugin>

I got

[1] Inside the definition for plugin 'maven-resources-plugin' specify the
following:

<configuration>
  ...
  <resources>VALUE</resources>
</configuration>.

any help I really would appreciate

thanks in advance

-- 
Fernando Wermus.

www.linkedin.com/in/fernandowermus

Reply via email to