maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Struberg <strub...@yahoo.de>
Subject RE: Maven War Plugin problem / need help
Date Fri, 13 Oct 2006 11:49:58 GMT
Hi Marco!

Shouldn't webresources point to the webapp folder?

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

best regards,
strub



--- Marco Mistroni <mmistroni@gmail.com> 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message