You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sascha Vogt (JIRA)" <ji...@codehaus.org> on 2012/08/30 09:57:21 UTC

[jira] (MCOMPILER-179) Warnings

Sascha Vogt created MCOMPILER-179:
-------------------------------------

             Summary: Warnings 
                 Key: MCOMPILER-179
                 URL: https://jira.codehaus.org/browse/MCOMPILER-179
             Project: Maven 2.x Compiler Plugin
          Issue Type: Bug
    Affects Versions: 2.5.1, 2.5, 2.4
         Environment: Windows7, 64-bit
VMs, 1.6.0_32 and 1.7.0_04 both 64-bit
            Reporter: Sascha Vogt


If one error occurs, all warnings are shown as error as well. Up to 2.3.2 this was not the case. Sample output 2.4 and higher:
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] bad path element "": no such file or directory
C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
[unchecked] unchecked call to add(E) as a member of the raw type
java.util.List
[ERROR]
C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
[unchecked] unchecked call to add(E) as a member of the raw type
java.util.List
[ERROR]
C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
[unchecked] unchecked conversion
found   : java.util.List
required: java.util.List<java.lang.String>
[ERROR]
C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
getList() in de.maybebuggy.sample.Main cannot be applied to (int)
[INFO] 4 errors

Sample output 2.3.2:
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING]
\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
[unchecked] unchecked call to add(E) as a member of the raw type
java.util.List
[WARNING]
\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
[unchecked] unchecked call to add(E) as a member of the raw type
java.util.List
[WARNING]
\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
[unchecked] unchecked conversion
found   : java.util.List
required: java.util.List<java.lang.String>
[INFO] 3 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
getList() in de.maybebuggy.sample.Main cannot be applied to (int)
[INFO] 1 error
[INFO] -------------------------------------------------------------

With the current behavior it is extremely hard to spot the error if there are multiple warnings in a project.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MCOMPILER-179) Warnings

Posted by "Anders Hammar (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MCOMPILER-179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=311247#comment-311247 ] 

Anders Hammar commented on MCOMPILER-179:
-----------------------------------------

I have now verified that IT for MCOMPILER-120 works with p-c 1.9.3-SNAPSHOT. But it's not really a pretty solution for MCOMPILER-120 as the plugin's error message will say that it couldn't parse the compiler output.

I think that the main problem is that the compilation result (ok/nok) is based on if there's an error message returned. A better solution would be to have a separate result value, and then have debug/warning/error messages for logging only. 
                
> Warnings 
> ---------
>
>                 Key: MCOMPILER-179
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-179
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4, 2.5, 2.5.1
>         Environment: Windows7, 64-bit
> VMs, 1.6.0_32 and 1.7.0_04 both 64-bit
>            Reporter: Sascha Vogt
>            Assignee: Kristian Rosenvold
>             Fix For: 2.6
>
>
> If one error occurs, all warnings are shown as error as well. Up to {{2.3.2}} this was not the case. Sample output {{2.4}} and higher:
> {noformat}
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] bad path element "": no such file or directory
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
> [unchecked] unchecked conversion
> found   : java.util.List
> required: java.util.List<java.lang.String>
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
> getList() in de.maybebuggy.sample.Main cannot be applied to (int)
> [INFO] 4 errors
> {noformat}
> Sample output {{2.3.2}}:
> {noformat}
> [INFO] -------------------------------------------------------------
> [WARNING] COMPILATION WARNING :
> [INFO] -------------------------------------------------------------
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
> [unchecked] unchecked conversion
> found   : java.util.List
> required: java.util.List<java.lang.String>
> [INFO] 3 warnings
> [INFO] -------------------------------------------------------------
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
> getList() in de.maybebuggy.sample.Main cannot be applied to (int)
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> {noformat}
> With the current behavior it is extremely hard to spot the error if there are multiple warnings in a project.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MCOMPILER-179) Warnings

Posted by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MCOMPILER-179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=307904#comment-307904 ] 

