TargetPath is not taken into account. Resources are
copied in the webroot no matter what.

Did anybody have the same issue? (see also mail
below).
thanks,
Attila

--- Attila Mezei-Horvati <[EMAIL PROTECTED]> wrote:

> I am trying to include a jar into the war file. I
> found on the site a parameter named 'targetPath'
> that
> could help me. Unfortunately it is not working for
> me.
> Can anybody point out my mistake, please.
> 
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-war-plugin</artifactId>
> <configuration>
> <archiveClasses>true</archiveClasses>
> 
> <webResources>
> <resource>
> <directory>src</directory>
> <includes>
> <include>xmltypes.jar</include>
> </includes>  
> <targetPath>WEB-INF/lib</targetPath>
> </resource>
> </webResources>     
> </configuration>
> </plugin>
> 
> No matter what I do, the jar always is copied into
> the
> webroot. I tried with xml files and only to the
> WEB-INF dir that didn't work either. Am I missing
> something?
> 
> thanks,
> Attila


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to