Robert Scholte created MRELEASE-803:
---------------------------------------
Summary: Inner profile properties for artifact versions block
release
Key: MRELEASE-803
URL: https://jira.codehaus.org/browse/MRELEASE-803
Project: Maven 2.x Release Plugin
Issue Type: Bug
Components: prepare
Affects Versions: 2.3.2
Reporter: Robert Scholte
>From {{maven-invoker-plugin-1.8-SNAPSHOT}}
{code:xml}
<project>
...
<profiles>
<profile>
<id>run-its</id>
<properties>
<sitePluginVersion>3.1</sitePluginVersion>
<invokerPluginVersion>1.6</invokerPluginVersion> <!-- 1.7 is missing
the groovy XmlSlurper -->
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-invoker-plugin</artifactId>
<version>${invokerPluginVersion}</version>
<configuration>
<debug>true</debug>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
<preBuildHookScript>setup</preBuildHookScript>
<postBuildHookScript>verify</postBuildHookScript>
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
<settingsFile>src/it/settings.xml</settingsFile>
<mavenOpts>-Djava.io.tmpdir=${project.build.directory}</mavenOpts>
<goals>
<goal>clean</goal>
<goal>initialize</goal>
</goals>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
</profiles>
</project>
{code}
The plugin discovers the invoker-plugin with a property-based version, but
can't find the property because it only collects the {{project.properties}}.
The plugin should at least add the properties of the declaring profile.
Workaround: move the property from profile-scope to project-scope.
--
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