Kristian Rosenvold commented on MCOMPILER-179:
----------------------------------------------

Fixed in plexus-compiler-javac 1.9.2
                
> Warnings 
> ---------
>
>                 Key: MCOMPILER-179
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-179
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4, 2.5, 2.5.1
>         Environment: Windows7, 64-bit
> VMs, 1.6.0_32 and 1.7.0_04 both 64-bit
>            Reporter: Sascha Vogt
>
> If one error occurs, all warnings are shown as error as well. Up to 2.3.2 this was not the case. Sample output 2.4 and higher:
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] bad path element "": no such file or directory
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
> [unchecked] unchecked conversion
> found   : java.util.List
> required: java.util.List<java.lang.String>
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
> getList() in de.maybebuggy.sample.Main cannot be applied to (int)
> [INFO] 4 errors
> Sample output 2.3.2:
> [INFO] -------------------------------------------------------------
> [WARNING] COMPILATION WARNING :
> [INFO] -------------------------------------------------------------
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
> [unchecked] unchecked conversion
> found   : java.util.List
> required: java.util.List<java.lang.String>
> [INFO] 3 warnings
> [INFO] -------------------------------------------------------------
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
> getList() in de.maybebuggy.sample.Main cannot be applied to (int)
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> With the current behavior it is extremely hard to spot the error if there are multiple warnings in a project.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MCOMPILER-179) Warnings

Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MCOMPILER-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte reopened MCOMPILER-179:
--------------------------------------


The fix breaks the IT of MCOMPILER-120, downgrading to plexus-compiler-1.9.1 makes IT succeed again.
                
> Warnings 
> ---------
>
>                 Key: MCOMPILER-179
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-179
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4, 2.5, 2.5.1
>         Environment: Windows7, 64-bit
> VMs, 1.6.0_32 and 1.7.0_04 both 64-bit
>            Reporter: Sascha Vogt
>            Assignee: Kristian Rosenvold
>             Fix For: 2.6
>
>
> If one error occurs, all warnings are shown as error as well. Up to 2.3.2 this was not the case. Sample output 2.4 and higher:
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] bad path element "": no such file or directory
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
> [unchecked] unchecked conversion
> found   : java.util.List
> required: java.util.List<java.lang.String>
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
> getList() in de.maybebuggy.sample.Main cannot be applied to (int)
> [INFO] 4 errors
> Sample output 2.3.2:
> [INFO] -------------------------------------------------------------
> [WARNING] COMPILATION WARNING :
> [INFO] -------------------------------------------------------------
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
> [unchecked] unchecked conversion
> found   : java.util.List
> required: java.util.List<java.lang.String>
> [INFO] 3 warnings
> [INFO] -------------------------------------------------------------
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
> getList() in de.maybebuggy.sample.Main cannot be applied to (int)
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> With the current behavior it is extremely hard to spot the error if there are multiple warnings in a project.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MCOMPILER-179) Warnings

Posted by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MCOMPILER-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Rosenvold closed MCOMPILER-179.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.6
         Assignee: Kristian Rosenvold

Fixed in r1381893, thanks for the report!
                
> Warnings 
> ---------
>
>                 Key: MCOMPILER-179
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-179
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4, 2.5, 2.5.1
>         Environment: Windows7, 64-bit
> VMs, 1.6.0_32 and 1.7.0_04 both 64-bit
>            Reporter: Sascha Vogt
>            Assignee: Kristian Rosenvold
>             Fix For: 2.6
>
>
> If one error occurs, all warnings are shown as error as well. Up to 2.3.2 this was not the case. Sample output 2.4 and higher:
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] bad path element "": no such file or directory
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
> [unchecked] unchecked conversion
> found   : java.util.List
> required: java.util.List<java.lang.String>
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
> getList() in de.maybebuggy.sample.Main cannot be applied to (int)
> [INFO] 4 errors
> Sample output 2.3.2:
> [INFO] -------------------------------------------------------------
> [WARNING] COMPILATION WARNING :
> [INFO] -------------------------------------------------------------
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
> [unchecked] unchecked conversion
> found   : java.util.List
> required: java.util.List<java.lang.String>
> [INFO] 3 warnings
> [INFO] -------------------------------------------------------------
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
> getList() in de.maybebuggy.sample.Main cannot be applied to (int)
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> With the current behavior it is extremely hard to spot the error if there are multiple warnings in a project.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MCOMPILER-179) Warnings

