Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-2201

Interpolation problem when using surefire

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4
    • 2.0.9
    • None

    Description

      I've just tried the cargo build with the latest trunk versions of 2.0.4-SNAPSHOT and surefire plugin, and it seems there's some interpolation issue (I don't know if the problem is with the surefire plugin or with maven core).

      Here's what I have:

        <build>
          <pluginManagement>
            <plugins>
              <plugin>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                  <forkMode>pertest</forkMode>
                  <systemProperties>
                    [...]
                    <property>
                      <name>cargo.target.dir</name>
                      <value>${project.build.directory}</value>
                    </property>
      [...]
      

      It seems the ${project.build.directory} property is no longer getting resolved as I got a directory named ${project.build.directory} created.

      It used to work fine before.

      Attachments

        Issue Links

          Activity

            People

              jvanzyl Jason van Zyl
              vmassol Vincent Massol
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 4h
                  4h
                  Remaining:
                  Remaining Estimate - 4h
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified