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

Zameer Manji commented on AURORA-1566:
--------------------------------------

I can reproduce on my machine as well:
{noformat}
:pmdMain
/Users/zmanji/code/aurora/src/main/java/org/apache/aurora/scheduler/app/SchedulerMain.java:224:
 Avoid unused private methods such as 'exit(String,Exception)'.
/Users/zmanji/code/aurora/src/main/java/org/apache/aurora/scheduler/cron/quartz/CronLifecycle.java:76:
  Avoid unused private methods such as 
'logLaunchFailure(IJobConfiguration,Exception)'.
/Users/zmanji/code/aurora/src/main/java/org/apache/aurora/scheduler/thrift/aop/AopModule.java:114:
      Avoid unused private methods such as 
'bindThriftDecorator(MethodInterceptor)'.
:pmdMain FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':pmdMain'.
> 3 PMD rule violations were found. See the report at: 
> file:///Users/zmanji/code/aurora/dist/reports/pmd/main.html

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output.

BUILD FAILED

Total time: 4 mins 30.096 secs
{noformat}

If I bump gradle to 2.10 and drop the pmd version to '5.3.5' I also get the 
false positives. I'm starting to think that this is a gradle issue and I'll 
follow up with filing a gradle bug.

> Upgrade to Gradle 2.10
> ----------------------
>
>                 Key: AURORA-1566
>                 URL: https://issues.apache.org/jira/browse/AURORA-1566
>             Project: Aurora
>          Issue Type: Task
>            Reporter: Zameer Manji
>            Priority: Minor
>              Labels: newbie
>
> We are on Gradle 2.7 but Gradle 2.10 was just released: 
> https://docs.gradle.org/2.10/release-notes
> We should upgrade to the latest version to pick up performance upgrades to 
> speed up build times.
> As a reminder, doing this requires upgrading the aurora repo as well as the 
> aurora-packaging repo.



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

Reply via email to