Posted by "Sascha Vogt (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MCOMPILER-179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=307425#comment-307425 ] 

Sascha Vogt commented on MCOMPILER-179:
---------------------------------------

I'm sorry, I missed the settings for the compiler (copied from the effective pom):
   <compilerArgument>-Xlint:all</compilerArgument>
   <showWarnings>true</showWarnings>
   <showDeprecation>true</showDeprecation>
   <compilerVersion>1.6</compilerVersion>
   <source>1.6</source>
   <target>1.6</target>
                
> Warnings 
> ---------
>
>                 Key: MCOMPILER-179
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-179
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4, 2.5, 2.5.1
>         Environment: Windows7, 64-bit
> VMs, 1.6.0_32 and 1.7.0_04 both 64-bit
>            Reporter: Sascha Vogt
>
> If one error occurs, all warnings are shown as error as well. Up to 2.3.2 this was not the case. Sample output 2.4 and higher:
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] bad path element "": no such file or directory
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
> [unchecked] unchecked conversion
> found   : java.util.List
> required: java.util.List<java.lang.String>
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
> getList() in de.maybebuggy.sample.Main cannot be applied to (int)
> [INFO] 4 errors
> Sample output 2.3.2:
> [INFO] -------------------------------------------------------------
> [WARNING] COMPILATION WARNING :
> [INFO] -------------------------------------------------------------
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
> [unchecked] unchecked conversion
> found   : java.util.List
> required: java.util.List<java.lang.String>
> [INFO] 3 warnings
> [INFO] -------------------------------------------------------------
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
> getList() in de.maybebuggy.sample.Main cannot be applied to (int)
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> With the current behavior it is extremely hard to spot the error if there are multiple warnings in a project.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MCOMPILER-179) Warnings

Posted by "Anders Hammar (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MCOMPILER-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anders Hammar reassigned MCOMPILER-179:
---------------------------------------

    Assignee: Anders Hammar  (was: Kristian Rosenvold)
    
> Warnings 
> ---------
>
>                 Key: MCOMPILER-179
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-179
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4, 2.5, 2.5.1
>         Environment: Windows7, 64-bit
> VMs, 1.6.0_32 and 1.7.0_04 both 64-bit
>            Reporter: Sascha Vogt
>            Assignee: Anders Hammar
>             Fix For: 3.0
>
>
> If one error occurs, all warnings are shown as error as well. Up to {{2.3.2}} this was not the case. Sample output {{2.4}} and higher:
> {noformat}
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] bad path element "": no such file or directory
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
> [unchecked] unchecked conversion
> found   : java.util.List
> required: java.util.List<java.lang.String>
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
> getList() in de.maybebuggy.sample.Main cannot be applied to (int)
> [INFO] 4 errors
> {noformat}
> Sample output {{2.3.2}}:
> {noformat}
> [INFO] -------------------------------------------------------------
> [WARNING] COMPILATION WARNING :
> [INFO] -------------------------------------------------------------
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
> [unchecked] unchecked conversion
> found   : java.util.List
> required: java.util.List<java.lang.String>
> [INFO] 3 warnings
> [INFO] -------------------------------------------------------------
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
> getList() in de.maybebuggy.sample.Main cannot be applied to (int)
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> {noformat}
> With the current behavior it is extremely hard to spot the error if there are multiple warnings in a project.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MCOMPILER-179) Warnings

Posted by "Anders Hammar (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MCOMPILER-179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=310346#comment-310346 ] 

Anders Hammar commented on MCOMPILER-179:
-----------------------------------------

@Kristian: Did you look into this? Ran into it in a project. It's a nasty one as it's hard to understand that it's a bug in the plugin.
                
