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:45:23 UTC

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

    [ 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