Is there a way that a configuration property of a plug-in used in a parent
POM be accessed in a child POM? For example, If you had some plug-in like
the example below in a parent POM of your project and you wanted to access
the configuration property "escapeString" can you do it in your POM (i.e.
${project.XXX.escapeString} )?

 

<project>

  ...

  <build>

    <plugins>

      <plugin>

        <groupId>org.apache.maven.plugins</groupId>

        <artifactId>maven-resources-plugin</artifactId>

        <version>2.4.3</version>

        <configuration>

          ...

          <escapeString>\</escapeString>

          ...

        </configuration>

      </plugin>

    </plugins>

    ...

  </build>

  ...

</project>

 

 

 

 

Reply via email to