Skip to content

maven property are not resolved against property of directory-of goal #5

@nfalco79

Description

@nfalco79

Hi, I'm using your plugin to define a directory of a module where are placed some integration tests executed by antrun plugin.

I run in the same reactor also the sonarqube analisys software.
I need to specify a sonar property where is located the the folder where the JUnit tests are placed. If I use a property in the parent pom as like

<sonar.reportPath>distribution/server.test/target/surefire-tests</sonar.reportPath>

each module relocate to its baseDir so it does not work.

So I add your directory-of goal in the parent pom. The above property became

<sonar.reportPath>${test.project}/target/surefire-tests</sonar.reportPath>

I thought it worked but the property is not resolved against the new property created with your plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions