# Dependency on Marketplace plugins

**URL:** <https://community.developer.atlassian.com/t/dependency-on-marketplace-plugins/19740>\
**Category:** Jira Server\
**Created:** [June 12, 2018, 11:33am UTC](https://community.developer.atlassian.com/t/dependency-on-marketplace-plugins/19740 "2018-06-12T11:33:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![konrad.garus1](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/konrad.garus1/32/36247_2.png) [@konrad.garus1](https://community.developer.atlassian.com/u/konrad.garus1)\
**Post date:** [June 12, 2018, 11:33am UTC](https://community.developer.atlassian.com/t/dependency-on-marketplace-plugins/19740/1 "2018-06-12T11:33:53Z")

</div>

I’m working on a plugin that depends on another plugin from the Marketplace, let’s say Portfolio.

Is there a way to put something in my plugin descriptor (pom.xml or atlassian-plugin.xml) to indicate the dependency?

What can I do to make the Jira instance started with AMPS (e.g. atlas-debug) start with my dependent plugin (Portfolio) installed?

---

<div class="post-metadata">

**Author:** ![scott](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@scott](https://community.developer.atlassian.com/u/scott)\
**Post date:** [June 13, 2018, 2:37pm UTC](https://community.developer.atlassian.com/t/dependency-on-marketplace-plugins/19740/2 "2018-06-13T14:37:29Z")

</div>

Konrad,

See `pluginArtifacts` here: [https://developer.atlassian.com/server/framework/atlassian-sdk/amps-build-configuration-reference/](https://developer.atlassian.com/server/framework/atlassian-sdk/amps-build-configuration-reference/)

This example is also relevant and potentially helpful: [https://bitbucket.org/bwoskow/optional-service-sample-plugin/src/master/](https://bitbucket.org/bwoskow/optional-service-sample-plugin/src/master/)

Scott

---

<div class="post-metadata">

**Author:** ![konrad.garus1](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/konrad.garus1/32/36247_2.png) [@konrad.garus1](https://community.developer.atlassian.com/u/konrad.garus1)\
**Post date:** [June 13, 2018, 3:12pm UTC](https://community.developer.atlassian.com/t/dependency-on-marketplace-plugins/19740/3 "2018-06-13T15:12:03Z")

</div>

What if the plugin is not in a Maven repository that I can access?

---

<div class="post-metadata">

**Author:** ![scott](https://avatars.discourse-cdn.com/v4/letter/s/3e96dc/32.png) [@scott](https://community.developer.atlassian.com/u/scott)\
**Post date:** [June 13, 2018, 3:37pm UTC](https://community.developer.atlassian.com/t/dependency-on-marketplace-plugins/19740/4 "2018-06-13T15:37:39Z")

</div>

If you don’t have your own Nexus server, you should still be able to install the other plugin locally to your ~/.m2/repository (“atlas-mvn install”) which would allow it to be picked up in your plugin’s pom.
