[
http://jira.codehaus.org/browse/SUREFIRE-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_90889
]
Valerio Schiavoni commented on SUREFIRE-311:
--------------------------------------------
Launching mvn -X test in the succesful case shows (only relevant):
[DEBUG] Setting system property
[localRepository]=[/Users/vschiavoni/.m2/repository]
[DEBUG] Setting system property [my.property]=[some.value]
[DEBUG] Setting system property [basedir]=[/Users/vschiavoni/workspace/my-app]
while the failing one :
[DEBUG] Setting system property [localRepository]=[/Users/veleno/.m2/repository]
[DEBUG] Setting system property [basedir]=[/Users/veleno/workspace/my-app]
which obviously results in a failure.
> system properties within execution elements are not set
> -------------------------------------------------------
>
> Key: SUREFIRE-311
> URL: http://jira.codehaus.org/browse/SUREFIRE-311
> Project: Maven Surefire
> Issue Type: Bug
> Environment: mac osx, java version "1.5.0_07"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
> Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)
> Reporter: Valerio Schiavoni
> Attachments: my-app-surefire-error.tgz
>
>
> Configuring some system properties in the <execution> elements of the
> configuration doesn't result in those settings being available when executing
> tests.
> I'm attacching a toy project to demostrate the bug: mvn test results in a
> test failure; uncommenting the configuration element in the pom (and removing
> the <executions> element) result in a test success.
--
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