[
https://jira.codehaus.org/browse/MRELEASE-848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Scholte closed MRELEASE-848.
-----------------------------------
Resolution: Not A Bug
Assignee: Robert Scholte
This is by design: none of the commandline properties are passed to the forked
Maven executable automatically. You need to use
[arguments|http://maven.apache.org/maven-release/maven-release-plugin/prepare-mojo.html#arguments]
to add them.
For example: {{-Darguments="-Dkey1=value1 -Dkey2=value2"}}
> Properties disappear when starting build
> ----------------------------------------
>
> Key: MRELEASE-848
> URL: https://jira.codehaus.org/browse/MRELEASE-848
> Project: Maven Release Plugin
> Issue Type: Bug
> Components: perform, prepare
> Affects Versions: 2.4.1
> Environment: Windows, Linux
> Reporter: Byte Schubser
> Assignee: Robert Scholte
> Priority: Blocker
>
> When running a release build, properties given in order to build disappear.
> In order to build a module, there are some properties required to build it.
> E.g. jdbcurl for the database to run an integration test. This property is
> required as there is no default. This works fine without using the
> maven-release-plugin. This also works also fine in case the property is set
> in settings.xml. But when running the release, all the properties given with
> -Dpropertyname=value do not reach the test. So it is not possible to build.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira