accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-3720) Add apilyzer-maven-plugin to the build to check for API problems
Date Wed, 22 Apr 2015 17:29:59 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-3720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14507488#comment-14507488
] 

Christopher Tubbs commented on ACCUMULO-3720:
---------------------------------------------

The report is generated automatically during the {{verify}} phase of the build lifecycle in
{{target/apilyzer.txt}} for the {{core}} and {{minicluster}} modules. If something is added
to the API which creates a problem that apilyzer can detect, it will fail the build, with
an error message pointing to the report in the target directory.

On the command-line, specifying {{-Dapilyzer.ignoreProblems}} will cause the build to continue
even with detected API problems (the report is still generated), and {{-Dapilyzer.skip}} will
skip execution of the plugin entirely (the report is not generated).

> Add apilyzer-maven-plugin to the build to check for API problems
> ----------------------------------------------------------------
>
>                 Key: ACCUMULO-3720
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3720
>             Project: Accumulo
>          Issue Type: Sub-task
>          Components: build
>            Reporter: Christopher Tubbs
>            Assignee: Christopher Tubbs
>             Fix For: 1.7.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> [apilyzer-maven-plugin|http://apilyzer.revelc.net/analyze-mojo.html] has just been released,
and can check for the kinds of API problems described in ACCUMULO-3657. We should configure
it to run by default in the build, at the very least to create the report, if not to fail
the build when it finds an unexpected problem.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message