[
https://jira.codehaus.org/browse/MBUILDHELPER-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=295686#comment-295686
]
Robert Scholte commented on MBUILDHELPER-35:
--------------------------------------------
Í'd prefer a {{won't fix}}. This sounds more like a some feature for ant-users
who trust Maven as equal as Ant builds. Hence, if they want to stay in the
Ant-era, the can use the antrun-maven-plugin.
> 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
> Priority: Minor
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
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