RusticiSoftware / TinCanJava

Tin Can Java Library
http://rusticisoftware.github.io/TinCanJava/
Apache License 2.0
44 stars 46 forks source link

trouble with mvn install #62

Closed taramcgirl closed 2 years ago

taramcgirl commented 3 years ago

mvn install results in the following error:

image

output from 'mvn install -X': output.txt

'mvn -v' gives: Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: C:\Program Files\apache-maven-3.6.3\bin.. Java version: 15.0.2, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk-15.0.2 Default locale: en_IE, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Any idea what I may be doing wrong?

taramcgirl commented 3 years ago

Updated lombok version number 1.16.8 to 1.18.18 in pom.xml and it seemed to solve my issue.

<dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
            <version>1.18.18</version>
 </dependency>
shakhal commented 3 years ago

Also you have to skip tests since tests are failing the build (this is how it's run in travis too O_o)

mvn install -DskipTests=true

brianjmiller commented 2 years ago

The bumped lombok version has been added and released as part of https://github.com/RusticiSoftware/TinCanJava/releases/tag/tincan-1.1.2 I suspect this is a JDK choice issue but hopefully it'll work now. I'm going to close this issue, but if the problem is still present feel free to re-open or raise a new one. Thanks for the report, sorry for the delay.