You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Flavio Junqueira (JIRA)" <ji...@apache.org> on 2012/06/04 23:39:23 UTC

[jira] [Created] (BOOKKEEPER-286) Compilation warning

Flavio Junqueira created BOOKKEEPER-286:
-------------------------------------------

             Summary: Compilation warning
                 Key: BOOKKEEPER-286
                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-286
             Project: Bookkeeper
          Issue Type: Bug
    Affects Versions: 4.0.0
            Reporter: Flavio Junqueira
             Fix For: 4.1.0, 4.2.0


I'm getting the following warning when building the project:

{noformat}
:hedwig-server fpj$ mvn clean
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.apache.bookkeeper:hedwig-server:jar:4.2.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:findbugs-maven-plugin is missing. @ line 140, column 15
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
{noformat}

Note that this is only for hedwig-server.

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

        

[jira] [Assigned] (BOOKKEEPER-286) Compilation warning

Posted by "Sijie Guo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BOOKKEEPER-286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sijie Guo reassigned BOOKKEEPER-286:
------------------------------------

    Assignee: Ivan Kelly
    
> Compilation warning
> -------------------
>
>                 Key: BOOKKEEPER-286
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-286
>             Project: Bookkeeper
>          Issue Type: Bug
>    Affects Versions: 4.1.0
>            Reporter: Flavio Junqueira
>            Assignee: Ivan Kelly
>             Fix For: 4.1.0, 4.2.0
>
>         Attachments: BOOKKEEPER-286.diff
>
>
> I'm getting the following warning when building the project:
> {noformat}
> :hedwig-server fpj$ mvn clean
> [INFO] Scanning for projects...
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.bookkeeper:hedwig-server:jar:4.2.0-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:findbugs-maven-plugin is missing. @ line 140, column 15
> [WARNING] 
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> [WARNING] 
> [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
> [WARNING] 
> {noformat}
> Note that this is only for hedwig-server.

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

        

[jira] [Commented] (BOOKKEEPER-286) Compilation warning

Posted by "Flavio Junqueira (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BOOKKEEPER-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13289304#comment-13289304 ] 

Flavio Junqueira commented on BOOKKEEPER-286:
---------------------------------------------

+1, works fine for me.
                
> Compilation warning
> -------------------
>
>                 Key: BOOKKEEPER-286
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-286
>             Project: Bookkeeper
>          Issue Type: Bug
>    Affects Versions: 4.1.0
>            Reporter: Flavio Junqueira
>             Fix For: 4.1.0, 4.2.0
>
>         Attachments: BOOKKEEPER-286.diff
>
>
> I'm getting the following warning when building the project:
> {noformat}
> :hedwig-server fpj$ mvn clean
> [INFO] Scanning for projects...
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.bookkeeper:hedwig-server:jar:4.2.0-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:findbugs-maven-plugin is missing. @ line 140, column 15
> [WARNING] 
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> [WARNING] 
> [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
> [WARNING] 
> {noformat}
> Note that this is only for hedwig-server.

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

        

[jira] [Commented] (BOOKKEEPER-286) Compilation warning

Posted by "Sijie Guo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BOOKKEEPER-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13289319#comment-13289319 ] 

Sijie Guo commented on BOOKKEEPER-286:
--------------------------------------

thanks Ivan for clarification. +1 for the patch.
                
> Compilation warning
> -------------------
>
>                 Key: BOOKKEEPER-286
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-286
>             Project: Bookkeeper
>          Issue Type: Bug
>    Affects Versions: 4.1.0
>            Reporter: Flavio Junqueira
>             Fix For: 4.1.0, 4.2.0
>
>         Attachments: BOOKKEEPER-286.diff
>
>
> I'm getting the following warning when building the project:
> {noformat}
> :hedwig-server fpj$ mvn clean
> [INFO] Scanning for projects...
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.bookkeeper:hedwig-server:jar:4.2.0-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:findbugs-maven-plugin is missing. @ line 140, column 15
> [WARNING] 
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> [WARNING] 
> [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
> [WARNING] 
> {noformat}
> Note that this is only for hedwig-server.

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

        

[jira] [Commented] (BOOKKEEPER-286) Compilation warning

Posted by "Ivan Kelly (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BOOKKEEPER-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13289316#comment-13289316 ] 

Ivan Kelly commented on BOOKKEEPER-286:
---------------------------------------

To clarify, what i did here wasn't to bump the version from 2.1 to 2.3.2. The specification of 2.1 was in the reporting section of the pom, so it was never being picked up anyhow. Because of this it was picking up the highest available on the machine, which was 2.3.2 when i was fixing the findbugs errors previously. As such, i've specified 2.3.2 as the used version of findbugs. 
                
> Compilation warning
> -------------------
>
>                 Key: BOOKKEEPER-286
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-286
>             Project: Bookkeeper
>          Issue Type: Bug
>    Affects Versions: 4.1.0
>            Reporter: Flavio Junqueira
>             Fix For: 4.1.0, 4.2.0
>
>         Attachments: BOOKKEEPER-286.diff
>
>
> I'm getting the following warning when building the project:
> {noformat}
> :hedwig-server fpj$ mvn clean
> [INFO] Scanning for projects...
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.bookkeeper:hedwig-server:jar:4.2.0-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:findbugs-maven-plugin is missing. @ line 140, column 15
> [WARNING] 
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> [WARNING] 
> [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
> [WARNING] 
> {noformat}
> Note that this is only for hedwig-server.

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

        

[jira] [Updated] (BOOKKEEPER-286) Compilation warning

Posted by "Ivan Kelly (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BOOKKEEPER-286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan Kelly updated BOOKKEEPER-286:
----------------------------------

    Attachment: BOOKKEEPER-286.diff
    
> Compilation warning
> -------------------
>
>                 Key: BOOKKEEPER-286
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-286
>             Project: Bookkeeper
>          Issue Type: Bug
>    Affects Versions: 4.1.0
>            Reporter: Flavio Junqueira
>             Fix For: 4.1.0, 4.2.0
>
>         Attachments: BOOKKEEPER-286.diff
>
>
> I'm getting the following warning when building the project:
> {noformat}
> :hedwig-server fpj$ mvn clean
> [INFO] Scanning for projects...
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.bookkeeper:hedwig-server:jar:4.2.0-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:findbugs-maven-plugin is missing. @ line 140, column 15
> [WARNING] 
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> [WARNING] 
> [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
> [WARNING] 
> {noformat}
> Note that this is only for hedwig-server.

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

        

[jira] [Commented] (BOOKKEEPER-286) Compilation warning

Posted by "Ivan Kelly (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BOOKKEEPER-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13289317#comment-13289317 ] 

Ivan Kelly commented on BOOKKEEPER-286:
---------------------------------------

2.5 adds some warning around style and i18n, we can fix these in 4.2 if we want, but it's a lot of little changes for very little benefit, so we shouldn't do it for 4.1
                
> Compilation warning
> -------------------
>
>                 Key: BOOKKEEPER-286
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-286
>             Project: Bookkeeper
>          Issue Type: Bug
>    Affects Versions: 4.1.0
>            Reporter: Flavio Junqueira
>             Fix For: 4.1.0, 4.2.0
>
>         Attachments: BOOKKEEPER-286.diff
>
>
> I'm getting the following warning when building the project:
> {noformat}
> :hedwig-server fpj$ mvn clean
> [INFO] Scanning for projects...
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.bookkeeper:hedwig-server:jar:4.2.0-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:findbugs-maven-plugin is missing. @ line 140, column 15
> [WARNING] 
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> [WARNING] 
> [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
> [WARNING] 
> {noformat}
> Note that this is only for hedwig-server.

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

        

[jira] [Commented] (BOOKKEEPER-286) Compilation warning

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BOOKKEEPER-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13289339#comment-13289339 ] 

Hudson commented on BOOKKEEPER-286:
-----------------------------------

Integrated in bookkeeper-trunk #546 (See [https://builds.apache.org/job/bookkeeper-trunk/546/])
    BOOKKEEPER-286: Compilation warning (ivank via sijie) (Revision 1346340)

     Result = UNSTABLE
sijie : 
Files : 
* /zookeeper/bookkeeper/trunk/CHANGES.txt
* /zookeeper/bookkeeper/trunk/pom.xml

                
> Compilation warning
> -------------------
>
>                 Key: BOOKKEEPER-286
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-286
>             Project: Bookkeeper
>          Issue Type: Bug
>    Affects Versions: 4.1.0
>            Reporter: Flavio Junqueira
>            Assignee: Ivan Kelly
>             Fix For: 4.1.0, 4.2.0
>
>         Attachments: BOOKKEEPER-286.diff
>
>
> I'm getting the following warning when building the project:
> {noformat}
> :hedwig-server fpj$ mvn clean
> [INFO] Scanning for projects...
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.bookkeeper:hedwig-server:jar:4.2.0-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:findbugs-maven-plugin is missing. @ line 140, column 15
> [WARNING] 
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> [WARNING] 
> [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
> [WARNING] 
> {noformat}
> Note that this is only for hedwig-server.

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

        

[jira] [Commented] (BOOKKEEPER-286) Compilation warning

Posted by "Sijie Guo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BOOKKEEPER-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13289320#comment-13289320 ] 

Sijie Guo commented on BOOKKEEPER-286:
--------------------------------------

since we had two +1 on it, I would commit it.
                
> Compilation warning
> -------------------
>
>                 Key: BOOKKEEPER-286
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-286
>             Project: Bookkeeper
>          Issue Type: Bug
>    Affects Versions: 4.1.0
>            Reporter: Flavio Junqueira
>             Fix For: 4.1.0, 4.2.0
>
>         Attachments: BOOKKEEPER-286.diff
>
>
> I'm getting the following warning when building the project:
> {noformat}
> :hedwig-server fpj$ mvn clean
> [INFO] Scanning for projects...
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.bookkeeper:hedwig-server:jar:4.2.0-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:findbugs-maven-plugin is missing. @ line 140, column 15
> [WARNING] 
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> [WARNING] 
> [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
> [WARNING] 
> {noformat}
> Note that this is only for hedwig-server.

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

        

[jira] [Commented] (BOOKKEEPER-286) Compilation warning

Posted by "Flavio Junqueira (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BOOKKEEPER-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13288928#comment-13288928 ] 

Flavio Junqueira commented on BOOKKEEPER-286:
---------------------------------------------

A solution is simply to add a version like this to hedwig-server/pom.xml:

{noformat}
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>findbugs-maven-plugin</artifactId>
        <version>2.5</version>
        <configuration>
          <excludeFilterFile>${basedir}/src/main/resources/findbugsExclude.xml</excludeFilterFile>
        </configuration>
      </plugin>
{noformat}

But, given that we have it in the top-level pom.xml, I'm not sure why we have it again in the pom file of hedwig-server. Should we simply delete the plugin description in hedwig-server/pom.xml? Should we bump the plugin version to 2.5 (it is current 2.1 in the top-level pom)?


                
> Compilation warning
> -------------------
>
>                 Key: BOOKKEEPER-286
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-286
>             Project: Bookkeeper
>          Issue Type: Bug
>    Affects Versions: 4.0.0
>            Reporter: Flavio Junqueira
>             Fix For: 4.1.0, 4.2.0
>
>
> I'm getting the following warning when building the project:
> {noformat}
> :hedwig-server fpj$ mvn clean
> [INFO] Scanning for projects...
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.apache.bookkeeper:hedwig-server:jar:4.2.0-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:findbugs-maven-plugin is missing. @ line 140, column 15
> [WARNING] 
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> [WARNING] 
> [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
> [WARNING] 
> {noformat}
> Note that this is only for hedwig-server.

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