title: how do I deploy the marketplace-portlet or importing marketplace-portlet dependencies?
body: <p>I'm trying to complete <a href="http://www.liferay.com/documentation/liferay-portal/6.2/development/-/ai/creating-a-hook-liferay-portal-6-2-dev-guide-10-en" rel="nofollow noreferrer">The Official Documentation for Hooks in Liferay</a>. About halfway down that page, there is a note.</p>
  
  <pre><code>Note: If the Liferay server prints the following message to your console,
  the Marketplace Portlet and Portal Compatibility Hook must not already be
  deployed on your server.
  
  "Plugin example-hook requires marketplace-portlet, portal-compat-hook"
  </code></pre>
  
  <p>I do get this message, so I attempt to follow the instructions:</p>
  
  <pre><code>You can fork and clone Liferay’s liferay-plugins project from GitHub, checkout the   
  respective branch and/or tag, and deploy each plugin. You can install the Plugins
  SDK in Liferay IDE and import each plugin and deploy them. Here is information on
  each of the plugins:
  
  Marketplace Portlet (marketplace-portlet) - is available at liferay-
  plugins/portlets/marketplace-portlet.
  
  Portal Compatibility Hook (portal-compat-hook) - is available at liferay-
  plugins/hooks/portal-compat-hook.
  </code></pre>
  
  <p>This is as much information as I can find about setting up the marketplace-portlet.</p>
  
  <p>So I clone, and add the whole repo as an existing Eclipse project, not a liferay project. I check the checkbox for look for nested projects, find and add the marketplace portlet and hit finished. Then I assume to fix the build path by changing <code>plugin-master</code> to <code>portal-6.2.x</code></p>
  
  <p>As you can see, this solves more than half of the missing .jars, but the ones that are still missing claim the build path is the same, so they are missing from the repo, or need to be built. I have no idea which.</p>
  
  <p>So, how do I deploy the marketplace-portlet?</p>
  
  <p><img src="https://i.stack.imgur.com/iR1Td.png" alt="build issues"></p>