[
https://jira.codehaus.org/browse/MRELEASE-756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=298165#comment-298165
]
Ralph Engelmann commented on MRELEASE-756:
------------------------------------------
The title of the xml snippet in the description should be: {{settings.xml}}
(not {{pom.xml}}).
> release:prepare ignores properties from settings.xml
> ----------------------------------------------------
>
> Key: MRELEASE-756
> URL: https://jira.codehaus.org/browse/MRELEASE-756
> Project: Maven 2.x Release Plugin
> Issue Type: Bug
> Components: prepare
> Affects Versions: 2.2.2
> Environment: Maven 3.0.3, Win7, Java 1.6.0._32 64Bit
> Reporter: Ralph Engelmann
>
> When I run {{release:prepare}}, then the properties defined in my maven
> settings.xml in an active profile are not taken in account during the build.
> {code:title=pom.xml}
> ...
> <profile>
> <id>demo</id>
> <properties>
> <test.url>jdbc:oracle:thin:@//java/xe</test.url>
> <properties>
> <profile>
> <activeProfiles>
> <activeProfile>demo</activeProfile>
> </activeProfiles>
> ...
> {code}
> But the usage of "${test.url}" in the pom.xml (when running release:prepare)
> behaves like the property is not defined (it is not substituted).
> But when using maven-release-plugin 2.2.1 the parameter is taken in account
> like expected.
> _I could not test, if release:perform has the same problem._
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira