Question #265469 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/265469

    Status: Answered => Solved

TheGambler confirmed that the question is solved:
Thanks RaiMan. For all maven newbies like me, here is my working build
configuration:

<!-- Declare sikulix as dependency -->
<dependencies>
        <dependency>
                <groupId>com.sikulix</groupId>
                <artifactId>sikulixapi</artifactId>
                <version>1.1.0-SNAPSHOT</version>
        </dependency>
</dependencies>

<!-- Build fat JAR -->
<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-assembly-plugin</artifactId>
        <executions>
                <execution>
                        <phase>package</phase>
                        <goals>
                                <goal>single</goal>
                        </goals>
                </execution>
        </executions>
        <configuration>
                <archive>
                        <manifest>
                                <mainClass>my.classes.Main</mainClass>
                                <addClasspath>true</addClasspath>
                        </manifest>
                </archive>
                <descriptorRefs>
                        <descriptorRef>jar-with-dependencies</descriptorRef>
                </descriptorRefs>
        </configuration>
</plugin>

<!-- Cancel build of normal 'thin' JAR -->
<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <version>2.6</version>
        <executions>
                <execution>
                        <id>default-jar</id>
                        <phase>none</phase>
                </execution>
        </executions>
</plugin>

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to