# Quarantined Modules

**URL:** <https://forum.inductiveautomation.com/t/quarantined-modules/11594>\
**Category:** Module Development\
**Created:** [April 28, 2016, 10:18am UTC](https://forum.inductiveautomation.com/t/quarantined-modules/11594 "2016-04-28T10:18:27Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [June 22, 2016, 5:29pm UTC](https://forum.inductiveautomation.com/t/quarantined-modules/11594/21 "2016-06-22T17:29:23Z")

</div>

I found some information on the pom.xml where you have to tell it to include the dependencies with the jar file. this just got to complicated because i had to find all my jar libraries i wanted on either github and add them as dependencies to my project pom or i needed to figure out how to install my jars in my local maven install then add them as dependencies in my pom.

```auto
          <plugin>
            <artifactId>maven-dependency-plugin</artifactId>
            <executions>
              <execution>
                <phase>install</phase>
                <goals>
                  <goal>copy-dependencies</goal>
                </goals>
                <configuration>
                  <outputDirectory>${project.build.directory}/lib</outputDirectory>
                </configuration>
              </execution>
            </executions>
          </plugin>
```

After thinking about this a little more what i did to make this process easier for me was just make a project where all it did was make the module free by adding the gateway hook with the isFreeModule function.

the output modl file then can be extracted and i can modify the module.xml file to reference my jar files i want to include and then compress all the files back into a modl file to be signed.

What was the reasoning for changing the a free module to need a gateway hook function rather than just reading it from the module.xml attribute?

---

<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:** [June 22, 2016, 5:35pm UTC](https://forum.inductiveautomation.com/t/quarantined-modules/11594/22 "2016-06-22T17:35:54Z")

</div>

[quote=“Jonathan”]  
What was the reasoning for changing the a free module to need a gateway hook function rather than just reading it from the module.xml attribute?[/quote]

With the move to module authors signing their own modules it’s no longer secure to rely on the flag indicating a module is free to come from the module.xml.

[Previous page](https://forum.inductiveautomation.com/t/quarantined-modules/11594.md?page=1)
