-
Bug
-
Resolution: Done
-
Major
-
None
-
7.18.0.Final, 7.19.0.Final
-
2019 Week 11-13
-
- Unzip with-test-sources-reproducer.zip in Windows
- mvn clean install -DgenerateModel=YES -DskipTests
-
NEW
-
NEW
Under the condition:
- Windows
- executable-model build (mvn clean install -DgenerateModel=YES -DskipTests)
The build tries to resolve java source under "src/test/java" then failed with the error
[ERROR] Failed to execute goal org.kie:kie-maven-plugin:7.20.0-SNAPSHOT:generateModel (default-generateModel) on project with-test-sources: Execution default-generateModel of goal org.kie:kie-maven-plugin:7.20.0-SNAPSHOT:generateModel faile d: Unable to get KieModule, Errors Existed: Error Messages: [ERROR] Message [id=1, level=ERROR, path=src/test/java/com/sample/SampleTest.java, line=15, column=372 [ERROR] text=Only a type can be imported. org.mockito.Mockito resolves to a package] [ERROR] Message [id=2, level=ERROR, path=src/test/java/com/sample/SampleTest.java, line=22, column=563 [ERROR] text=Mockito cannot be resolved] [ERROR] ---
It doesn't happen in MacOS/RHEL7