-
-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Björn Ekryd edited this page Mar 19, 2021
·
7 revisions
Maven plugin that outputs text during a maven build. The plugin is an alternative to the using antrun plugin and the echo ant command.
- 2014-04-21: Released 1.0.0. Fixed bugs, issue 1 and issue 2
- 2014-04-19: Documentation should be complete
- 2014-04-18: More documentation
- 2014-03-18: Released 0.0.1. Starting to write documentation.
The Echo Plugin has one goal: echo which outputs the message.
The plugin should emulate the ant command 'echo', but with the following exceptions:
- The attribute 'file' is called 'toFile'
- The attribute 'output' does not exist
- The default value for the attribute 'level' is INFO, not WARN.
Maven users can add this plugin with the following addition to their pom.xml file. This will output a message at the start of the build. The text in the message tag can be what you want.
<build>
<plugins>
<plugin>
<groupId>com.github.ekryd.echo-maven-plugin</groupId>
<artifactId>echo-maven-plugin</artifactId>
<version>1.2.0</version>
<inherited>false</inherited>
<configuration>
<message>${line.separator} Notice: please use -Ddev to compile without signing the jar${line.separator}</message>
</configuration>
<executions>
<execution>
<goals>
<goal>echo</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
[Versions]
The plugin is hosted i Maven Central and will be downloaded automatically if you include it as a plugin in your pom file.
If you use it, then please consider some encouragement.