What's the recommended way of specifying paths that are always relative to parent pom (regardless if I am building from parent directory or from any of the subprojects directories)?

All my subprojects are sharing the same checkstyle.xml file. I am trying to configure my checkstyle plugin in parent pom:

    <pluginManagement>
      <plugins>
        <plugin>
          <artifactId>maven-checkstyle-plugin</artifactId>
          <configuration>
            <configLocation>meta/checkstyle.xml</configLocation>
            ...


but configLocation is always relative to current directory (user.dir)

Is the any way I can configure it without using environment variables or 
absolute paths?
Damian


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to