[INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.microsoft.bot.schema:botbuilder-schema:jar:4.0.0-SNAPSHOT [WARNING] 'dependencies.dependency.version' for joda-time:joda-time:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 66, column 20 [WARNING] 'dependencies.dependency.version' for org.apache.commons:commons-lang3:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 71, column 20 [WARNING] [WARNING] Some problems were encountered while building the effective model for com.microsoft.bot.connector.sample:bot-connector-sample:jar:1.0.0 [WARNING] 'dependencies.dependency.version' for org.slf4j:slf4j-api:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 43, column 16 [WARNING] 'dependencies.dependency.version' for org.slf4j:slf4j-simple:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 48, column 16 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] com.microsoft.bot.schema:botbuilder-schema [jar] [INFO] com.microsoft.bot.connector:bot-connector [jar] [INFO] com.microsoft.bot.builder:botbuilder [jar] [INFO] bot-connector-sample [jar] [INFO] Microsoft BotBuilder SDK Parent [pom] [INFO] [INFO] -------------< com.microsoft.bot.schema:botbuilder-schema >------------- [INFO] Building com.microsoft.bot.schema:botbuilder-schema 4.0.0-SNAPSHOT [1/5] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ botbuilder-schema --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\microsoft\repos\botbuilder-java\libraries\botbuilder-schema\src\main\resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ botbuilder-schema --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 78 source files to C:\microsoft\repos\botbuilder-java\libraries\botbuilder-schema\target\classes [INFO] /C:/microsoft/repos/botbuilder-java/libraries/botbuilder-schema/src/main/java/com/microsoft/bot/schema/ActivityImpl.java: C:\microsoft\repos\botbuilder-java\libraries\botbuilder-schema\src\main\java\com\microsoft\bot\schema\ActivityImpl.java uses unchecked or unsafe operations. [INFO] /C:/microsoft/repos/botbuilder-java/libraries/botbuilder-schema/src/main/java/com/microsoft/bot/schema/ActivityImpl.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ botbuilder-schema --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\microsoft\repos\botbuilder-java\libraries\botbuilder-schema\src\test\resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ botbuilder-schema --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ botbuilder-schema --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ botbuilder-schema --- [INFO] Building jar: C:\microsoft\repos\botbuilder-java\libraries\botbuilder-schema\target\botbuilder-schema-4.0.0-SNAPSHOT.jar [INFO] [INFO] -------------< com.microsoft.bot.connector:bot-connector >-------------- [INFO] Building com.microsoft.bot.connector:bot-connector 4.0.0-SNAPSHOT [2/5] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ bot-connector --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ bot-connector --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 32 source files to C:\microsoft\repos\botbuilder-java\libraries\bot-connector\target\classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ bot-connector --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 28 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ bot-connector --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ bot-connector --- [INFO] Surefire report directory: C:\microsoft\repos\botbuilder-java\libraries\bot-connector\target\surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running com.microsoft.bot.connector.AttachmentsTest *** *** [main:1] - beforeClass *** Environment variable 'AZURE_TEST_MODE' has not been set yet. Using 'PLAYBACK' mode. *** *** [main:1] - beforeTest: GetAttachment *** ==> Playback file path: C:\microsoft\repos\botbuilder-java\libraries\bot-connector\target\test-classes\session-records/GetAttachment.json Total records 4 Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.304 sec Running com.microsoft.bot.connector.BotAuthenticatorTest Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.949 sec Running com.microsoft.bot.connector.ConversationsTest Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.185 sec Running com.microsoft.bot.connector.OAuthConnectorTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec Running com.microsoft.bot.connector.UserAgentTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec Results : Tests run: 35, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] --- maven-jar-plugin:2.1:jar (default-jar) @ bot-connector --- [INFO] Building jar: C:\microsoft\repos\botbuilder-java\libraries\bot-connector\target\bot-connector-4.0.0-SNAPSHOT.jar [INFO] [INFO] ----------------< com.microsoft.bot.builder:botbuilder >---------------- [INFO] Building com.microsoft.bot.builder:botbuilder 4.0-SNAPSHOT [3/5] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ botbuilder --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\microsoft\repos\botbuilder-java\libraries\botbuilder\src\main\resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ botbuilder --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 36 source files to C:\microsoft\repos\botbuilder-java\libraries\botbuilder\target\classes [WARNING] /C:/microsoft/repos/botbuilder-java/libraries/botbuilder/src/main/java/com/microsoft/bot/builder/BotFrameworkAdapter.java:[15,24] sun.net.www.http.HttpClient is internal proprietary API and may be removed in a future release [WARNING] /C:/microsoft/repos/botbuilder-java/libraries/botbuilder/src/main/java/com/microsoft/bot/builder/BotFrameworkAdapter.java:[15,24] sun.net.www.http.HttpClient is internal proprietary API and may be removed in a future release [WARNING] /C:/microsoft/repos/botbuilder-java/libraries/botbuilder/src/main/java/com/microsoft/bot/builder/BotFrameworkAdapter.java:[15,24] sun.net.www.http.HttpClient is internal proprietary API and may be removed in a future release [WARNING] /C:/microsoft/repos/botbuilder-java/libraries/botbuilder/src/main/java/com/microsoft/bot/builder/BotFrameworkAdapter.java:[77,115] sun.net.www.http.HttpClient is internal proprietary API and may be removed in a future release [WARNING] /C:/microsoft/repos/botbuilder-java/libraries/botbuilder/src/main/java/com/microsoft/bot/builder/BotFrameworkAdapter.java:[77,115] sun.net.www.http.HttpClient is internal proprietary API and may be removed in a future release [WARNING] /C:/microsoft/repos/botbuilder-java/libraries/botbuilder/src/main/java/com/microsoft/bot/builder/BotFrameworkAdapter.java:[77,115] sun.net.www.http.HttpClient is internal proprietary API and may be removed in a future release [WARNING] /C:/microsoft/repos/botbuilder-java/libraries/botbuilder/src/main/java/com/microsoft/bot/builder/BotFrameworkAdapter.java:[81,115] sun.net.www.http.HttpClient is internal proprietary API and may be removed in a future release [WARNING] /C:/microsoft/repos/botbuilder-java/libraries/botbuilder/src/main/java/com/microsoft/bot/builder/BotFrameworkAdapter.java:[81,115] sun.net.www.http.HttpClient is internal proprietary API and may be removed in a future release [WARNING] /C:/microsoft/repos/botbuilder-java/libraries/botbuilder/src/main/java/com/microsoft/bot/builder/BotFrameworkAdapter.java:[81,115] sun.net.www.http.HttpClient is internal proprietary API and may be removed in a future release [WARNING] /C:/microsoft/repos/botbuilder-java/libraries/botbuilder/src/main/java/com/microsoft/bot/builder/BotFrameworkAdapter.java:[167,110] sun.net.www.http.HttpClient is internal proprietary API and may be removed in a future release [WARNING] /C:/microsoft/repos/botbuilder-java/libraries/botbuilder/src/main/java/com/microsoft/bot/builder/BotFrameworkAdapter.java:[167,110] sun.net.www.http.HttpClient is internal proprietary API and may be removed in a future release [WARNING] /C:/microsoft/repos/botbuilder-java/libraries/botbuilder/src/main/java/com/microsoft/bot/builder/BotFrameworkAdapter.java:[167,110] sun.net.www.http.HttpClient is internal proprietary API and may be removed in a future release [WARNING] /C:/microsoft/repos/botbuilder-java/libraries/botbuilder/src/main/java/com/microsoft/bot/builder/BotFrameworkAdapter.java:[171,110] sun.net.www.http.HttpClient is internal proprietary API and may be removed in a future release [WARNING] /C:/microsoft/repos/botbuilder-java/libraries/botbuilder/src/main/java/com/microsoft/bot/builder/BotFrameworkAdapter.java:[171,110] sun.net.www.http.HttpClient is internal proprietary API and may be removed in a future release [WARNING] /C:/microsoft/repos/botbuilder-java/libraries/botbuilder/src/main/java/com/microsoft/bot/builder/BotFrameworkAdapter.java:[171,110] sun.net.www.http.HttpClient is internal proprietary API and may be removed in a future release [INFO] /C:/microsoft/repos/botbuilder-java/libraries/botbuilder/src/main/java/com/microsoft/bot/builder/BotAdapter.java: Some input files use unchecked or unsafe operations. [INFO] /C:/microsoft/repos/botbuilder-java/libraries/botbuilder/src/main/java/com/microsoft/bot/builder/BotAdapter.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ botbuilder --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory C:\microsoft\repos\botbuilder-java\libraries\botbuilder\src\test\resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ botbuilder --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 25 source files to C:\microsoft\repos\botbuilder-java\libraries\botbuilder\target\test-classes [INFO] /C:/microsoft/repos/botbuilder-java/libraries/botbuilder/src/test/java/com/microsoft/bot/builder/adapters/TestFlow.java: Some input files use unchecked or unsafe operations. [INFO] /C:/microsoft/repos/botbuilder-java/libraries/botbuilder/src/test/java/com/microsoft/bot/builder/adapters/TestFlow.java: Recompile with -Xlint:unchecked for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /C:/microsoft/repos/botbuilder-java/libraries/botbuilder/src/test/java/com/microsoft/bot/builder/BotStateTest.java:[376,48] incompatible types: java.lang.Object cannot be converted to com.microsoft.bot.builder.CustomState [ERROR] /C:/microsoft/repos/botbuilder-java/libraries/botbuilder/src/test/java/com/microsoft/bot/builder/BotStateTest.java:[397,48] incompatible types: java.lang.Object cannot be converted to com.microsoft.bot.builder.CustomState [INFO] 2 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] com.microsoft.bot.schema:botbuilder-schema 4.0.0-SNAPSHOT SUCCESS [ 3.007 s] [INFO] com.microsoft.bot.connector:bot-connector 4.0.0-SNAPSHOT SUCCESS [ 7.584 s] [INFO] com.microsoft.bot.builder:botbuilder 4.0-SNAPSHOT .. FAILURE [ 2.157 s] [INFO] bot-connector-sample 1.0.0 ......................... SKIPPED [INFO] Microsoft BotBuilder SDK Parent 4.0.0-a0 ........... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 12.849 s [INFO] Finished at: 2018-07-20T16:19:39-04:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:testCompile (default-testCompile) on project botbuilder: Compilation failure: Compilation failure: [ERROR] /C:/microsoft/repos/botbuilder-java/libraries/botbuilder/src/test/java/com/microsoft/bot/builder/BotStateTest.java:[376,48] incompatible types: java.lang.Object cannot be converted to com.microsoft.bot.builder.CustomState [ERROR] /C:/microsoft/repos/botbuilder-java/libraries/botbuilder/src/test/java/com/microsoft/bot/builder/BotStateTest.java:[397,48] incompatible types: java.lang.Object cannot be converted to com.microsoft.bot.builder.CustomState [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :botbuilder