You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2007/09/06 21:22:11 UTC

[jira] Created: (MNG-3194) logging changes prevent compilation failures from being shown (in the reactor)

logging changes prevent compilation failures from being shown (in the reactor)
------------------------------------------------------------------------------

                 Key: MNG-3194
                 URL: http://jira.codehaus.org/browse/MNG-3194
             Project: Maven 2
          Issue Type: Bug
          Components: Errors, Logging
    Affects Versions: 2.1-alpha-1
            Reporter: Brett Porter
             Fix For: 2.1-alpha-1


The Maven build is failing today due to a compilation error, and the output looks like:

{code}
     [java] [INFO] [compiler:testCompile]
     [java] [INFO] Compiling 36 source files to /Users/brett/scm/maven/components/maven-project/target/test-classes
     [java] [INFO] 
     [java] [INFO] 
     [java] [INFO] ------------------------------------------------------------------------
     [java] [INFO] Reactor Summary:
     [java] [INFO] ------------------------------------------------------------------------
     [java] [INFO] Apache Maven .......................................... SUCCESS [19.247s]
     [java] [INFO] Maven Build Context ................................... SUCCESS [7.503s]
     [java] [INFO] Maven Model ........................................... SUCCESS [8.808s]
     [java] [INFO] Maven Local Settings Model ............................ SUCCESS [1.960s]
     [java] [INFO] Maven Profile Model ................................... SUCCESS [1.031s]
     [java] [INFO] Maven Lifecycle Model ................................. SUCCESS [1.659s]
     [java] [INFO] Maven Project Builder ................................. FAILED [9.732s]
     [java] [INFO] Maven Plugin API ...................................... NOT BUILT
     [java] [INFO] Maven Core ............................................ NOT BUILT
     [java] [INFO] Maven Reporting API ................................... NOT BUILT
     [java] [INFO] Maven Embedder ........................................ NOT BUILT
     [java] [INFO] ------------------------------------------------------------------------
     [java] [INFO] Error for project: Maven Project Builder (during org.apache.maven.plugins:maven-compiler-plugin:2.0.2:testCompile)
     [java] [INFO] ------------------------------------------------------------------------
     [java] [INFO] BUILD ERRORS
     [java] [INFO] ------------------------------------------------------------------------
     [java] [INFO] Total time: 50 seconds
     [java] [INFO] Finished at: Fri Sep 07 05:13:55 EST 2007
     [java] [INFO] Final Memory: 17M/42M
     [java] [INFO] ------------------------------------------------------------------------
{code}

The compilation errors are missing before the summary.

I haven't tested this outside the reactor.


-- 
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

        

[jira] Updated: (MNG-3194) logging changes prevent compilation failures from being shown (in the reactor)

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-3194:
------------------------------

         Priority: Blocker  (was: Major)
    Fix Version/s: 2.1-alpha-1

> logging changes prevent compilation failures from being shown (in the reactor)
> ------------------------------------------------------------------------------
>
>                 Key: MNG-3194
>                 URL: http://jira.codehaus.org/browse/MNG-3194
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Errors, Logging
>    Affects Versions: 2.1-alpha-1
>            Reporter: Brett Porter
>            Priority: Blocker
>             Fix For: 2.1-alpha-1
>
>
> The Maven build is failing today due to a compilation error, and the output looks like:
> {code}
>      [java] [INFO] [compiler:testCompile]
>      [java] [INFO] Compiling 36 source files to /Users/brett/scm/maven/components/maven-project/target/test-classes
>      [java] [INFO] 
>      [java] [INFO] 
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] Reactor Summary:
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] Apache Maven .......................................... SUCCESS [19.247s]
>      [java] [INFO] Maven Build Context ................................... SUCCESS [7.503s]
>      [java] [INFO] Maven Model ........................................... SUCCESS [8.808s]
>      [java] [INFO] Maven Local Settings Model ............................ SUCCESS [1.960s]
>      [java] [INFO] Maven Profile Model ................................... SUCCESS [1.031s]
>      [java] [INFO] Maven Lifecycle Model ................................. SUCCESS [1.659s]
>      [java] [INFO] Maven Project Builder ................................. FAILED [9.732s]
>      [java] [INFO] Maven Plugin API ...................................... NOT BUILT
>      [java] [INFO] Maven Core ............................................ NOT BUILT
>      [java] [INFO] Maven Reporting API ................................... NOT BUILT
>      [java] [INFO] Maven Embedder ........................................ NOT BUILT
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] Error for project: Maven Project Builder (during org.apache.maven.plugins:maven-compiler-plugin:2.0.2:testCompile)
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] BUILD ERRORS
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] Total time: 50 seconds
>      [java] [INFO] Finished at: Fri Sep 07 05:13:55 EST 2007
>      [java] [INFO] Final Memory: 17M/42M
>      [java] [INFO] ------------------------------------------------------------------------
> {code}
> The compilation errors are missing before the summary.
> I haven't tested this outside the reactor.

-- 
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

        

