Title: Maven clean install failing on main · Issue #985 · microsoft/botbuilder-java · GitHub
Open Graph Title: Maven clean install failing on main · Issue #985 · microsoft/botbuilder-java
X Title: Maven clean install failing on main · Issue #985 · microsoft/botbuilder-java
Description: Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions. Version This is on origin/main Describe the bug Maven fails to install in the test phase of bot-connector. To Reproduce Steps ...
Open Graph Description: Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions. Version This is on origin/main Describe the bug Maven fails to install in the test pha...
X Description: Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions. Version This is on origin/main Describe the bug Maven fails to install in th...
Opengraph URL: https://github.com/microsoft/botbuilder-java/issues/985
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Maven clean install failing on main","articleBody":"### [Github issues](https://github.com/microsoft/botbuilder-java/issues) should be used for bugs and feature requests. Use [Stack Overflow](https://stackoverflow.com/questions/tagged/botframework) for general \"how-to\" questions. \r\n\r\n## Version\r\nThis is on `origin/main`\r\n\r\n## Describe the bug\r\nMaven fails to install in the test phase of bot-connector.\r\n\r\n## To Reproduce\r\nSteps to reproduce the behavior:\r\n1. `git clone https://github.com/Microsoft/botbuilder-java.git`\r\n2. `cd cd botbuilder-java`\r\n3. `mvn clean install`\r\n```\r\nINFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ bot-connector ---\r\n[INFO] Changes detected - recompiling the module!\r\n[INFO] Compiling 42 source files to /Users/topher/src/botbuilder-java/libraries/bot-connector/target/test-classes\r\n[INFO] -------------------------------------------------------------\r\n[WARNING] COMPILATION WARNING :\r\n[ NOTE: 55 warnings truncated for readability ]\r\n[INFO] -------------------------------------------------------------\r\n[INFO] -------------------------------------------------------------\r\n[ERROR] COMPILATION ERROR :\r\n[INFO] -------------------------------------------------------------\r\n[ERROR] /Users/topher/src/botbuilder-java/libraries/bot-connector/src/test/java/com/microsoft/bot/connector/JwtTokenExtractorTests.java:[190,55] cannot find symbol\r\n symbol: variable sha256WithRSAEncryption_oid\r\n location: class sun.security.x509.AlgorithmId\r\n[INFO] 1 error\r\n[INFO] -------------------------------------------------------------\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Reactor Summary for Microsoft BotBuilder Java SDK Parent 4.6.0-preview8:\r\n[INFO]\r\n[INFO] Microsoft BotBuilder Java SDK Parent ............... SUCCESS [ 1.807 s]\r\n[INFO] com.microsoft.bot:bot-schema ....................... SUCCESS [ 7.122 s]\r\n[INFO] com.microsoft.bot:bot-connector .................... FAILURE [ 3.129 s]\r\n[INFO] com.microsoft.bot:bot-builder ...................... SKIPPED\r\n[INFO] com.microsoft.bot:bot-integration-core ............. SKIPPED\r\n[INFO] com.microsoft.bot:bot-dialogs ...................... SKIPPED\r\n[INFO] com.microsoft.bot:bot-applicationinsights .......... SKIPPED\r\n[INFO] com.microsoft.bot:bot-ai-luis-v3 ................... SKIPPED\r\n[INFO] com.microsoft.bot:bot-ai-qna ....................... SKIPPED\r\n[INFO] com.microsoft.bot:bot-azure ........................ SKIPPED\r\n[INFO] com.microsoft.bot:bot-integration-spring ........... SKIPPED\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD FAILURE\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 12.158 s\r\n[INFO] Finished at: 2021-02-15T15:14:27-07:00\r\n[INFO] ------------------------------------------------------------------------\r\n[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:testCompile (default-testCompile) on project bot-connector: Compilation failure\r\n[ERROR] /Users/topher/src/botbuilder-java/libraries/bot-connector/src/test/java/com/microsoft/bot/connector/JwtTokenExtractorTests.java:[190,55] cannot find symbol\r\n[ERROR] symbol: variable sha256WithRSAEncryption_oid\r\n[ERROR] location: class sun.security.x509.AlgorithmId\r\n[ERROR]\r\n[ERROR] -\u003e [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/MojoFailureException\r\n[ERROR]\r\n[ERROR] After correcting the problems, you can resume the build with the command\r\n[ERROR] mvn \u003cargs\u003e -rf :bot-connector\r\n```\r\n\r\n## Expected behavior\r\nI would expect the maven build to complete successfully.\r\n\r\n# Additional context\r\n\r\nReally I'm just trying to get sample #46 to build.\r\n\r\nMaven and Java info:\r\n```\r\n~/src/botbuilder-java [main|✔ ]\r\ntopher@host ➤ mvn -v\r\nApache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)\r\nMaven home: /usr/local/Cellar/maven/3.6.3_1/libexec\r\nJava version: 15.0.1, vendor: N/A, runtime: /usr/local/Cellar/openjdk/15.0.1/libexec/openjdk.jdk/Contents/Home\r\nDefault locale: en_US, platform encoding: UTF-8\r\nOS name: \"mac os x\", version: \"10.16\", arch: \"x86_64\", family: \"mac\"\r\n~/src/botbuilder-java [main|✔ ]\r\ntopher@host ➤ java -version\r\nopenjdk version \"1.8.0_282\"\r\nOpenJDK Runtime Environment (Zulu 8.52.0.23-macosx)-Microsoft-Azure-restricted (build 1.8.0_282-b08)\r\nOpenJDK 64-Bit Server VM (Zulu 8.52.0.23-macosx)-Microsoft-Azure-restricted (build 25.282-b08, mixed mode)\r\n```\r\n","author":{"url":"https://github.com/clamey","@type":"Person","name":"clamey"},"datePublished":"2021-02-15T22:22:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/985/botbuilder-java/issues/985"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:254d62b3-9e1b-4a7c-00bf-dc573f07ce72 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C790:11805C:48C46E:5CCF53:6992173E |
| html-safe-nonce | c4e1681dc6afe7e95a39387bdda14efcc9e8f7b59bfce9e08567d03aefc5177c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzkwOjExODA1Qzo0OEM0NkU6NUNDRjUzOjY5OTIxNzNFIiwidmlzaXRvcl9pZCI6IjkxNTkwMDUwMjAzNzg5NDk3NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ce8b25af4a9dff73b886b7aa80682c6dd003e95ac35215e1c5131b59b7fd9bd9 |
| hovercard-subject-tag | issue:808852281 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/botbuilder-java/985/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0d28c0fd1ead5efe9402e76bf73d0110330cf9c73170252f2f260d79624ccae0/microsoft/botbuilder-java/issues/985 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0d28c0fd1ead5efe9402e76bf73d0110330cf9c73170252f2f260d79624ccae0/microsoft/botbuilder-java/issues/985 |
| og:image:alt | Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions. Version This is on origin/main Describe the bug Maven fails to install in the test pha... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | clamey |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/botbuilder-java git https://github.com/microsoft/botbuilder-java.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 117021824 |
| octolytics-dimension-repository_nwo | microsoft/botbuilder-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 117021824 |
| octolytics-dimension-repository_network_root_nwo | microsoft/botbuilder-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width