[jira] [Updated] (MWAR-352) web.xml not being replaced by plugin configuration
[ https://issues.apache.org/jira/browse/MWAR-352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Scholte updated MWAR-352: Fix Version/s: (was: 2.6) > web.xml not being replaced by plugin configuration > -- > > Key: MWAR-352 > URL: https://issues.apache.org/jira/browse/MWAR-352 > Project: Maven WAR Plugin > Issue Type: Bug >Affects Versions: 2.6 > Environment: Windows 7 x64, Eclipse Luna, JSF 2 project >Reporter: Alex Sebastiao Constancio >Priority: Major > Labels: build > > My pom.xml file has the following in it: > {code:xml} > > > > org.apache.maven.plugins > maven-war-plugin > 2.6 > > > src/main/webconfig/release/web.xml > > > > > {code} > As you can see, the web.xml to be used by war plugin when running Maven > install is located outside of the webapp folder. This work perfectly if there > ins't a web.xml in webapp/WEB-INF folder, but the pluging refuses to use the > web.xml from webconfig/release if there is already a file with the same name > in webapp/WEB-INF. > The issue is that I have to keep one web.xml in webapp/WEB-INF in order to be > able publish the application to my local application server for debug. This > file has particular settings for a local environment. > However, when I want to produce a war to publish in the production server, it > has to be another web.xml, the one located in webconfig/release folder. > Problem is that the war plugin does not replaces one file by the other when > generating the war file. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (MWAR-352) web.xml not being replaced by plugin configuration
[ https://issues.apache.org/jira/browse/MWAR-352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Scholte updated MWAR-352: Description: My pom.xml file has the following in it: {code:xml} org.apache.maven.plugins maven-war-plugin 2.6 src/main/webconfig/release/web.xml {code} As you can see, the web.xml to be used by war plugin when running Maven install is located outside of the webapp folder. This work perfectly if there ins't a web.xml in webapp/WEB-INF folder, but the pluging refuses to use the web.xml from webconfig/release if there is already a file with the same name in webapp/WEB-INF. The issue is that I have to keep one web.xml in webapp/WEB-INF in order to be able publish the application to my local application server for debug. This file has particular settings for a local environment. However, when I want to produce a war to publish in the production server, it has to be another web.xml, the one located in webconfig/release folder. Problem is that the war plugin does not replaces one file by the other when generating the war file. was: My pom.xml file has the following in it: org.apache.maven.plugins maven-war-plugin 2.6 src/main/webconfig/release/web.xml As you can see, the web.xml to be used by war plugin when running Maven install is located outside of the webapp folder. This work perfectly if there ins't a web.xml in webapp/WEB-INF folder, but the pluging refuses to use the web.xml from webconfig/release if there is already a file with the same name in webapp/WEB-INF. The issue is that I have to keep one web.xml in webapp/WEB-INF in order to be able publish the application to my local application server for debug. This file has particular settings for a local environment. However, when I want to produce a war to publish in the production server, it has to be another web.xml, the one located in webconfig/release folder. Problem is that the war plugin does not replaces one file by the other when generating the war file. > web.xml not being replaced by plugin configuration > -- > > Key: MWAR-352 > URL: https://issues.apache.org/jira/browse/MWAR-352 > Project: Maven WAR Plugin > Issue Type: Bug >Affects Versions: 2.6 > Environment: Windows 7 x64, Eclipse Luna, JSF 2 project >Reporter: Alex Sebastiao Constancio > Labels: build > Fix For: 2.6 > > > My pom.xml file has the following in it: > {code:xml} > > > > org.apache.maven.plugins > maven-war-plugin > 2.6 > > > src/main/webconfig/release/web.xml > > > > > {code} > As you can see, the web.xml to be used by war plugin when running Maven > install is located outside of the webapp folder. This work perfectly if there > ins't a web.xml in webapp/WEB-INF folder, but the pluging refuses to use the > web.xml from webconfig/release if there is already a file with the same name > in webapp/WEB-INF. > The issue is that I have to keep one web.xml in webapp/WEB-INF in order to be > able publish the application to my local application server for debug. This > file has particular settings for a local environment. > However, when I want to produce a war to publish in the production server, it > has to be another web.xml, the one located in webconfig/release folder. > Problem is that the war plugin does not replaces one file by the other when > generating the war file. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (MWAR-352) web.xml not being replaced by plugin configuration
[ https://issues.apache.org/jira/browse/MWAR-352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Sebastiao Constancio updated MWAR-352: --- Fix Version/s: 2.6 Summary: web.xml not being replaced by plugin configuration (was: web.xml not being replaced but plugin configuration) web.xml not being replaced by plugin configuration -- Key: MWAR-352 URL: https://issues.apache.org/jira/browse/MWAR-352 Project: Maven WAR Plugin Issue Type: Bug Affects Versions: 2.6 Environment: Windows 7 x64, Eclipse Luna, JSF 2 project Reporter: Alex Sebastiao Constancio Labels: build Fix For: 2.6 My pom.xml file has the following in it: build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId version2.6/version!--$NO-MVN-MAN-VER$-- configuration webXmlsrc/main/webconfig/release/web.xml/webXml /configuration /plugin /plugins /build As you can see, the web.xml to be used by war plugin when running Maven install is located outside of the webapp folder. This work perfectly if there ins't a web.xml in webapp/WEB-INF folder, but the pluging refuses to use the web.xml from webconfig/release if there is already a file with the same name in webapp/WEB-INF. The issue is that I have to keep one web.xml in webapp/WEB-INF in order to be able publish the application to my local application server for debug. This file has particular settings for a local environment. However, when I want to produce a war to publish in the production server, it has to be another web.xml, the one located in webconfig/release folder. Problem is that the war plugin does not replaces one file by the other when generating the war file. -- This message was sent by Atlassian JIRA (v6.3.4#6332)