MarketSquare / MarketSquare/robotframework-SikuliLibrary

[Mac] Unable to build with Maven

Open
#87 16 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
163
Forks
60
PR merge metrics
No merged PRs in 30d

Description

### Environment
**OS:** macOS Mojave
**Python:** Python 3.7.2 / virtualenv
**JDK:** JDK8 update201
**SikuliLibrary:** Latest source code from GitHub, built with maven on macOS Mojave, run setup.py to install

### Description
Unable to build with Maven, log:

```
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/hideman/Downloads/robotframework-SikuliLibrary-master/src/java/com/github/rainmanwy/robotframework/sikulilib/keywords/ApplicationKeywords.java:[27,25] incompatible types: boolean cannot be converted to org.sikuli.script.App
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.138 s
[INFO] Finished at: 2019-01-26T02:12:36+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project robotframework-SikuliLibrary: Compilation failure
[ERROR] /Users/hideman/Downloads/robotframework-SikuliLibrary-master/src/java/com/github/rainmanwy/robotframework/sikulilib/keywords/ApplicationKeywords.java:[27,25] incompatible types: boolean cannot be converted to org.sikuli.script.App
[ERROR]
[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

```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the Maven build with the reported macOS, JDK 8, and Python environment, then inspect src/java/com/github/rainmanwy/robotframework/sikulilib/keywords/ApplicationKeywords.java at line 27. Trace the incompatible boolean and org.sikuli.script.App types through the relevant dependency usage. Done means the project compiles successfully with Maven.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.