ekryd / echo-maven-plugin Goto Github PK
View Code? Open in Web Editor NEWA maven plugin that lets you output text during Maven build
License: BSD 3-Clause "New" or "Revised" License
A maven plugin that lets you output text during Maven build
License: BSD 3-Clause "New" or "Revised" License
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
Warning
Renovate failed to look up the following dependencies: Failed to look up maven package com.github.ekryd.echo-maven-plugin.its:module1
.
Files affected: maven-plugin/src/it/echo-fromClassResouce/module2/pom.xml
These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
.circleci/config.yml
maven 1.4.1
cimg/openjdk 11.0.22
cimg/openjdk 20.0
cimg/openjdk 21.0.2
cimg/openjdk 17.0.11
.github/workflows/build.yml
actions/checkout v4.1.7@692973e3d937129bcbf40652eb9f2f61becf3332
actions/setup-java v4.2.2@6a0805fcefea3d4657a47ac4c165951e33482018
dependabot/fetch-metadata v2.2.0
.github/workflows/codeql-analysis.yml
actions/checkout v4@692973e3d937129bcbf40652eb9f2f61becf3332
github/codeql-action v3
github/codeql-action v3
github/codeql-action v3
echo/pom.xml
maven-plugin/pom.xml
com.github.ekryd.echo-maven-plugin:echo-output 2.1.1-SNAPSHOT
com.github.ekryd.echo-maven-plugin:echo-maven-plugin 2.1.0
maven-plugin/src/it/default-configuration/pom.xml
maven-plugin/src/it/echo-fromClassResouce/module1/pom.xml
maven-plugin/src/it/echo-fromClassResouce/module2/pom.xml
com.github.ekryd.echo-maven-plugin.its:module1 0.0.1-SNAPSHOT
maven-plugin/src/it/echo-fromClassResouce/pom.xml
maven-plugin/src/it/echo-fromFile/pom.xml
maven-plugin/src/it/mojo-description/pom.xml
org.apache.maven.plugins:maven-help-plugin 3.5.0
maven-plugin/src/it/skip-echo/pom.xml
pom.xml
org.junit:junit-bom 5.11.0
commons-io:commons-io 2.16.1
org.apache.maven:maven-plugin-api 3.9.9
org.apache.maven.plugin-tools:maven-plugin-annotations 3.15.0
com.github.ekryd.reflection-utils:reflection-utils 1.2.0
org.hamcrest:hamcrest 3.0
org.mockito:mockito-core 5.13.0
org.apache.maven.plugins:maven-antrun-plugin 3.1.0
org.apache.maven.plugins:maven-assembly-plugin 3.7.1
org.apache.maven.plugins:maven-clean-plugin 3.4.0
org.apache.maven.plugins:maven-compiler-plugin 3.13.0
org.apache.maven.plugins:maven-dependency-plugin 3.8.0
org.apache.maven.plugins:maven-deploy-plugin 3.1.3
org.apache.maven.plugins:maven-install-plugin 3.1.3
org.apache.maven.plugins:maven-invoker-plugin 3.8.0
org.apache.maven.plugins:maven-jar-plugin 3.4.2
org.apache.maven.plugins:maven-plugin-plugin 3.15.0
org.apache.maven.plugins:maven-resources-plugin 3.3.1
org.apache.maven.plugins:maven-site-plugin 3.20.0
org.apache.maven.plugins:maven-surefire-plugin 3.5.0
org.codehaus.mojo:versions-maven-plugin 2.17.1
org.jacoco:jacoco-maven-plugin 0.8.12
org.sonarsource.scanner.maven:sonar-maven-plugin 4.0.0.4121
com.github.ekryd.echo-maven-plugin:echo-maven-plugin 2.1.0
com.github.ekryd.sortpom:sortpom-maven-plugin 4.0.0
com.spotify.fmt:fmt-maven-plugin 2.24
org.apache.maven.plugins:maven-enforcer-plugin 3.5.0
org.apache.maven.plugins:maven-release-plugin 3.1.1
org.eluder.coveralls:coveralls-maven-plugin 4.3.0
javax.xml.bind:jaxb-api 2.4.0-b180830.0359
org.sonatype.plugins:nexus-staging-maven-plugin 1.7.0
org.apache.maven.plugins:maven-javadoc-plugin 3.10.0
org.apache.maven.plugins:maven-source-plugin 3.3.1
org.apache.maven.plugins:maven-gpg-plugin 3.2.5
What steps will reproduce the problem?
Configure the plugin with:
<fromFile>welcome.txt</fromFile>
<characterOutput>true</characterOutput>
What is the expected output? What do you see instead?
Got NullPointerException:
Caused by: java.lang.NullPointerException
at echo.CharacterOutput.getOutput(CharacterOutput.java:31)
at echo.EchoPlugin.echo(EchoPlugin.java:44)
at echo.EchoMojo.echo(EchoMojo.java:109)
at echo.EchoMojo.execute(EchoMojo.java:88)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106
Original issue reported on code.google.com by [email protected]
on 19 Apr 2014 at 7:52
I discover this plugin when playing with sortpom.
As an opensource library maintainer, I think it could be a useful plugin to share information to developer which try to build my project.
Thinking about that, I have the idea that it could be cool to print/echo some information on some particular event :
Imagine you have a code formating check in your build,
When it failed you want to print to information about how to handle this. (how to get formatter or which mvn goal to launch to format ...)
So I search if I can do that and for now I understand there is no way to do that without code :
https://stackoverflow.com/questions/41893919/run-a-maven-plugin-when-the-build-fails
Maybe a possible feature could be to make possible to echo on given event (see https://maven.apache.org/ref/3.8.2/apidocs/org/apache/maven/execution/ExecutionEvent.html) like :
I share the idea just in case ๐
Couple of things
[INFO]
WARN
as mentioned at https://github.com/Ekryd/echo-maven-plugin/wiki I get a message saying level must be either FAIL, ERROR, WARNING, INFO or DEBUG. Was: WARN
I see properties can be used in the message but not in the text file.
It would be handy to say in the text file:
The default goal is "${project.build.defaultGoal}"
and read
The default goal is "clean install"
What steps will reproduce the problem?
Configure the plugin with debug level and run the plugin without switch -X
What is the expected output? What do you see instead?
The message should not be shown at all, only with the -X switch turned on
Please use labels and text to provide additional information.
The output is also strange with the other labels. They are in lower case
letters instead of capital letters.
Original issue reported on code.google.com by [email protected]
on 19 Apr 2014 at 8:20
This echo-maven-plugin never echos anything to the console.
I've tried different phases but nothing works.
What would I have to type at the command line to see the DEBUG_BUILD message?
<plugin>
<groupId>com.github.ekryd.echo-maven-plugin</groupId>
<artifactId>echo-maven-plugin</artifactId>
<version>1.2.0</version>
<inherited>false</inherited>
<executions>
<execution>
<id>someId</id>
<phase>clean</phase>
<goals>
<goal>echo</goal>
</goals>
<configuration>
<message>DEBUG_BUILD: a</message>
</configuration>
</execution>
</executions>
</plugin>
Using property="sort.skip" interferes with skipping the sort pom plugin. Should this be echo.skip?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.