# Unable to package examples, sdk-client jar file not found

**URL:** <https://forum.inductiveautomation.com/t/unable-to-package-examples-sdk-client-jar-file-not-found/12357>\
**Category:** Module Development\
**Created:** [November 14, 2016, 9:36pm UTC](https://forum.inductiveautomation.com/t/unable-to-package-examples-sdk-client-jar-file-not-found/12357 "2016-11-14T21:36:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![florint](https://avatars.discourse-cdn.com/v4/letter/f/3ab097/32.png) [@florint](https://forum.inductiveautomation.com/u/florint)\
**Post date:** [November 14, 2016, 9:36pm UTC](https://forum.inductiveautomation.com/t/unable-to-package-examples-sdk-client-jar-file-not-found/12357/1 "2016-11-14T21:36:20Z")

</div>

Hi,

First I cloned the Ignition examples project onto my hard drive.

[github.com/inductiveautomation/ … k-examples](https://github.com/inductiveautomation/ignition-sdk-examples)

I tried to run “mvn package” command from under some of the examples root folders; however in many instances the operation aborts due to a specific file missing from the repository, namely ‘sdk-client-0.1.0-SNAPSHOT.jar’.

Maven clearly shows that the file is not available, yet this is supposed to be downloaded automatically from the source, but if it’s not there then Maven just aborts and doesn’t complete the job.

Any idea how to mitigate this?

I have included a screenshot of the error.

Thanks

---

<div class="post-metadata">

**Author:** ![Mmacerl](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmacerl/32/4024_2.png) [@Mmacerl](https://forum.inductiveautomation.com/u/Mmacerl)\
**Post date:** [November 16, 2016, 9:44am UTC](https://forum.inductiveautomation.com/t/unable-to-package-examples-sdk-client-jar-file-not-found/12357/2 "2016-11-16T09:44:45Z")

</div>

Try deleting the repository folder and let Maven to download the repository again. Than it should work. For more answers you can take a look in [this](https://inductiveautomation.com/forum/viewtopic.php?f=74&t=16104&st=0&sk=t&sd=a&hilit=repository) thread.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 16, 2016, 10:03am UTC](https://forum.inductiveautomation.com/t/unable-to-package-examples-sdk-client-jar-file-not-found/12357/3 "2016-11-16T10:03:56Z")

</div>

I think we’re missing a repository reference in our SDK’s maven files.

Add this entry to the repositories section of the projects you’re trying to build:

```auto
        <repository>
            <id>sonatype-snapshots</id>
            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
            <releases>
                <enabled>false</enabled>
            </releases>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
        </repository>
```

---

<div class="post-metadata">

**Author:** ![csanz](https://avatars.discourse-cdn.com/v4/letter/c/ac91a4/32.png) [@csanz](https://forum.inductiveautomation.com/u/csanz)\
**Post date:** [May 28, 2017, 2:51pm UTC](https://forum.inductiveautomation.com/t/unable-to-package-examples-sdk-client-jar-file-not-found/12357/4 "2017-05-28T14:51:38Z")

</div>

I have run into the same issue 7 months later and the examples have not been updated. It would help alot to the new people like me that is learning the sdk.

To solve the problem, apart form adding the repository from Kevins answer, I had to update the dependencies version in the pom.xml under scripting-rpc-gateway from 7.9.0-SNAPSHOT to 7.9.2-SNAPSHOT.  
Also I have updated the ignition-maven-plugin from the version 1.0.9-SNAPSHOT to the 1.0.12, which is the latest at the moment. This is located in the pom.xml under scripting-rpc-build.

After this changes I have been able to build the .modl.
