----- Original Message ----- From: "Jason van Zyl" <[EMAIL PROTECTED]> To: "Maven Developers List" <[EMAIL PROTECTED]> Sent: Thursday, May 27, 2004 3:56 PM Subject: Re: cvs commit:maven-components/maven-plugin/src/main/java/org/apache/maven/plugin/g eneratorBeanGenerator.java
> On Thu, 2004-05-27 at 09:01, Emmanuel Venisse wrote: > > > It's due to the use of System.out in plugins and not ant task that use ant > > project logger. > > Sorry, I'm not following. The only thing being printed out from the > plugin is the directory being cleaned and that shows up on the console. > There are already many beans like the changelog plugin that are not ant > tasks that seem to behave the same way. We can remedy this but the > behaviour appears to be the same for any bean that is harnessed this way > by using the jelly:bean construct. The executed goal name is writing in the console (with maven1) by the ant project logger. If a plugin (in our case m2 clean plugin) don't use it for write the message so the goal name (clean) doesn't appears, and if I add an echo tag in the clean goal, I see the goal name that is executed that appears in the console because echo use the logger. It isn't a m2 plugin problem, but it's the werkz goal tag that don't use the ant logger. With the actual plugin, we have : __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-final-SNAPSHOT Tentative de tÚlÚchargement de maven-plugin-2.0-SNAPSHOT.jar. Deleting directory D:\cvs_repo\jakarta\maven-branch\1.0\maven\target BUILD SUCCESSFUL Total time: 7 seconds Finished at: Thu May 27 17:56:17 CEST 2004 If I add <echo>MY MESSAGE</echo> in the clean goal, I obtain : __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0-final-SNAPSHOT Tentative de tÚlÚchargement de maven-plugin-2.0-SNAPSHOT.jar. build:start: clean: [echo] MY MESSAGE Deleting directory D:\cvs_repo\jakarta\maven-branch\1.0\maven\target BUILD SUCCESSFUL Total time: 7 seconds Finished at: Thu May 27 17:57:10 CEST 2004 Emmanuel --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]