> Warnings 
> ---------
>
>                 Key: MCOMPILER-179
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-179
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4, 2.5, 2.5.1
>         Environment: Windows7, 64-bit
> VMs, 1.6.0_32 and 1.7.0_04 both 64-bit
>            Reporter: Sascha Vogt
>            Assignee: Kristian Rosenvold
>             Fix For: 2.6
>
>
> If one error occurs, all warnings are shown as error as well. Up to {{2.3.2}} this was not the case. Sample output {{2.4}} and higher:
> {noformat}
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] bad path element "": no such file or directory
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
> [unchecked] unchecked conversion
> found   : java.util.List
> required: java.util.List<java.lang.String>
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
> getList() in de.maybebuggy.sample.Main cannot be applied to (int)
> [INFO] 4 errors
> {noformat}
> Sample output {{2.3.2}}:
> {noformat}
> [INFO] -------------------------------------------------------------
> [WARNING] COMPILATION WARNING :
> [INFO] -------------------------------------------------------------
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
> [unchecked] unchecked conversion
> found   : java.util.List
> required: java.util.List<java.lang.String>
> [INFO] 3 warnings
> [INFO] -------------------------------------------------------------
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
> getList() in de.maybebuggy.sample.Main cannot be applied to (int)
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> {noformat}
> With the current behavior it is extremely hard to spot the error if there are multiple warnings in a project.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MCOMPILER-179) Warnings

Posted by "Anders Hammar (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MCOMPILER-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anders Hammar closed MCOMPILER-179.
-----------------------------------

    Resolution: Fixed

Rework in upcoming plexus-compiler:2.0 fixes this.
                
> Warnings 
> ---------
>
>                 Key: MCOMPILER-179
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-179
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4, 2.5, 2.5.1
>         Environment: Windows7, 64-bit
> VMs, 1.6.0_32 and 1.7.0_04 both 64-bit
>            Reporter: Sascha Vogt
>            Assignee: Anders Hammar
>             Fix For: 3.0
>
>
> If one error occurs, all warnings are shown as error as well. Up to {{2.3.2}} this was not the case. Sample output {{2.4}} and higher:
> {noformat}
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] bad path element "": no such file or directory
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
> [unchecked] unchecked conversion
> found   : java.util.List
> required: java.util.List<java.lang.String>
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
> getList() in de.maybebuggy.sample.Main cannot be applied to (int)
> [INFO] 4 errors
> {noformat}
> Sample output {{2.3.2}}:
> {noformat}
> [INFO] -------------------------------------------------------------
> [WARNING] COMPILATION WARNING :
> [INFO] -------------------------------------------------------------
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
> [unchecked] unchecked conversion
> found   : java.util.List
> required: java.util.List<java.lang.String>
> [INFO] 3 warnings
> [INFO] -------------------------------------------------------------
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
> getList() in de.maybebuggy.sample.Main cannot be applied to (int)
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> {noformat}
> With the current behavior it is extremely hard to spot the error if there are multiple warnings in a project.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MCOMPILER-179) Warnings

Posted by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MCOMPILER-179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=310732#comment-310732 ] 

Kristian Rosenvold commented on MCOMPILER-179:
----------------------------------------------

