sikuli / sikuli-slides

Sikuli-Slides is a visual automation tool that enables users to automate and test Graphical User Interfaces (GUIs) using presentation slides.
MIT License
65 stars 35 forks source link

Master pom.xml requires jar with dependencies entry, apps/pom.xml requires the addition of the jar-with-dependencies output of the API project #40

Open jguglielmi opened 10 years ago

jguglielmi commented 10 years ago

The API jar generated by the default pom packaged with sikuli-slides would not function with the apps/pom.xml. The issue was that the main pom.xml was not jarring the dependencies within the API jar file.

Solution: Added the jar-with-dependencies plugin to the pom.xml.

Once done, I wrote a simple install.bat/sh script: mvn install:install-file -Dfile=./target/sikuli-slides-api-1.5.1-SNAPSHOT-jar-with-dependencies.jar -DgroupId=org.sikuli -DartifactId=sikuli-slides-api -Dversion=1.5.1-jar-with-dependencies -Dpackaging=jar

Finally, I added the following entry to my apps/pom.xml:

    <dependency>
        <groupId>org.sikuli</groupId>
        <artifactId>sikuli-slides-api</artifactId>
        <version>1.5.1-jar-with-dependencies</version>
    </dependency>