You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Milos Kleint (JIRA)" <ji...@codehaus.org> on 2005/11/13 18:25:06 UTC

[jira] Created: (MNG-1545) some execution output not routed through default routes.

some execution output not routed through default routes.
--------------------------------------------------------

         Key: MNG-1545
         URL: http://jira.codehaus.org/browse/MNG-1545
     Project: Maven 2
        Type: Bug
  Components: maven-embedder  
    Reporter: Milos Kleint
    Priority: Critical


when running embedded maven I create an instance of EventMonitor, TransferListener and MavenEmbedderLogger.
however there's still some output that is not received through these means, but rather printoed to standard output (I suppose)
that's wrong because it prohibits custom handling of output.

one example that I found is the surefire plugin's output.. everything prepended with [surefire] is printed out wrongly..




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1545) some execution output not routed through default routes.

Posted by "Arik Kfir (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1545?page=comments#action_54548 ] 

Arik Kfir commented on MNG-1545:
--------------------------------

I'm not sure that would be wise - when runningin another application (e.g. an IDE) I wouldn't want Maven to fiddle with external resources such as streams. What if the IDE wants to reroute the system streams to another source?

I think this should be solved by imposing some other form of validation on the source (perhaps a checkstyle check that fails the build if it finds a System.out?) 

> some execution output not routed through default routes.
> --------------------------------------------------------
>
>          Key: MNG-1545
>          URL: http://jira.codehaus.org/browse/MNG-1545
>      Project: Maven 2
>         Type: Bug

>   Components: maven-embedder
>     Reporter: Milos Kleint
>     Priority: Critical
>      Fix For: 2.0.3

>
>
> when running embedded maven I create an instance of EventMonitor, TransferListener and MavenEmbedderLogger.
> however there's still some output that is not received through these means, but rather printoed to standard output (I suppose)
> that's wrong because it prohibits custom handling of output.
> one example that I found is the surefire plugin's output.. everything prepended with [surefire] is printed out wrongly..

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-1545) some execution output not routed through default routes.

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1545?page=all ]

Jason van Zyl updated MNG-1545:
-------------------------------

    Fix Version:     (was: 2.1.1)
                 2.0.4

> some execution output not routed through default routes.
> --------------------------------------------------------
>
>          Key: MNG-1545
>          URL: http://jira.codehaus.org/browse/MNG-1545
>      Project: Maven 2
>         Type: Bug

>   Components: Embedding
>     Reporter: Milos Kleint
>     Priority: Critical
>      Fix For: 2.0.4

>
>
> when running embedded maven I create an instance of EventMonitor, TransferListener and MavenEmbedderLogger.
> however there's still some output that is not received through these means, but rather printoed to standard output (I suppose)
> that's wrong because it prohibits custom handling of output.
> one example that I found is the surefire plugin's output.. everything prepended with [surefire] is printed out wrongly..

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-1545) some execution output not routed through default routes.

Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1545?page=all ]

Jason van Zyl updated MNG-1545:
-------------------------------

    Fix Version:     (was: 2.0.3)
                 2.1.1

> some execution output not routed through default routes.
> --------------------------------------------------------
>
>          Key: MNG-1545
>          URL: http://jira.codehaus.org/browse/MNG-1545
>      Project: Maven 2
>         Type: Bug

>   Components: Embedding
>     Reporter: Milos Kleint
>     Priority: Critical
>      Fix For: 2.1.1

>
>
> when running embedded maven I create an instance of EventMonitor, TransferListener and MavenEmbedderLogger.
> however there's still some output that is not received through these means, but rather printoed to standard output (I suppose)
> that's wrong because it prohibits custom handling of output.
> one example that I found is the surefire plugin's output.. everything prepended with [surefire] is printed out wrongly..

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-1545) some execution output not routed through default routes.

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1545?page=all ]

John Casey updated MNG-1545:
----------------------------

    Fix Version: 2.0.2

should we re-route system streams to logger, just to guard against plugins doing Bad Things again?

scanning all the current plugins, etc. may fix this issue for now, but any new plugin (or subsequent update to existing plugins) can re-break it.

> some execution output not routed through default routes.
> --------------------------------------------------------
>
>          Key: MNG-1545
>          URL: http://jira.codehaus.org/browse/MNG-1545
>      Project: Maven 2
>         Type: Bug

>   Components: maven-embedder
>     Reporter: Milos Kleint
>     Priority: Critical
>      Fix For: 2.0.2

>
>
> when running embedded maven I create an instance of EventMonitor, TransferListener and MavenEmbedderLogger.
> however there's still some output that is not received through these means, but rather printoed to standard output (I suppose)
> that's wrong because it prohibits custom handling of output.
> one example that I found is the surefire plugin's output.. everything prepended with [surefire] is printed out wrongly..

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org