Yes, we're in the middle of quite a bit of trouble on this one. p-c 1.9.2 "fixes" it but breaks some IT in the compiler-plugin. I have not yet had the chance to investiate exactly why it fails. This code is so brittle I dislike changing it ;) 


                
> Warnings 
> ---------
>
>                 Key: MCOMPILER-179
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-179
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4, 2.5, 2.5.1
>         Environment: Windows7, 64-bit
> VMs, 1.6.0_32 and 1.7.0_04 both 64-bit
>            Reporter: Sascha Vogt
>            Assignee: Kristian Rosenvold
>             Fix For: 2.6
>
>
> If one error occurs, all warnings are shown as error as well. Up to {{2.3.2}} this was not the case. Sample output {{2.4}} and higher:
> {noformat}
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] bad path element "": no such file or directory
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
> [unchecked] unchecked conversion
> found   : java.util.List
> required: java.util.List<java.lang.String>
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
> getList() in de.maybebuggy.sample.Main cannot be applied to (int)
> [INFO] 4 errors
> {noformat}
> Sample output {{2.3.2}}:
> {noformat}
> [INFO] -------------------------------------------------------------
> [WARNING] COMPILATION WARNING :
> [INFO] -------------------------------------------------------------
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
> [unchecked] unchecked conversion
> found   : java.util.List
> required: java.util.List<java.lang.String>
> [INFO] 3 warnings
> [INFO] -------------------------------------------------------------
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
> getList() in de.maybebuggy.sample.Main cannot be applied to (int)
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> {noformat}
> With the current behavior it is extremely hard to spot the error if there are multiple warnings in a project.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MCOMPILER-179) Warnings

Posted by "Mark Struberg (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MCOMPILER-179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=309531#comment-309531 ] 

Mark Struberg commented on MCOMPILER-179:
-----------------------------------------

temporarily set plexus-compiler back to 1.9.1

All IT are passing now.
                
> Warnings 
> ---------
>
>                 Key: MCOMPILER-179
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-179
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4, 2.5, 2.5.1
>         Environment: Windows7, 64-bit
> VMs, 1.6.0_32 and 1.7.0_04 both 64-bit
>            Reporter: Sascha Vogt
>            Assignee: Kristian Rosenvold
>             Fix For: 2.6
>
>
> If one error occurs, all warnings are shown as error as well. Up to {{2.3.2}} this was not the case. Sample output {{2.4}} and higher:
> {noformat}
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] bad path element "": no such file or directory
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
> [unchecked] unchecked conversion
> found   : java.util.List
> required: java.util.List<java.lang.String>
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
> getList() in de.maybebuggy.sample.Main cannot be applied to (int)
> [INFO] 4 errors
> {noformat}
> Sample output {{2.3.2}}:
> {noformat}
> [INFO] -------------------------------------------------------------
> [WARNING] COMPILATION WARNING :
> [INFO] -------------------------------------------------------------
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
> [unchecked] unchecked conversion
> found   : java.util.List
> required: java.util.List<java.lang.String>
> [INFO] 3 warnings
> [INFO] -------------------------------------------------------------
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
> getList() in de.maybebuggy.sample.Main cannot be applied to (int)
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> {noformat}
> With the current behavior it is extremely hard to spot the error if there are multiple warnings in a project.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MCOMPILER-179) Warnings

Posted by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MCOMPILER-179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=308479#comment-308479 ] 

Kristian Rosenvold commented on MCOMPILER-179:
----------------------------------------------

Sorry, that's what I get for fixing a bug when a number of IT's were already failing. I'll look into it.
                
> Warnings 
> ---------
>
>                 Key: MCOMPILER-179
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-179
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4, 2.5, 2.5.1
>         Environment: Windows7, 64-bit
> VMs, 1.6.0_32 and 1.7.0_04 both 64-bit
>            Reporter: Sascha Vogt
>            Assignee: Kristian Rosenvold
>             Fix For: 2.6
>
>
> If one error occurs, all warnings are shown as error as well. Up to {{2.3.2}} this was not the case. Sample output {{2.4}} and higher:
> {noformat}
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] bad path element "": no such file or directory
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
> [unchecked] unchecked conversion
> found   : java.util.List
> required: java.util.List<java.lang.String>
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
> getList() in de.maybebuggy.sample.Main cannot be applied to (int)
> [INFO] 4 errors
> {noformat}
> Sample output {{2.3.2}}:
> {noformat}
> [INFO] -------------------------------------------------------------
> [WARNING] COMPILATION WARNING :
> [INFO] -------------------------------------------------------------
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
> [unchecked] unchecked conversion
> found   : java.util.List
> required: java.util.List<java.lang.String>
> [INFO] 3 warnings
> [INFO] -------------------------------------------------------------
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
> getList() in de.maybebuggy.sample.Main cannot be applied to (int)
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> {noformat}
> With the current behavior it is extremely hard to spot the error if there are multiple warnings in a project.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MCOMPILER-179) Warnings

Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MCOMPILER-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte updated MCOMPILER-179:
-------------------------------------

    Description: 
