[jbosstools-issues] [JBoss JIRA] (JBIDE-16341) WAR resource filtering not working in Eclipse 4.3.1 and JBoss Tools 4.1.1

Esteve Aviles (JIRA) issues at jboss.org
Fri Jan 10 15:32:32 EST 2014


    [ https://issues.jboss.org/browse/JBIDE-16341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935122#comment-12935122 ] 

Esteve Aviles commented on JBIDE-16341:
---------------------------------------

Fred,

I tried removing what you told me. I doesn't work for me. 
Pushed the code to the github: https://github.com/esteveavi/forge-test

Could you please try if it works?

Thanks in advance.

Regards
                
> WAR resource filtering not working in Eclipse 4.3.1 and JBoss Tools 4.1.1
> -------------------------------------------------------------------------
>
>                 Key: JBIDE-16341
>                 URL: https://issues.jboss.org/browse/JBIDE-16341
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: maven
>    Affects Versions: 4.1.1.Final
>         Environment: Linux, Eclipse 4.3.1, JBossTools 4.1.1, Maven 3.1.1.
>            Reporter: Esteve Aviles
>            Priority: Minor
>              Labels: filtering, resource, war
>
> i,
>  
> I work in a project where web.xml content must be filtered depending on maven profiles. I have configured pom.xml as follows but Eclipse doesn't process filtering for web.xml when deploying the app to the server through Full Publish from Servers Tab.
>  
> <plugin>
>   <artifactId>maven-war-plugin</artifactId>
>   <version>2.4</version>
>   <configuration>
>   <failOnMissingWebXml>false</failOnMissingWebXml>
>   <webResources>
>   <resource>
>   <filtering>true</filtering>
>   <directory>src/main/webapp</directory>
>   <includes>
>   <include>**/web.xml</include>
>   </includes>
>   </resource>
>   </webResources>
>   <warSourceDirectory>src/main/webapp</warSourceDirectory>
>   <webXml>src/main/webapp/WEB-INF/web.xml</webXml>
>   </configuration>
>   </plugin>
>  
> Environment: Eclipse Kepler 4.3.1, JBoss Tools 4.1.1, JBossAS7.1 and Maven 3.1.1.
> If I build the project with maven package everything is working fine.
>  
> You can clone this Git repository to test it: esteveavi/forge-test · GitHub
>  
> Can anyone check if you have the same problem?
>  
> Thanks in advance.
>  
> Regards.
> Esteve

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jbosstools-issues mailing list