{"action":"created","issue":{"url":"https://api.github.com/repos/jeremylong/dependency-check-gradle/issues/84","repository_url":"https://api.github.com/repos/jeremylong/dependency-check-gradle","labels_url":"https://api.github.com/repos/jeremylong/dependency-check-gradle/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/jeremylong/dependency-check-gradle/issues/84/comments","events_url":"https://api.github.com/repos/jeremylong/dependency-check-gradle/issues/84/events","html_url":"https://github.com/jeremylong/dependency-check-gradle/issues/84","id":327872863,"node_id":"MDU6SXNzdWUzMjc4NzI4NjM=","number":84,"title":"Aggregate report","user":{"login":"adeline-chew-sp","id":10201631,"node_id":"MDQ6VXNlcjEwMjAxNjMx","avatar_url":"https://avatars0.githubusercontent.com/u/10201631?v=4","gravatar_id":"","url":"https://api.github.com/users/adeline-chew-sp","html_url":"https://github.com/adeline-chew-sp","followers_url":"https://api.github.com/users/adeline-chew-sp/followers","following_url":"https://api.github.com/users/adeline-chew-sp/following{/other_user}","gists_url":"https://api.github.com/users/adeline-chew-sp/gists{/gist_id}","starred_url":"https://api.github.com/users/adeline-chew-sp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adeline-chew-sp/subscriptions","organizations_url":"https://api.github.com/users/adeline-chew-sp/orgs","repos_url":"https://api.github.com/users/adeline-chew-sp/repos","events_url":"https://api.github.com/users/adeline-chew-sp/events{/privacy}","received_events_url":"https://api.github.com/users/adeline-chew-sp/received_events","type":"User","site_admin":false},"labels":[{"id":292350327,"node_id":"MDU6TGFiZWwyOTIzNTAzMjc=","url":"https://api.github.com/repos/jeremylong/dependency-check-gradle/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-30T19:45:31Z","updated_at":"2018-05-31T14:36:48Z","closed_at":null,"author_association":"NONE","body":"Hi Jeremy, I'm trying to build a project using the Gradle plugin. However, I ran into an issue where a plugin isn't properly installed:\r\nConfiguration:\r\n```\r\nbuildscript {\r\n    dependencies {\r\n\t\tclasspath \"nl.eveoh:gradle-aspectj:1.6\"\r\n\t\tclasspath \"org.owasp:dependency-check-gradle:3.2.1\"\r\n\t}\r\n}\r\n...\r\nsubprojects {\r\n    ...\r\n    apply plugin: 'org.owasp.dependencycheck\r\n}\r\n```\r\n\r\nWhen I execute `./gradlew clean build install`, jacoco was installed successfully. However when this is executed `./gradlew dependencyCheckAnalyze --debug`, it can't seem to download jacoco:\r\n```\r\n14:39:35.314 [DEBUG] [org.gradle.internal.progress.DefaultBuildOperationExecutor] Build operation 'Resolve dependencies of :jacocoAgent' started\r\n14:39:35.314 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultArtifactDependencyResolver] Resolving configuration ':jacocoAgent'\r\n14:39:35.317 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.DependencyGraphBuilder] Visiting configuration :ADDY-dependency-check-atlas:unspecified(jacocoAgent).\r\n14:39:35.319 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.oldresult.TransientConfigurationResultsBuilder] Flushing resolved configuration data in Binary store in /tmp/gradle6182857096127264388.bin. Wrote root 2.\r\n14:39:35.321 [DEBUG] [org.gradle.internal.progress.DefaultBuildOperationExecutor] Completing Build operation 'Resolve dependencies of :jacocoAgent'\r\n14:39:35.321 [DEBUG] [org.gradle.internal.progress.DefaultBuildOperationExecutor] Build operation 'Resolve dependencies of :jacocoAgent' completed\r\n14:39:35.322 [DEBUG] [org.gradle.internal.progress.DefaultBuildOperationExecutor] Completing Build operation 'Execute task action 1/1 for :dependencyCheckAnalyze'\r\n14:39:35.322 [DEBUG] [org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter] Removed task artifact state for {} from context.\r\n14:39:35.322 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ':dependencyCheckAnalyze'\r\n14:39:35.323 [LIFECYCLE] [class org.gradle.internal.buildevents.TaskExecutionLogger] :dependencyCheckAnalyze FAILED\r\n14:39:35.323 [DEBUG] [org.gradle.internal.progress.DefaultBuildOperationExecutor] Completing Build operation 'Task :dependencyCheckAnalyze'\r\n14:39:35.323 [DEBUG] [org.gradle.internal.progress.DefaultBuildOperationExecutor] Build operation 'Task :dependencyCheckAnalyze' completed\r\n14:39:35.324 [INFO] [org.gradle.execution.taskgraph.DefaultTaskPlanExecutor] :dependencyCheckAnalyze (Thread[Daemon worker,5,main]) completed. Took 0.192 secs.\r\n14:39:35.324 [DEBUG] [org.gradle.internal.work.DefaultWorkerLeaseService] Worker lease root.1.5 completed (1 worker(s) in use)\r\n14:39:35.324 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Daemon worker: released lock on root.1.5\r\n14:39:35.324 [DEBUG] [org.gradle.internal.resources.AbstractTrackedResourceLock] Daemon worker: released lock on :\r\n14:39:35.324 [DEBUG] [org.gradle.execution.taskgraph.DefaultTaskPlanExecutor] Task worker [Thread[Daemon worker,5,main]] finished, busy: 0.192 secs, idle: 0.004 secs\r\n14:39:35.324 [DEBUG] [org.gradle.execution.taskgraph.DefaultTaskPlanExecutor] Task worker [Thread[Task worker for ':',5,main]] finished, busy: 0.0 secs, idle: 0.188 secs\r\n14:39:35.325 [DEBUG] [org.gradle.internal.progress.DefaultBuildOperationExecutor] Completing Build operation 'Run tasks'\r\n14:39:35.334 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] \r\n14:39:35.334 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.\r\n14:39:35.334 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] \r\n14:39:35.334 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:\r\n14:39:35.334 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Execution failed for task ':dependencyCheckAnalyze'.\r\n14:39:35.334 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Could not resolve all dependencies for configuration ':jacocoAgent'.\r\n14:39:35.334 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]    > Cannot resolve external dependency org.jacoco:org.jacoco.agent:0.7.8 because no repositories are defined.\r\n14:39:35.334 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]      Required by:\r\n14:39:35.334 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]          project :\r\n14:39:35.334 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] \r\n14:39:35.334 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try:\r\n14:39:35.334 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Run with --stacktrace option to get the stack trace. \r\n14:39:35.335 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] \r\n14:39:35.335 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Get more help at https://help.gradle.org\r\n14:39:35.335 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger] \r\n14:39:35.335 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger] BUILD FAILED in 6s\r\n```\r\n\r\n\r\nQuestion - Each module has its own report, is there an aggregated report? Dependency-Track can only ingest one report at a time https://github.com/stevespringett/dependency-track/issues/158\r\nI can't seem to get all the reports for a repo."},"comment":{"url":"https://api.github.com/repos/jeremylong/dependency-check-gradle/issues/comments/393551596","html_url":"https://github.com/jeremylong/dependency-check-gradle/issues/84#issuecomment-393551596","issue_url":"https://api.github.com/repos/jeremylong/dependency-check-gradle/issues/84","id":393551596,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzU1MTU5Ng==","user":{"login":"adeline-chew-sp","id":10201631,"node_id":"MDQ6VXNlcjEwMjAxNjMx","avatar_url":"https://avatars0.githubusercontent.com/u/10201631?v=4","gravatar_id":"","url":"https://api.github.com/users/adeline-chew-sp","html_url":"https://github.com/adeline-chew-sp","followers_url":"https://api.github.com/users/adeline-chew-sp/followers","following_url":"https://api.github.com/users/adeline-chew-sp/following{/other_user}","gists_url":"https://api.github.com/users/adeline-chew-sp/gists{/gist_id}","starred_url":"https://api.github.com/users/adeline-chew-sp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adeline-chew-sp/subscriptions","organizations_url":"https://api.github.com/users/adeline-chew-sp/orgs","repos_url":"https://api.github.com/users/adeline-chew-sp/repos","events_url":"https://api.github.com/users/adeline-chew-sp/events{/privacy}","received_events_url":"https://api.github.com/users/adeline-chew-sp/received_events","type":"User","site_admin":false},"created_at":"2018-05-31T14:36:48Z","updated_at":"2018-05-31T14:36:48Z","author_association":"NONE","body":"Ah, perfect. Thank you for the prompt responses to both! :)"}}
{"actor":{"display_login":"adeline-chew-sp"}}