If one error occurs, all warnings are shown as error as well. Up to {{2.3.2}} this was not the case. Sample output {{2.4}} and higher:
{noformat}
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] bad path element "": no such file or directory
C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
[unchecked] unchecked call to add(E) as a member of the raw type
java.util.List
[ERROR]
C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
[unchecked] unchecked call to add(E) as a member of the raw type
java.util.List
[ERROR]
C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
[unchecked] unchecked conversion
found   : java.util.List
required: java.util.List<java.lang.String>
[ERROR]
C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
getList() in de.maybebuggy.sample.Main cannot be applied to (int)
[INFO] 4 errors
{noformat}

Sample output {{2.3.2}}:
{noformat}
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING]
\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
[unchecked] unchecked call to add(E) as a member of the raw type
java.util.List
[WARNING]
\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
[unchecked] unchecked call to add(E) as a member of the raw type
java.util.List
[WARNING]
\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
[unchecked] unchecked conversion
found   : java.util.List
required: java.util.List<java.lang.String>
[INFO] 3 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
getList() in de.maybebuggy.sample.Main cannot be applied to (int)
[INFO] 1 error
[INFO] -------------------------------------------------------------
{noformat}

With the current behavior it is extremely hard to spot the error if there are multiple warnings in a project.

  was:
If one error occurs, all warnings are shown as error as well. Up to 2.3.2 this was not the case. Sample output 2.4 and higher:
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] bad path element "": no such file or directory
C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
[unchecked] unchecked call to add(E) as a member of the raw type
java.util.List
[ERROR]
C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
[unchecked] unchecked call to add(E) as a member of the raw type
java.util.List
[ERROR]
C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
[unchecked] unchecked conversion
found   : java.util.List
required: java.util.List<java.lang.String>
[ERROR]
C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
getList() in de.maybebuggy.sample.Main cannot be applied to (int)
[INFO] 4 errors

Sample output 2.3.2:
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING]
\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
[unchecked] unchecked call to add(E) as a member of the raw type
java.util.List
[WARNING]
\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
[unchecked] unchecked call to add(E) as a member of the raw type
java.util.List
[WARNING]
\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
[unchecked] unchecked conversion
found   : java.util.List
required: java.util.List<java.lang.String>
[INFO] 3 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
getList() in de.maybebuggy.sample.Main cannot be applied to (int)
[INFO] 1 error
[INFO] -------------------------------------------------------------

With the current behavior it is extremely hard to spot the error if there are multiple warnings in a project.

    
> Warnings 
> ---------
>
>                 Key: MCOMPILER-179
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-179
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4, 2.5, 2.5.1
>         Environment: Windows7, 64-bit
> VMs, 1.6.0_32 and 1.7.0_04 both 64-bit
>            Reporter: Sascha Vogt
>            Assignee: Kristian Rosenvold
>             Fix For: 2.6
>
>
> If one error occurs, all warnings are shown as error as well. Up to {{2.3.2}} this was not the case. Sample output {{2.4}} and higher:
> {noformat}
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] bad path element "": no such file or directory
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
> [unchecked] unchecked conversion
> found   : java.util.List
> required: java.util.List<java.lang.String>
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
> getList() in de.maybebuggy.sample.Main cannot be applied to (int)
> [INFO] 4 errors
> {noformat}
> Sample output {{2.3.2}}:
> {noformat}
> [INFO] -------------------------------------------------------------
> [WARNING] COMPILATION WARNING :
> [INFO] -------------------------------------------------------------
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
> [unchecked] unchecked conversion
> found   : java.util.List
> required: java.util.List<java.lang.String>
> [INFO] 3 warnings
> [INFO] -------------------------------------------------------------
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
> getList() in de.maybebuggy.sample.Main cannot be applied to (int)
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> {noformat}
> With the current behavior it is extremely hard to spot the error if there are multiple warnings in a project.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MCOMPILER-179) Warnings

