maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joël Royer (JIRA) <j...@codehaus.org>
Subject [jira] Commented: (MWAR-189) webResources filtering replaced ${jdbc.url} by ${pom.url}
Date Mon, 06 Apr 2009 08:01:12 GMT

    [ http://jira.codehaus.org/browse/MWAR-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=172090#action_172090
] 

Joël Royer commented on MWAR-189:
---------------------------------

It's OK with version 2.1-beta-1!
Thanks!

> webResources filtering replaced ${jdbc.url} by ${pom.url}
> ---------------------------------------------------------
>
>                 Key: MWAR-189
>                 URL: http://jira.codehaus.org/browse/MWAR-189
>             Project: Maven 2.x WAR Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1-alpha-2
>         Environment: Maven 2.1.0 / Java SE 1.6.0_13
>            Reporter: Joël Royer
>
> I'm using webResources filtering and I'm surprised to see a variable ${jdbc.url] to be
replaced by ${pom.url}.
> My application is based on Spring 2.5 and my applicationConfig.xml contains some variables
which will be replaced at runtime., not build time.
> But for an unknown reason, the war plugin replaced this variable with the ${pom.url}
variable.
> I have this code in my pom.xml:
> {code:xml}
> <plugin>
> 	<groupId>org.apache.maven.plugins</groupId>
> 	<artifactId>maven-war-plugin</artifactId>
> 	<configuration>
> 		<webResources>
> 			<resource>
> 				<filtering>true</filtering>
> 				<directory>src/main/webapp</directory>
> 				<includes>
> 					<include>**/*.xml</include>
> 				</includes>
> 			</resource>
> 		</webResources>
> 	</configuration>
> </plugin>
> {code} 

-- 
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

       

Mime
View raw message