Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Maven tests fail to compile out-of-the-box #53

Closed
roalexan opened this issue Jul 20, 2018 · 2 comments
Closed

Maven tests fail to compile out-of-the-box #53

roalexan opened this issue Jul 20, 2018 · 2 comments

Comments

@roalexan
Copy link

Following steps here - https://github.com/Microsoft/botbuilder-java/wiki/building-the-sdk.

skipping tests as follows works: mvn package -Dmaven.test.skip=true
but running as-is with tests doesn't: mvn package --log-file log.txt

log.txt attached. log.txt

My environment:

git --version
git version 2.13.3.windows.1
java -version
java version "10.0.1" 2018-04-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)
mvn -version
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T14:33:14-04:00)
Maven home: C:\maven\apache-maven-3.5.4-bin\apache-maven-3.5.4\bin..
Java version: 10.0.1, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-10.0.1
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Build steps:

cd c:\microsoft\repos
git clone https://github.com/Microsoft/botbuilder-java.git
cd botbuilder-java
mvn package

Compilation errors:

[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
...

@roalexan roalexan changed the title Maven tests fail to compilete out-of-the-box Maven tests fail to compile out-of-the-box Jul 20, 2018
@daveta
Copy link
Contributor

daveta commented Jul 30, 2018

@roalexan : Can you pull and try again?

@daveta
Copy link
Contributor

daveta commented Sep 22, 2018

This was fixed. Please reopen if you still have problems.

@daveta daveta closed this as completed Sep 22, 2018
tracyboehrer added a commit that referenced this issue Apr 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants