[jboss-jira] [JBoss JIRA] (DROOLS-3787) executable-model build failed because trying to resolve test case in Windows
Toshiya Kobayashi (Jira)
issues at jboss.org
Sun Mar 24 22:19:00 EDT 2019
[ https://issues.jboss.org/browse/DROOLS-3787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Toshiya Kobayashi updated DROOLS-3787:
--------------------------------------
Attachment: with-test-sources-reproducer.zip
> executable-model build failed because trying to resolve test case in Windows
> ----------------------------------------------------------------------------
>
> Key: DROOLS-3787
> URL: https://issues.jboss.org/browse/DROOLS-3787
> Project: Drools
> Issue Type: Bug
> Components: executable model
> Affects Versions: 7.18.0.Final, 7.19.0.Final
> Environment: - Windows 2012
> Confirmed with some tags
> - 7.14.0.Final-redhat-00004
> - 7.18.0.Final
> - 7.19.0.Final
> - 7.20.0-SNAPSHOT
> Reporter: Toshiya Kobayashi
> Assignee: Luca Molteni
> Priority: Major
> Labels: support
> Attachments: with-test-sources-reproducer.zip
>
>
> 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
> {noformat}
> [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] ---
> {noformat}
> It doesn't happen in MacOS/RHEL7
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list