Add <echo> goal to build-helper.
--------------------------------
Key: MBUILDHELPER-35
URL: https://jira.codehaus.org/browse/MBUILDHELPER-35
Project: Maven 2.x Build Helper Plugin
Issue Type: New Feature
Affects Versions: 1.7
Reporter: Alex Pogrebnyak
It is sometimes desirable to see the value of a property during the build.
Now I have to do this with the help of antrun plugin.
{code:xml}
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<echo>[my.property1]: (${my.property1})</echo>
<echo>[my.property2]: (${my.property2})</echo>
</target>
</configuration>
</execution>
</executions>
</plugin>
{code}
Is it possible to add "echo" goal to build-helper that would take a "<message>"
subelement to do it more maven way, e.g.
{code:xml}
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>echo</goal>
</goals>
<configuration>
<messages>
<message>[my.property1]: (${my.property1})</message>
<message>[my.property2]: (${my.property2})</message>
</messages>
</configuration>
</execution>
</executions>
</plugin>
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email