{"action":"created","issue":{"url":"https://api.github.com/repos/jeremylong/DependencyCheck/issues/1476","repository_url":"https://api.github.com/repos/jeremylong/DependencyCheck","labels_url":"https://api.github.com/repos/jeremylong/DependencyCheck/issues/1476/labels{/name}","comments_url":"https://api.github.com/repos/jeremylong/DependencyCheck/issues/1476/comments","events_url":"https://api.github.com/repos/jeremylong/DependencyCheck/issues/1476/events","html_url":"https://github.com/jeremylong/DependencyCheck/issues/1476","id":356073201,"node_id":"MDU6SXNzdWUzNTYwNzMyMDE=","number":1476,"title":"Dependency check plugin version 3.3.1 with maven 3.3.9 ( getting error A type incompatibility occured while executing org.owasp:dependency-check-maven:3.3.1:check: org.sonatype.aether.util.DefaultRepositorySystemSession cannot be cast to org.eclipse.aether.RepositorySystemSession)","user":{"login":"Vinod98","id":42875395,"node_id":"MDQ6VXNlcjQyODc1Mzk1","avatar_url":"https://avatars2.githubusercontent.com/u/42875395?v=4","gravatar_id":"","url":"https://api.github.com/users/Vinod98","html_url":"https://github.com/Vinod98","followers_url":"https://api.github.com/users/Vinod98/followers","following_url":"https://api.github.com/users/Vinod98/following{/other_user}","gists_url":"https://api.github.com/users/Vinod98/gists{/gist_id}","starred_url":"https://api.github.com/users/Vinod98/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vinod98/subscriptions","organizations_url":"https://api.github.com/users/Vinod98/orgs","repos_url":"https://api.github.com/users/Vinod98/repos","events_url":"https://api.github.com/users/Vinod98/events{/privacy}","received_events_url":"https://api.github.com/users/Vinod98/received_events","type":"User","site_admin":false},"labels":[{"id":13090908,"node_id":"MDU6TGFiZWwxMzA5MDkwOA==","url":"https://api.github.com/repos/jeremylong/DependencyCheck/labels/bug","name":"bug","color":"fc2929","default":true},{"id":168886085,"node_id":"MDU6TGFiZWwxNjg4ODYwODU=","url":"https://api.github.com/repos/jeremylong/DependencyCheck/labels/pending%20more%20information","name":"pending more information","color":"fbca04","default":false},{"id":143661012,"node_id":"MDU6TGFiZWwxNDM2NjEwMTI=","url":"https://api.github.com/repos/jeremylong/DependencyCheck/labels/unreproducible","name":"unreproducible","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-31T17:57:52Z","updated_at":"2018-10-18T06:32:20Z","closed_at":null,"author_association":"NONE","body":"[INFO] ------------------------------------------------------------------------\r\n[ERROR] Failed to execute goal org.owasp:dependency-check-maven:3.3.1:check (default) on project McrMaven: A type incompatibility occured while executing org.owasp:dependency-check-maven:3.3.1:check: org.sonatype.aether.util.DefaultRepositorySystemSession cannot be cast to org.eclipse.aether.RepositorySystemSession\r\n[ERROR] -----------------------------------------------------\r\n[ERROR] realm =    plugin>org.owasp:dependency-check-maven:3.3.1\r\n[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy\r\n[ERROR] urls[0] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/owasp/dependency-check-maven/3.3.1/dependency-check-maven-3.3.1.jar\r\n[ERROR] urls[1] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/owasp/dependency-check-core/3.3.1/dependency-check-core-3.3.1.jar\r\n[ERROR] urls[2] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/com/vdurmont/semver4j/2.2.0/semver4j-2.2.0.jar\r\n[ERROR] urls[3] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/joda-time/joda-time/1.6/joda-time-1.6.jar\r\n[ERROR] urls[4] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar\r\n[ERROR] urls[5] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/apache/commons/commons-compress/1.17/commons-compress-1.17.jar\r\n[ERROR] urls[6] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/commons-io/commons-io/2.6/commons-io-2.6.jar\r\n[ERROR] urls[7] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/apache/commons/commons-lang3/3.7/commons-lang3-3.7.jar\r\n[ERROR] urls[8] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/apache/commons/commons-text/1.3/commons-text-1.3.jar\r\n[ERROR] urls[9] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/apache/lucene/lucene-core/5.5.5/lucene-core-5.5.5.jar\r\n[ERROR] urls[10] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/apache/lucene/lucene-analyzers-common/5.5.5/lucene-analyzers-common-5.5.5.jar\r\n[ERROR] urls[11] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/apache/lucene/lucene-queryparser/5.5.5/lucene-queryparser-5.5.5.jar\r\n[ERROR] urls[12] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/apache/lucene/lucene-queries/5.5.5/lucene-queries-5.5.5.jar\r\n[ERROR] urls[13] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/apache/lucene/lucene-sandbox/5.5.5/lucene-sandbox-5.5.5.jar\r\n[ERROR] urls[14] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/apache/velocity/velocity/1.7/velocity-1.7.jar\r\n[ERROR] urls[15] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar\r\n[ERROR] urls[16] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar\r\n[ERROR] urls[17] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/com/h2database/h2/1.4.196/h2-1.4.196.jar\r\n[ERROR] urls[18] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/glassfish/javax.json/1.0.4/javax.json-1.0.4.jar\r\n[ERROR] urls[19] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/jsoup/jsoup/1.11.3/jsoup-1.11.3.jar\r\n[ERROR] urls[20] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/com/sun/mail/mailapi/1.6.1/mailapi-1.6.1.jar\r\n[ERROR] urls[21] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar\r\n[ERROR] urls[22] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/com/google/code/gson/gson/2.8.5/gson-2.8.5.jar\r\n[ERROR] urls[23] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/com/h3xstream/retirejs/retirejs-core/3.0.1/retirejs-core-3.0.1.jar\r\n[ERROR] urls[24] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/json/json/20140107/json-20140107.jar\r\n[ERROR] urls[25] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/com/esotericsoftware/minlog/1.3/minlog-1.3.jar\r\n[ERROR] urls[26] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/com/github/spullara/mustache/java/compiler/0.8.17/compiler-0.8.17.jar\r\n[ERROR] urls[27] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/com/google/guava/guava/16.0.1/guava-16.0.1.jar\r\n[ERROR] urls[28] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/owasp/dependency-check-utils/3.3.1/dependency-check-utils-3.3.1.jar\r\n[ERROR] urls[29] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/apache/maven/shared/file-management/3.0.0/file-management-3.0.0.jar\r\n[ERROR] urls[30] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.plexus/0.0.0.M2a/org.eclipse.sisu.plexus-0.0.0.M2a.jar\r\n[ERROR] urls[31] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar\r\n[ERROR] urls[32] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar\r\n[ERROR] urls[33] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar\r\n[ERROR] urls[34] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar\r\n[ERROR] urls[35] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar\r\n[ERROR] urls[36] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.0.0.M2a/org.eclipse.sisu.inject-0.0.0.M2a.jar\r\n[ERROR] urls[37] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/asm/asm/3.3.1/asm-3.3.1.jar\r\n[ERROR] urls[38] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/apache/maven/shared/maven-shared-io/3.0.0/maven-shared-io-3.0.0.jar\r\n[ERROR] urls[39] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/apache/maven/shared/maven-shared-utils/3.0.0/maven-shared-utils-3.0.0.jar\r\n[ERROR] urls[40] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/com/google/code/findbugs/jsr305/2.0.1/jsr305-2.0.1.jar\r\n[ERROR] urls[41] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.22/plexus-utils-3.0.22.jar\r\n[ERROR] urls[42] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/apache/maven/reporting/maven-reporting-api/3.0/maven-reporting-api-3.0.jar\r\n[ERROR] urls[43] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.0/doxia-sink-api-1.0.jar\r\n[ERROR] urls[44] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.4/plexus-sec-dispatcher-1.4.jar\r\n[ERROR] urls[45] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar\r\n[ERROR] urls[46] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/apache/maven/shared/maven-dependency-tree/3.0.1/maven-dependency-tree-3.0.1.jar\r\n[ERROR] urls[47] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.6/plexus-component-annotations-1.6.jar\r\n[ERROR] urls[48] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/eclipse/aether/aether-util/0.9.0.M2/aether-util-0.9.0.M2.jar\r\n[ERROR] urls[49] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/apache/maven/shared/maven-artifact-transfer/0.10.0/maven-artifact-transfer-0.10.0.jar\r\n[ERROR] urls[50] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/eclipse/aether/aether-spi/0.9.0.M2/aether-spi-0.9.0.M2.jar\r\n[ERROR] urls[51] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/eclipse/aether/aether-impl/0.9.0.M2/aether-impl-0.9.0.M2.jar\r\n[ERROR] urls[52] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/eclipse/aether/aether-api/0.9.0.M2/aether-api-0.9.0.M2.jar\r\n[ERROR] urls[53] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.16/plexus-interpolation-1.16.jar\r\n[ERROR] urls[54] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/3.0.1/maven-common-artifact-filters-3.0.1.jar\r\n[ERROR] urls[55] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar\r\n[ERROR] urls[56] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar\r\n[ERROR] urls[57] = file:/C:/Program%20Files/CGIexclusion/.m2/repository/commons-codec/commons-codec/1.11/commons-codec-1.11.jar\r\n[ERROR] Number of foreign imports: 1\r\n[ERROR] import: Entry[import  from realm ClassRealm[project>ca.ab.gov.health.macar:MacarMaven:3.24-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]\r\n[ERROR] \r\n[ERROR] -----------------------------------------------------\r\n[ERROR] -> [Help 1]\r\n[ERROR] \r\n[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.\r\n[ERROR] Re-run Maven using the -X switch to enable full debug logging.\r\n[ERROR] \r\n[ERROR] For more information about the errors and possible solutions, please read the following articles:\r\n[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException"},"comment":{"url":"https://api.github.com/repos/jeremylong/DependencyCheck/issues/comments/430891152","html_url":"https://github.com/jeremylong/DependencyCheck/issues/1476#issuecomment-430891152","issue_url":"https://api.github.com/repos/jeremylong/DependencyCheck/issues/1476","id":430891152,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDg5MTE1Mg==","user":{"login":"mprins","id":1165786,"node_id":"MDQ6VXNlcjExNjU3ODY=","avatar_url":"https://avatars0.githubusercontent.com/u/1165786?v=4","gravatar_id":"","url":"https://api.github.com/users/mprins","html_url":"https://github.com/mprins","followers_url":"https://api.github.com/users/mprins/followers","following_url":"https://api.github.com/users/mprins/following{/other_user}","gists_url":"https://api.github.com/users/mprins/gists{/gist_id}","starred_url":"https://api.github.com/users/mprins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mprins/subscriptions","organizations_url":"https://api.github.com/users/mprins/orgs","repos_url":"https://api.github.com/users/mprins/repos","events_url":"https://api.github.com/users/mprins/events{/privacy}","received_events_url":"https://api.github.com/users/mprins/received_events","type":"User","site_admin":false},"created_at":"2018-10-18T06:32:20Z","updated_at":"2018-10-18T06:32:20Z","author_association":"NONE","body":"basically the problem is you have a configuration in your pom that mixes up the aether libraries `org.sonatype.aether.util.DefaultRepositorySystemSession cannot be cast to org.eclipse.aether.RepositorySystemSession`\r\n\r\nmake sure all your plugins are all using the same implementation -use current releases of all plugins- , probably one plugin is loading the outdated version."}}
{"actor":{"display_login":"mprins"}}