hi all,
 i am using maven2 war plugin to package my war project (which is part of a
multi-project).
Unfortunately i inherited the directory structure of the project (which was
done in RAD) which is
following

JavaSource
  |____com.....
  |____resources
WebContent
 |_____ WEN-INF
 ....other jsps

the problem is that i cannot make it to copy the resources present in the
'resources'  directory into
the war using maven war plugin
here's my pom (only relevant part)

<plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-war-plugin</artifactId>
         <version>2.0.2</version>
         <configuration>
            <warSourceDirectory>${basedir}/WebContent</warSourceDirectory>
            <webResources>
               <resource>
                  <directory>${basedir}/JavaSource/resources</directory>
                  <includes>
                      <include>**/*.*</include>
                  </includes>
               </resource>
           </webResources>
        </configuration>
</plugin>


could anyone help?

thanks and regards
Marco

Reply via email to