[
https://issues.apache.org/jira/browse/SAMZA-95?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13961944#comment-13961944
]
Chris Riccomini commented on SAMZA-95:
--------------------------------------
Is it possible to force jacocoTestReport to depend on test, so that we don't
need to remember to run test beforehand? I think you can do this in gradle with
some form of dependsOn().
> Gradle projectReport fails with jacocoTestRepo issue
> ----------------------------------------------------
>
> Key: SAMZA-95
> URL: https://issues.apache.org/jira/browse/SAMZA-95
> Project: Samza
> Issue Type: Bug
> Components: build
> Reporter: Jakob Homan
> Assignee: Steve Yates
> Priority: Minor
> Fix For: 0.7.0
>
> Attachments: SAMZA-95.diff, SAMZA-95.diff
>
>
> {noformat}[jhoman@jhoman-ld samza]$ ./gradlew projectReport
> The TaskContainer.add() method has been deprecated and is scheduled to be
> removed in Gradle 2.0. Please use the create() method instead.
> :samza-api:dependencyReport UP-TO-DATE
> :samza-api:propertyReport UP-TO-DATE
> :samza-api:taskReport
> :samza-api:projectReport
> :samza-core_2.9.2:dependencyReport
> :samza-core_2.9.2:propertyReport
> :samza-core_2.9.2:taskReport FAILED
> FAILURE: Build failed with an exception.
> * What went wrong:
> Execution failed for task ':samza-core_2.9.2:taskReport'.
> > Could not determine the dependencies of task
> > ':samza-core_2.9.2:jacocoTestReport'.
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or
> --debug option to get more log output.
> BUILD FAILED{noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)