Hi Marco!

Shouldn't webresources point to the webapp folder?

<webResources>
 <resource>
  <directory>${basedir}/WebContent</directory>
 </resource>
</webResources>

best regards,
strub



--- Marco Mistroni <[EMAIL PROTECTED]> schrieb:

> 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
> 



                
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to