[jira] Closed: (MNG-3194) logging changes prevent compilation failures from being shown (in the reactor)

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey closed MNG-3194.
---------------------------

    Resolution: Fixed

It's fixed, but because of the fact that it's in the CLI (triggered by a main method, which is the only entry point for the class), and that main method constructs a concrete MavenEmbedder instance, it's not reasonable to setup a unit test for logging output. Maybe we can do something in the ITs.

> logging changes prevent compilation failures from being shown (in the reactor)
> ------------------------------------------------------------------------------
>
>                 Key: MNG-3194
>                 URL: http://jira.codehaus.org/browse/MNG-3194
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Errors, Logging
>    Affects Versions: 2.1-alpha-1
>            Reporter: Brett Porter
>            Assignee: John Casey
>            Priority: Blocker
>             Fix For: 2.1-alpha-1
>
>
> The Maven build is failing today due to a compilation error, and the output looks like:
> {code}
>      [java] [INFO] [compiler:testCompile]
>      [java] [INFO] Compiling 36 source files to /Users/brett/scm/maven/components/maven-project/target/test-classes
>      [java] [INFO] 
>      [java] [INFO] 
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] Reactor Summary:
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] Apache Maven .......................................... SUCCESS [19.247s]
>      [java] [INFO] Maven Build Context ................................... SUCCESS [7.503s]
>      [java] [INFO] Maven Model ........................................... SUCCESS [8.808s]
>      [java] [INFO] Maven Local Settings Model ............................ SUCCESS [1.960s]
>      [java] [INFO] Maven Profile Model ................................... SUCCESS [1.031s]
>      [java] [INFO] Maven Lifecycle Model ................................. SUCCESS [1.659s]
>      [java] [INFO] Maven Project Builder ................................. FAILED [9.732s]
>      [java] [INFO] Maven Plugin API ...................................... NOT BUILT
>      [java] [INFO] Maven Core ............................................ NOT BUILT
>      [java] [INFO] Maven Reporting API ................................... NOT BUILT
>      [java] [INFO] Maven Embedder ........................................ NOT BUILT
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] Error for project: Maven Project Builder (during org.apache.maven.plugins:maven-compiler-plugin:2.0.2:testCompile)
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] BUILD ERRORS
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] Total time: 50 seconds
>      [java] [INFO] Finished at: Fri Sep 07 05:13:55 EST 2007
>      [java] [INFO] Final Memory: 17M/42M
>      [java] [INFO] ------------------------------------------------------------------------
> {code}
> The compilation errors are missing before the summary.
> I haven't tested this outside the reactor.

-- 
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

        

[jira] Work started: (MNG-3194) logging changes prevent compilation failures from being shown (in the reactor)

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on MNG-3194 started by John Casey.

> logging changes prevent compilation failures from being shown (in the reactor)
> ------------------------------------------------------------------------------
>
>                 Key: MNG-3194
>                 URL: http://jira.codehaus.org/browse/MNG-3194
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Errors, Logging
>    Affects Versions: 2.1-alpha-1
>            Reporter: Brett Porter
>            Assignee: John Casey
>            Priority: Blocker
>             Fix For: 2.1-alpha-1
>
>
> The Maven build is failing today due to a compilation error, and the output looks like:
> {code}
>      [java] [INFO] [compiler:testCompile]
>      [java] [INFO] Compiling 36 source files to /Users/brett/scm/maven/components/maven-project/target/test-classes
>      [java] [INFO] 
>      [java] [INFO] 
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] Reactor Summary:
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] Apache Maven .......................................... SUCCESS [19.247s]
>      [java] [INFO] Maven Build Context ................................... SUCCESS [7.503s]
>      [java] [INFO] Maven Model ........................................... SUCCESS [8.808s]
>      [java] [INFO] Maven Local Settings Model ............................ SUCCESS [1.960s]
>      [java] [INFO] Maven Profile Model ................................... SUCCESS [1.031s]
>      [java] [INFO] Maven Lifecycle Model ................................. SUCCESS [1.659s]
>      [java] [INFO] Maven Project Builder ................................. FAILED [9.732s]
>      [java] [INFO] Maven Plugin API ...................................... NOT BUILT
>      [java] [INFO] Maven Core ............................................ NOT BUILT
>      [java] [INFO] Maven Reporting API ................................... NOT BUILT
>      [java] [INFO] Maven Embedder ........................................ NOT BUILT
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] Error for project: Maven Project Builder (during org.apache.maven.plugins:maven-compiler-plugin:2.0.2:testCompile)
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] BUILD ERRORS
>      [java] [INFO] ------------------------------------------------------------------------
>      [java] [INFO] Total time: 50 seconds
>      [java] [INFO] Finished at: Fri Sep 07 05:13:55 EST 2007
>      [java] [INFO] Final Memory: 17M/42M
>      [java] [INFO] ------------------------------------------------------------------------
> {code}
> The compilation errors are missing before the summary.
> I haven't tested this outside the reactor.

-- 
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