Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
2.2.2
-
None
-
None
-
Maven 3.0.3, Win7, Java 1.6.0._32 64Bit
Description
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.
...
<profile>
<id>demo</id>
<properties>
<test.url>jdbc:oracle:thin:@//java/xe</test.url>
<properties>
<profile>
<activeProfiles>
<activeProfile>demo</activeProfile>
</activeProfiles>
...
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.
Attachments
Issue Links
- is related to
-
MNG-5224 REGRESSION: Injected Settings in a Mojo are missing the profiles from settings.xml
- Closed
-
MRELEASE-571 When collecting active profiles, the active profiles from parent poms are not considered
- Closed