[ 
http://jira.codehaus.org/browse/MNG-4307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=187432#action_187432
 ] 

Jason Pell commented on MNG-4307:
---------------------------------

Apologies, must have hit the wrong key!

Anyway, the child pom has a single property:

<properties>
                
<failsafeIntegrationTestPhase>integration-test</failsafeIntegrationTestPhase>
        </properties>


When I run:

  mvn integration-test

>From the child directly the failsafe plugin is not executed.  
When I run the same command from the parent, the failsafe plugin is executed.



> Properties are not expanded in Plugin execution phase attribute when executed 
> from child project, from parent they are.
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-4307
>                 URL: http://jira.codehaus.org/browse/MNG-4307
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Bootstrap & Build
>    Affects Versions: 2.2.0, 2.2.1
>         Environment: Centos 5.3 X86
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_17-b04)
> Java HotSpot(TM) Client VM (build 1.5.0_17-b04, mixed mode)
>            Reporter: Jason Pell
>         Attachments: tests-parent-bug.tar.gz
>
>
> The attached tarball has the following project structure:
> parent-tests/
> parent-tests/test/
> The parent project has a <modules> section only.
> The tests sub project has a single plugin and execution block.  The <phase> 
> is a property <phase>${failsafeIntegrationTestPhase}</phase>
> The pom has a single property:

-- 
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

        

Reply via email to