Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Sep 17, 2014 · 0 comments

Comments

@jguglielmi
Copy link

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant