You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Miguel Griffa (JIRA)" <ji...@codehaus.org> on 2006/03/07 16:46:22 UTC

[jira] Created: (MWAR-25) war:inplace ignores web.xml if defined in an alwaysactive profile

war:inplace ignores web.xml if defined in an alwaysactive profile
-----------------------------------------------------------------

         Key: MWAR-25
         URL: http://jira.codehaus.org/browse/MWAR-25
     Project: Maven 2.x War Plugin
        Type: Bug

    Reporter: Miguel Griffa


Problem:

   the war:inplace generates the dir structure without the web.xml


Context:

simple web application defined, 
src/main/webapp/WEB-INF exists and contains configuration files, but not web.xml

web.xml is defiened in 3 profiles, one is like this
	<profiles>
		<profile>
			<id>localdev</id>
			<activation>
				<activeByDefault>true</activeByDefault>
			</activation>
			<dependencies>
...
			</dependencies>
			<build>
				<plugins>
					<plugin>
						<artifactId>maven-war-plugin</artifactId>
						<groupId>org.apache.maven.plugins</groupId>
						<configuration>
							<webXml>src/localdev/WEB-INF/web.xml</webXml>
						</configuration>
					</plugin>
				</plugins>
			</build>
			<properties>
				<classifier>localdev</classifier>
			</properties>
		</profile>


when runing mvn war:inplace no web.xml is put in WEB-INF

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org