gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GORA-429) Implement Maven forbidden-apis plugin in Gora
Date Tue, 01 Sep 2015 13:47:46 GMT

    [ https://issues.apache.org/jira/browse/GORA-429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14725421#comment-14725421

Lewis John McGibbney commented on GORA-429:

I've got you. The forbidden api plugin states that exceptions should be
bubbled up to the top (I think in other words Thrown). I think I can use
LOG.error(e.getMessage) as this returns a String whereas e.printStackTrace
has return value of void.
I'll try it out and also scan remainder of patch for similar patterns.
Thanks Renato

On Tuesday, September 1, 2015, ASF GitHub Bot (JIRA) <jira@apache.org>


> Implement Maven forbidden-apis plugin in Gora
> ---------------------------------------------
>                 Key: GORA-429
>                 URL: https://issues.apache.org/jira/browse/GORA-429
>             Project: Apache Gora
>          Issue Type: Improvement
>          Components: build process
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>             Fix For: 0.6.1
> The [forbidden-apis Maven plugin|https://github.com/policeman-tools/forbidden-apis] allow
us to parse Java byte code to find invocations of method/class/field signatures and fail build

This message was sent by Atlassian JIRA

View raw message