# Ignition Maven Plugin Behavior

**URL:** <https://forum.inductiveautomation.com/t/ignition-maven-plugin-behavior/15407>\
**Category:** Module Development\
**Tags:** sdk\
**Created:** [September 20, 2017, 1:37pm UTC](https://forum.inductiveautomation.com/t/ignition-maven-plugin-behavior/15407 "2017-09-20T13:37:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![magno32](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/magno32/32/3402_2.png) [@magno32](https://forum.inductiveautomation.com/u/magno32)\
**Post date:** [September 20, 2017, 1:37pm UTC](https://forum.inductiveautomation.com/t/ignition-maven-plugin-behavior/15407/1 "2017-09-20T13:37:07Z")

</div>

I am trying to better understand how the Maven plugin gathers dependencies for inclusion in the output _modl_ file.

For instance, if my driver artifact relies on several **runtime** dependencies, they are ignored by the plugin. This also applies to transitive dependencies.

Also, if I attempt to _only_ build the **build** artifact, it fails with a null pointer exception (v1.0.12 - v1.0.14-SNAPSHOT), this means(to me at least) that maven is relying on another artifact to be present in the reactor to do its work which is different than anything I’ve seen.

Is the source available for the plugin? If it is open, I wouldn’t mind contributing, as it just seems to work different than any of the maven plugins that do similar tasks (shade, onejar, assembly).

---

<div class="post-metadata">

**Author:** ![KathyApplebaum](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kathyapplebaum/32/7261_2.png) [@KathyApplebaum](https://forum.inductiveautomation.com/u/KathyApplebaum)\
**Post date:** [September 20, 2017, 2:10pm UTC](https://forum.inductiveautomation.com/t/ignition-maven-plugin-behavior/15407/2 "2017-09-20T14:10:34Z")

</div>

Maven is open source: you can contribute to the project [here](https://github.com/apache/maven).

The various plugins are also open source, and you can get a listing of them, with links to their repos [here](https://maven.apache.org/plugins/).

This [Stack Overflow](https://stackoverflow.com/questions/19540858/difference-between-maven-compiletime-and-runtime) question might help with the difference between compile, runtime, and provided.

---

<div class="post-metadata">

**Author:** ![magno32](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/magno32/32/3402_2.png) [@magno32](https://forum.inductiveautomation.com/u/magno32)\
**Post date:** [September 20, 2017, 6:03pm UTC](https://forum.inductiveautomation.com/t/ignition-maven-plugin-behavior/15407/3 "2017-09-20T18:03:12Z")

</div>

Sorry… Perhaps I wasn’t clear, I am specifically referring to the ignition-maven-plugin that is used by your sdk.

I’ve been using Maven for a long time, and am familiar with how the different scopes are supposed to work.

---

<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:** [September 21, 2017, 6:03am UTC](https://forum.inductiveautomation.com/t/ignition-maven-plugin-behavior/15407/4 "2017-09-21T06:03:07Z")

</div>

The plugin is not open source but I think we may be able to change that… there’s not much going on in the plugin anyway.

---

<div class="post-metadata">

**Author:** ![magno32](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/magno32/32/3402_2.png) [@magno32](https://forum.inductiveautomation.com/u/magno32)\
**Post date:** [September 21, 2017, 2:52pm UTC](https://forum.inductiveautomation.com/t/ignition-maven-plugin-behavior/15407/5 "2017-09-21T14:52:03Z")

</div>

Not a huge deal, it would just help someone like me with configuration issues.

Thanks!