Posted by "Anders Hammar (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MCOMPILER-179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=313208#comment-313208 ] 

Anders Hammar commented on MCOMPILER-179:
-----------------------------------------

IT added in http://svn.apache.org/r1407250
                
> Warnings 
> ---------
>
>                 Key: MCOMPILER-179
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-179
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4, 2.5, 2.5.1
>         Environment: Windows7, 64-bit
> VMs, 1.6.0_32 and 1.7.0_04 both 64-bit
>            Reporter: Sascha Vogt
>            Assignee: Anders Hammar
>             Fix For: 3.0
>
>
> If one error occurs, all warnings are shown as error as well. Up to {{2.3.2}} this was not the case. Sample output {{2.4}} and higher:
> {noformat}
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] bad path element "": no such file or directory
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
> [unchecked] unchecked conversion
> found   : java.util.List
> required: java.util.List<java.lang.String>
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
> getList() in de.maybebuggy.sample.Main cannot be applied to (int)
> [INFO] 4 errors
> {noformat}
> Sample output {{2.3.2}}:
> {noformat}
> [INFO] -------------------------------------------------------------
> [WARNING] COMPILATION WARNING :
> [INFO] -------------------------------------------------------------
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
> [unchecked] unchecked conversion
> found   : java.util.List
> required: java.util.List<java.lang.String>
> [INFO] 3 warnings
> [INFO] -------------------------------------------------------------
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
> getList() in de.maybebuggy.sample.Main cannot be applied to (int)
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> {noformat}
> With the current behavior it is extremely hard to spot the error if there are multiple warnings in a project.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MCOMPILER-179) Warnings

Posted by "Anders Hammar (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MCOMPILER-179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=311209#comment-311209 ] 

Anders Hammar commented on MCOMPILER-179:
-----------------------------------------

I believe that my fix on plexus-compiler for MCOMPILER-160 also fixes the problem with the IT for MCOMPILER-120. BUT, it's a band-aid fix of the code not being able to parse things correctly.
                
> Warnings 
> ---------
>
>                 Key: MCOMPILER-179
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-179
>             Project: Maven 2.x Compiler Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4, 2.5, 2.5.1
>         Environment: Windows7, 64-bit
> VMs, 1.6.0_32 and 1.7.0_04 both 64-bit
>            Reporter: Sascha Vogt
>            Assignee: Kristian Rosenvold
>             Fix For: 2.6
>
>
> If one error occurs, all warnings are shown as error as well. Up to {{2.3.2}} this was not the case. Sample output {{2.4}} and higher:
> {noformat}
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] bad path element "": no such file or directory
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
> [unchecked] unchecked conversion
> found   : java.util.List
> required: java.util.List<java.lang.String>
> [ERROR]
> C:\dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
> getList() in de.maybebuggy.sample.Main cannot be applied to (int)
> [INFO] 4 errors
> {noformat}
> Sample output {{2.3.2}}:
> {noformat}
> [INFO] -------------------------------------------------------------
> [WARNING] COMPILATION WARNING :
> [INFO] -------------------------------------------------------------
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[19,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[20,18]
> [unchecked] unchecked call to add(E) as a member of the raw type
> java.util.List
> [WARNING]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[24,15]
> [unchecked] unchecked conversion
> found   : java.util.List
> required: java.util.List<java.lang.String>
> [INFO] 3 warnings
> [INFO] -------------------------------------------------------------
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR]
> \dev-tmp\sample\src\main\java\de\maybebuggy\sample\Main.java:[29,29]
> getList() in de.maybebuggy.sample.Main cannot be applied to (int)
> [INFO] 1 error
> [INFO] -------------------------------------------------------------
> {noformat}
> With the current behavior it is extremely hard to spot the error if there are multiple warnings in a project.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira