title: "There are no configurable plugins for this app." in Liferay after installing portlet as .war file
body: <p>I want to add portal as a .war file to Liferay. I copied .war file to <code>liferay-portal-6.2-ce-ga2/tomcat-7.0.42/temp/liferay/com/liferay/portal/deploy/socialgraphui-1.0-SNAPSHOT.war</code> </p>
  
  <p>When I install .war file in Liferay in All Apps I see project, but there is only <code>There are no configurable plugins for this app.</code></p>
  
  <p><strong>Project structure</strong></p>
  
  <p><img src="https://i.stack.imgur.com/5JL4v.png" alt="enter image description here"></p>
  
  <p><strong>SocialGraphUI-portlet.xml</strong></p>
  
  <pre><code>    &lt;beans xmlns="http://www.springframework.org/schema/beans"
     xmlns:context="http://www.springframework.org/schema/context"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xmlns:mvc="http://www.springframework.org/schema/mvc"
     xsi:schemaLocation="
      http://www.springframework.org/schema/beans
      http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
  &lt;!--    http://www.springframework.org/schema/mvc 
      http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd--&gt;
      http://www.springframework.org/schema/context
      http://www.springframework.org/schema/context/spring-context-4.0.xsd"&gt;
  
     &lt;context:component-scan base-package="socialgraphui.controller" /&gt;
  
     &lt;bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver"&gt;
        &lt;property name="prefix" value="/WEB-INF/jsp/" /&gt;
        &lt;property name="suffix" value=".jsp" /&gt;
        &lt;property name="viewClass"
                    value="org.springframework.web.servlet.view.JstlView" /&gt;
     &lt;/bean&gt;
  
  &lt;!--    &lt;mvc:annotation-driven&gt;
      &lt;mvc:message-converters&gt;
          &lt;bean class="org.springframework.http.converter.json.GsonHttpMessageConverter" /&gt;
      &lt;/mvc:message-converters&gt;
      &lt;/mvc:annotation-driven&gt;
  
     &lt;mvc:resources mapping="/scripts/**" location="/scripts/" /&gt;
     &lt;mvc:resources mapping="/styles/**" location="/styles/" /&gt;
     &lt;mvc:resources mapping="/fonts/**" location="/fonts/" /&gt;
     &lt;mvc:resources mapping="/images/**" location="/images/" /&gt;
     &lt;mvc:resources mapping="/img/**" location="/img/" /&gt;--&gt;
  
      &lt;bean class="org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter"/&gt; 
      &lt;bean class="org.springframework.web.portlet.mvc.annotation.DefaultAnnotationHandlerMapping"/&gt; 
  
     &lt;!-- Spring MVC Message Source --&gt;
      &lt;bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource"&gt;
          &lt;property name="useCodeAsDefaultMessage" value="true"/&gt;
          &lt;property name="basenames"&gt;
              &lt;list&gt;
                  &lt;value&gt;content.socialGraph&lt;/value&gt;
              &lt;/list&gt;
          &lt;/property&gt;
      &lt;/bean&gt;
  
  &lt;/beans&gt;
  </code></pre>
  
  <p><strong>liferay-portlet.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE liferay-portlet-app PUBLIC "-//Liferay//DTD Portlet Application 6.2.0//EN" "http://www.liferay.com/dtd/liferay-portlet-app_6_2_0.dtd"&gt;
  &lt;liferay-portlet-app&gt;
      &lt;portlet&gt;
          &lt;portlet-name&gt;SocialGraphUI&lt;/portlet-name&gt;
          &lt;instanceable&gt;false&lt;/instanceable&gt;
          &lt;requires-namespaced-parameters&gt;false&lt;/requires-namespaced-parameters&gt;
          &lt;header-portlet-css&gt;/styles/layout-default.css&lt;/header-portlet-css&gt;
          &lt;header-portlet-css&gt;/styles/bootstrap_2.3.2.min.css&lt;/header-portlet-css&gt;
          &lt;header-portlet-css&gt;/styles/bootstrap.icon-large.css&lt;/header-portlet-css&gt;
          &lt;header-portlet-css&gt;/styles/datepicker.css&lt;/header-portlet-css&gt;
          &lt;header-portlet-css&gt;/styles/chosen.css&lt;/header-portlet-css&gt;
          &lt;header-portlet-css&gt;/styles/jquery.dataTables_1.10.3.css&lt;/header-portlet-css&gt;
          &lt;header-portlet-css&gt;/styles/bootstrapValidator_0.5.2.css&lt;/header-portlet-css&gt;
          &lt;header-portlet-css&gt;/styles/font-awesome.css&lt;/header-portlet-css&gt;
          &lt;header-portlet-css&gt;/styles/bootstrap-slider.css&lt;/header-portlet-css&gt;
          &lt;header-portlet-css&gt;/styles/main.css&lt;/header-portlet-css&gt;
          &lt;header-portlet-javascript&gt;/scripts/aui-min_2.0.0.js&lt;/header-portlet-javascript&gt;
          &lt;header-portlet-javascript&gt;/scripts/jquery-1.9.1.js&lt;/header-portlet-javascript&gt;
          &lt;header-portlet-javascript&gt;/scripts/bootstrap.min_2.3.2.js&lt;/header-portlet-javascript&gt;
          &lt;header-portlet-javascript&gt;/scripts/bootstrapValidator_0.5.2.js&lt;/header-portlet-javascript&gt;
          &lt;header-portlet-javascript&gt;/scripts/bootstrapValidator_cs_CZ.js&lt;/header-portlet-javascript&gt;
          &lt;header-portlet-javascript&gt;/scripts/bootstrapValidator_en_US.js&lt;/header-portlet-javascript&gt;
          &lt;header-portlet-javascript&gt;/scripts/jquery-ui-1.9.2.custom.js&lt;/header-portlet-javascript&gt;
          &lt;header-portlet-javascript&gt;/scripts/jquery.layout.min-1.3.0.js&lt;/header-portlet-javascript&gt;
          &lt;header-portlet-javascript&gt;/scripts/bootstrap-datepicker.js&lt;/header-portlet-javascript&gt;
          &lt;header-portlet-javascript&gt;/scripts/bootstrap-slider.js&lt;/header-portlet-javascript&gt;
          &lt;header-portlet-javascript&gt;/scripts/bootstrap-filestyle_1.1.2.js&lt;/header-portlet-javascript&gt;
          &lt;header-portlet-javascript&gt;/scripts/chosen.jquery.js&lt;/header-portlet-javascript&gt;
          &lt;header-portlet-javascript&gt;/scripts/chosen.proto.js&lt;/header-portlet-javascript&gt;
          &lt;header-portlet-javascript&gt;/scripts/d3.js&lt;/header-portlet-javascript&gt;
          &lt;header-portlet-javascript&gt;/scripts/graph.js&lt;/header-portlet-javascript&gt;
          &lt;header-portlet-javascript&gt;/scripts/jquery.dataTables_1.10.3.js&lt;/header-portlet-javascript&gt;
          &lt;header-portlet-javascript&gt;/scripts/underscore_1.7.0.js&lt;/header-portlet-javascript&gt;
          &lt;header-portlet-javascript&gt;/scripts/set.layout.js&lt;/header-portlet-javascript&gt;
          &lt;header-portlet-javascript&gt;/scripts/initialize.js&lt;/header-portlet-javascript&gt;
          &lt;header-portlet-javascript&gt;/scripts/main.js&lt;/header-portlet-javascript&gt;
          &lt;header-portlet-javascript&gt;/scripts/listeners_filter.js&lt;/header-portlet-javascript&gt;
          &lt;header-portlet-javascript&gt;/scripts/listeners_details.js&lt;/header-portlet-javascript&gt;
          &lt;header-portlet-javascript&gt;/scripts/listeners_modals.js&lt;/header-portlet-javascript&gt;
          &lt;header-portlet-javascript&gt;/scripts/validation.js&lt;/header-portlet-javascript&gt;
      &lt;/portlet&gt;
  
      &lt;role-mapper&gt;
          &lt;role-name&gt;administrator&lt;/role-name&gt;
          &lt;role-link&gt;Administrator&lt;/role-link&gt;
      &lt;/role-mapper&gt;
      &lt;role-mapper&gt;
          &lt;role-name&gt;guest&lt;/role-name&gt;
          &lt;role-link&gt;Guest&lt;/role-link&gt;
      &lt;/role-mapper&gt;
      &lt;role-mapper&gt;
          &lt;role-name&gt;power-user&lt;/role-name&gt;
          &lt;role-link&gt;Power User&lt;/role-link&gt;
      &lt;/role-mapper&gt;
      &lt;role-mapper&gt;
          &lt;role-name&gt;user&lt;/role-name&gt;
          &lt;role-link&gt;User&lt;/role-link&gt;
      &lt;/role-mapper&gt;
  
  &lt;/liferay-portlet-app&gt;
  </code></pre>
  
  <p><strong>portlet.xml</strong></p>
  
  <pre><code>    &lt;?xml version='1.0' encoding='UTF-8' ?&gt;
  &lt;portlet-app
      xmlns='http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd'
      xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
      xsi:schemaLocation='http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd'
      version='2.0'&gt;
  
      &lt;portlet&gt;
          &lt;portlet-name&gt;socialGraphUI&lt;/portlet-name&gt;
          &lt;portlet-class&gt;org.springframework.web.portlet.DispatcherPortlet&lt;/portlet-class&gt;
          &lt;init-param&gt;
              &lt;name&gt;contextConfigLocation&lt;/name&gt;
              &lt;value&gt;/WEB-INF/SocialGraphUI-portlet.xml&lt;/value&gt;
          &lt;/init-param&gt;
          &lt;supports&gt;
              &lt;mime-type&gt;text/html&lt;/mime-type&gt;
              &lt;portlet-mode&gt;VIEW&lt;/portlet-mode&gt;
          &lt;/supports&gt;
          &lt;supported-locale&gt;en&lt;/supported-locale&gt;
          &lt;supported-locale&gt;cs&lt;/supported-locale&gt;
          &lt;resource-bundle&gt;content.socialGraph&lt;/resource-bundle&gt;
      &lt;/portlet&gt;
  
  
  &lt;/portlet-app&gt;
  </code></pre>
  
  <p><strong>web.xml</strong></p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"&gt;
      &lt;!-- - Loads the root application context of this web app at startup, - by default from "/WEB-INF/applicationContext.xml". - Note that you need to fall back to Spring's ContextLoaderServlet for - J2EE servers that do not follow the Servlet 2.4 initialization order. - - Use WebApplicationContextUtils.getWebApplicationContext(servletContext) 
          - to access it anywhere in the web application, outside of the framework. - - The root context is the parent of all servlet-specific contexts. - This means that its beans are automatically available in these child contexts, - both for getBean(name) calls and (external) bean references. --&gt;
      &lt;listener&gt;
          &lt;listener-class&gt;org.springframework.web.context.ContextLoaderListener&lt;/listener-class&gt;
      &lt;/listener&gt;
  
      &lt;jsp-config&gt;
          &lt;taglib&gt;
              &lt;taglib-uri&gt;http://java.sun.com/portlet_2_0&lt;/taglib-uri&gt;
              &lt;taglib-location&gt;/WEB-INF/tld/liferay-portlet.tld&lt;/taglib-location&gt;
          &lt;/taglib&gt;
      &lt;/jsp-config&gt;
  
      &lt;context-param&gt;
          &lt;param-name&gt;log4jConfigLocation&lt;/param-name&gt;
          &lt;param-value&gt;/WEB-INF/classes/log4j.properties&lt;/param-value&gt;
      &lt;/context-param&gt;
      &lt;servlet&gt;
          &lt;servlet-name&gt;view-servlet&lt;/servlet-name&gt;
          &lt;servlet-class&gt;org.springframework.web.servlet.ViewRendererServlet&lt;/servlet-class&gt;
          &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
      &lt;/servlet&gt;
  
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;view-servlet&lt;/servlet-name&gt;
          &lt;url-pattern&gt;/WEB-INF/servlet/view&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
  
  &lt;/web-app&gt;
  </code></pre>
  
  <p><strong>liferay-portlet.tld</strong></p>
  
  <pre><code>    &lt;?xml version="1.0"?&gt;
  &lt;!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"&gt;
  
  &lt;taglib&gt;
      &lt;tlib-version&gt;1.0&lt;/tlib-version&gt;
      &lt;jsp-version&gt;1.1&lt;/jsp-version&gt;
      &lt;short-name&gt;portlet&lt;/short-name&gt;
      &lt;uri&gt;http://java.sun.com/portlet&lt;/uri&gt;
      &lt;tag&gt;
          &lt;name&gt;actionURL&lt;/name&gt;
          &lt;tag-class&gt;com.liferay.taglib.portlet.ActionURLTag&lt;/tag-class&gt;
          &lt;tei-class&gt;com.liferay.taglib.portlet.ActionURLTei&lt;/tei-class&gt;
          &lt;body-content&gt;JSP&lt;/body-content&gt;
          &lt;attribute&gt;
              &lt;name&gt;copyCurrentRenderParameters&lt;/name&gt;
              &lt;required&gt;false&lt;/required&gt;
              &lt;rtexprvalue&gt;true&lt;/rtexprvalue&gt;
          &lt;/attribute&gt;
          &lt;attribute&gt;
              &lt;name&gt;escapeXml&lt;/name&gt;
              &lt;required&gt;false&lt;/required&gt;
              &lt;rtexprvalue&gt;true&lt;/rtexprvalue&gt;
          &lt;/attribute&gt;
          &lt;attribute&gt;
              &lt;name&gt;name&lt;/name&gt;
              &lt;required&gt;false&lt;/required&gt;
              &lt;rtexprvalue&gt;true&lt;/rtexprvalue&gt;
          &lt;/attribute&gt;
          &lt;attribute&gt;
              &lt;name&gt;portletMode&lt;/name&gt;
              &lt;required&gt;false&lt;/required&gt;
              &lt;rtexprvalue&gt;true&lt;/rtexprvalue&gt;
          &lt;/attribute&gt;
          &lt;attribute&gt;
              &lt;name&gt;secure&lt;/name&gt;
              &lt;required&gt;false&lt;/required&gt;
              &lt;rtexprvalue&gt;true&lt;/rtexprvalue&gt;
          &lt;/attribute&gt;
          &lt;attribute&gt;
              &lt;name&gt;var&lt;/name&gt;
              &lt;required&gt;false&lt;/required&gt;
              &lt;rtexprvalue&gt;true&lt;/rtexprvalue&gt;
          &lt;/attribute&gt;
          &lt;attribute&gt;
              &lt;name&gt;windowState&lt;/name&gt;
              &lt;required&gt;false&lt;/required&gt;
              &lt;rtexprvalue&gt;true&lt;/rtexprvalue&gt;
          &lt;/attribute&gt;
      &lt;/tag&gt;
      &lt;tag&gt;
          &lt;name&gt;defineObjects&lt;/name&gt;
          &lt;tag-class&gt;com.liferay.taglib.portlet.DefineObjectsTag&lt;/tag-class&gt;
          &lt;tei-class&gt;com.liferay.taglib.portlet.DefineObjectsTei&lt;/tei-class&gt;
          &lt;body-content&gt;empty&lt;/body-content&gt;
      &lt;/tag&gt;
      &lt;tag&gt;
          &lt;name&gt;namespace&lt;/name&gt;
          &lt;tag-class&gt;com.liferay.taglib.portlet.NamespaceTag&lt;/tag-class&gt;
          &lt;body-content&gt;JSP&lt;/body-content&gt;
      &lt;/tag&gt;
      &lt;tag&gt;
          &lt;name&gt;param&lt;/name&gt;
          &lt;tag-class&gt;com.liferay.taglib.util.ParamTag&lt;/tag-class&gt;
          &lt;body-content&gt;JSP&lt;/body-content&gt;
          &lt;attribute&gt;
              &lt;name&gt;name&lt;/name&gt;
              &lt;required&gt;true&lt;/required&gt;
              &lt;rtexprvalue&gt;true&lt;/rtexprvalue&gt;
          &lt;/attribute&gt;
          &lt;attribute&gt;
              &lt;name&gt;value&lt;/name&gt;
              &lt;required&gt;true&lt;/required&gt;
              &lt;rtexprvalue&gt;true&lt;/rtexprvalue&gt;
          &lt;/attribute&gt;
      &lt;/tag&gt;
      &lt;tag&gt;
          &lt;name&gt;property&lt;/name&gt;
          &lt;tag-class&gt;com.liferay.taglib.util.PropertyTag&lt;/tag-class&gt;
          &lt;body-content&gt;JSP&lt;/body-content&gt;
          &lt;attribute&gt;
              &lt;name&gt;name&lt;/name&gt;
              &lt;required&gt;true&lt;/required&gt;
              &lt;rtexprvalue&gt;true&lt;/rtexprvalue&gt;
          &lt;/attribute&gt;
          &lt;attribute&gt;
              &lt;name&gt;value&lt;/name&gt;
              &lt;required&gt;true&lt;/required&gt;
              &lt;rtexprvalue&gt;true&lt;/rtexprvalue&gt;
          &lt;/attribute&gt;
      &lt;/tag&gt;
      &lt;tag&gt;
          &lt;name&gt;renderURL&lt;/name&gt;
          &lt;tag-class&gt;com.liferay.taglib.portlet.RenderURLTag&lt;/tag-class&gt;
          &lt;tei-class&gt;com.liferay.taglib.portlet.RenderURLTei&lt;/tei-class&gt;
          &lt;body-content&gt;JSP&lt;/body-content&gt;
          &lt;attribute&gt;
              &lt;name&gt;copyCurrentRenderParameters&lt;/name&gt;
              &lt;required&gt;false&lt;/required&gt;
              &lt;rtexprvalue&gt;true&lt;/rtexprvalue&gt;
          &lt;/attribute&gt;
          &lt;attribute&gt;
              &lt;name&gt;escapeXml&lt;/name&gt;
              &lt;required&gt;false&lt;/required&gt;
              &lt;rtexprvalue&gt;true&lt;/rtexprvalue&gt;
          &lt;/attribute&gt;
          &lt;attribute&gt;
              &lt;name&gt;portletMode&lt;/name&gt;
              &lt;required&gt;false&lt;/required&gt;
              &lt;rtexprvalue&gt;true&lt;/rtexprvalue&gt;
          &lt;/attribute&gt;
          &lt;attribute&gt;
              &lt;name&gt;secure&lt;/name&gt;
              &lt;required&gt;false&lt;/required&gt;
              &lt;rtexprvalue&gt;true&lt;/rtexprvalue&gt;
          &lt;/attribute&gt;
          &lt;attribute&gt;
              &lt;name&gt;var&lt;/name&gt;
              &lt;required&gt;false&lt;/required&gt;
              &lt;rtexprvalue&gt;true&lt;/rtexprvalue&gt;
          &lt;/attribute&gt;
          &lt;attribute&gt;
              &lt;name&gt;windowState&lt;/name&gt;
              &lt;required&gt;false&lt;/required&gt;
              &lt;rtexprvalue&gt;true&lt;/rtexprvalue&gt;
          &lt;/attribute&gt;
      &lt;/tag&gt;
      &lt;tag&gt;
          &lt;name&gt;resourceURL&lt;/name&gt;
          &lt;tag-class&gt;com.liferay.taglib.portlet.ResourceURLTag&lt;/tag-class&gt;
          &lt;tei-class&gt;com.liferay.taglib.portlet.ResourceURLTei&lt;/tei-class&gt;
          &lt;body-content&gt;JSP&lt;/body-content&gt;
          &lt;attribute&gt;
              &lt;name&gt;cacheability&lt;/name&gt;
              &lt;required&gt;false&lt;/required&gt;
              &lt;rtexprvalue&gt;true&lt;/rtexprvalue&gt;
          &lt;/attribute&gt;
          &lt;attribute&gt;
              &lt;name&gt;escapeXml&lt;/name&gt;
              &lt;required&gt;false&lt;/required&gt;
              &lt;rtexprvalue&gt;true&lt;/rtexprvalue&gt;
          &lt;/attribute&gt;
          &lt;attribute&gt;
              &lt;name&gt;id&lt;/name&gt;
              &lt;required&gt;false&lt;/required&gt;
              &lt;rtexprvalue&gt;true&lt;/rtexprvalue&gt;
          &lt;/attribute&gt;
          &lt;attribute&gt;
              &lt;name&gt;secure&lt;/name&gt;
              &lt;required&gt;false&lt;/required&gt;
              &lt;rtexprvalue&gt;true&lt;/rtexprvalue&gt;
          &lt;/attribute&gt;
          &lt;attribute&gt;
              &lt;name&gt;var&lt;/name&gt;
              &lt;required&gt;false&lt;/required&gt;
              &lt;rtexprvalue&gt;true&lt;/rtexprvalue&gt;
          &lt;/attribute&gt;
      &lt;/tag&gt;
  &lt;/taglib&gt;
  </code></pre>
  
  <p><strong>pom.xml</strong></p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
  &lt;groupId&gt;test&lt;/groupId&gt;
  &lt;artifactId&gt;socialgraphui&lt;/artifactId&gt;
  &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
  &lt;packaging&gt;war&lt;/packaging&gt;
  
  &lt;name&gt;socialgraphui&lt;/name&gt;
  
  &lt;properties&gt;
      &lt;endorsed.dir&gt;${project.build.directory}/endorsed&lt;/endorsed.dir&gt;
      &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
      &lt;spring.version&gt;4.1.0.RELEASE&lt;/spring.version&gt;
      &lt;liferay.version&gt;6.2.1&lt;/liferay.version&gt;
      &lt;hibernate.version&gt;4.2.13.Final&lt;/hibernate.version&gt;
      &lt;spring.data.version&gt;1.6.1.RELEASE&lt;/spring.data.version&gt;
  &lt;/properties&gt;
  
  &lt;dependencies&gt;
      &lt;!-- LifeRay Dependency --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.liferay.portal&lt;/groupId&gt;
          &lt;artifactId&gt;portal-service&lt;/artifactId&gt;
          &lt;version&gt;${liferay.version}&lt;/version&gt;
          &lt;type&gt;jar&lt;/type&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
          &lt;artifactId&gt;servlet-api&lt;/artifactId&gt;
          &lt;version&gt;2.5&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;javax&lt;/groupId&gt;
          &lt;artifactId&gt;javaee-web-api&lt;/artifactId&gt;
          &lt;version&gt;6.0&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.google.guava&lt;/groupId&gt;
          &lt;artifactId&gt;guava&lt;/artifactId&gt;
          &lt;version&gt;18.0&lt;/version&gt;
          &lt;type&gt;jar&lt;/type&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;jstl&lt;/groupId&gt;
          &lt;artifactId&gt;jstl&lt;/artifactId&gt;
          &lt;version&gt;1.2&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;  
          &lt;groupId&gt;com.google.code.gson&lt;/groupId&gt;  
          &lt;artifactId&gt;gson&lt;/artifactId&gt;  
          &lt;version&gt;2.2.4&lt;/version&gt;  
      &lt;/dependency&gt;  
      &lt;dependency&gt;
          &lt;groupId&gt;uk.com.robust-it&lt;/groupId&gt;
          &lt;artifactId&gt;cloning&lt;/artifactId&gt;
          &lt;version&gt;1.7.4&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring-orm&lt;/artifactId&gt;
          &lt;version&gt;${spring.version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring-core&lt;/artifactId&gt;
          &lt;version&gt;${spring.version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring-web&lt;/artifactId&gt;
          &lt;version&gt;${spring.version}&lt;/version&gt;
          &lt;type&gt;jar&lt;/type&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring-webmvc-portlet&lt;/artifactId&gt;
          &lt;version&gt;${spring.version}&lt;/version&gt;
          &lt;type&gt;jar&lt;/type&gt;
      &lt;/dependency&gt;
  
      &lt;!-- Spring Data JPA deps--&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring-aop&lt;/artifactId&gt;
          &lt;version&gt;${spring.version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring-beans&lt;/artifactId&gt;
          &lt;version&gt;${spring.version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring-context&lt;/artifactId&gt;
          &lt;version&gt;${spring.version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring-expression&lt;/artifactId&gt;
          &lt;version&gt;${spring.version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring-tx&lt;/artifactId&gt;
          &lt;version&gt;${spring.version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;!-- END Spring Data JPA deps--&gt;
  
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.hibernate.javax.persistence&lt;/groupId&gt;
          &lt;artifactId&gt;hibernate-jpa-2.0-api&lt;/artifactId&gt;
          &lt;version&gt;1.0.1.Final&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.hibernate&lt;/groupId&gt;
          &lt;artifactId&gt;hibernate-core&lt;/artifactId&gt;
          &lt;version&gt;${hibernate.version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt; 
          &lt;groupId&gt;org.hibernate&lt;/groupId&gt; 
          &lt;artifactId&gt;hibernate-entitymanager&lt;/artifactId&gt; 
          &lt;version&gt;${hibernate.version}&lt;/version&gt; 
      &lt;/dependency&gt; 
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.postgresql&lt;/groupId&gt;
          &lt;artifactId&gt;postgresql&lt;/artifactId&gt;
          &lt;version&gt;9.3-1102-jdbc41&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring-jdbc&lt;/artifactId&gt;
          &lt;version&gt;${spring.version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;javax.portlet&lt;/groupId&gt;
          &lt;artifactId&gt;portlet-api&lt;/artifactId&gt;
          &lt;version&gt;2.0&lt;/version&gt;
          &lt;type&gt;jar&lt;/type&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.codehaus.jettison&lt;/groupId&gt;
          &lt;artifactId&gt;jettison&lt;/artifactId&gt;
          &lt;version&gt;1.3.5&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;!-- GOOGLE visualization --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.google.visualization&lt;/groupId&gt;
          &lt;artifactId&gt;visualization-datasource&lt;/artifactId&gt;
          &lt;version&gt;1.1.1&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;!-- SLF4J --&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
          &lt;artifactId&gt;slf4j-simple&lt;/artifactId&gt;
          &lt;version&gt;1.6.6&lt;/version&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;        
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.social&lt;/groupId&gt;
          &lt;artifactId&gt;spring-social-core&lt;/artifactId&gt;
          &lt;version&gt;1.0.3.RELEASE&lt;/version&gt;
          &lt;type&gt;jar&lt;/type&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;commons-httpclient&lt;/groupId&gt;
          &lt;artifactId&gt;commons-httpclient&lt;/artifactId&gt;
          &lt;version&gt;3.1&lt;/version&gt;
          &lt;type&gt;jar&lt;/type&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.data&lt;/groupId&gt;
          &lt;artifactId&gt;spring-data-jpa&lt;/artifactId&gt;
          &lt;version&gt;${spring.data.version}&lt;/version&gt;
          &lt;type&gt;jar&lt;/type&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  
  &lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.3.2&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;source&gt;1.8&lt;/source&gt;
                  &lt;target&gt;1.8&lt;/target&gt;
                  &lt;compilerArguments&gt;
                      &lt;endorseddirs&gt;${endorsed.dir}&lt;/endorseddirs&gt;
                  &lt;/compilerArguments&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.1.1&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;failOnMissingWebXml&gt;false&lt;/failOnMissingWebXml&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-dependency-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.1&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;phase&gt;validate&lt;/phase&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;copy&lt;/goal&gt;
                      &lt;/goals&gt;
                      &lt;configuration&gt;
                          &lt;outputDirectory&gt;${endorsed.dir}&lt;/outputDirectory&gt;
                          &lt;silent&gt;true&lt;/silent&gt;
                          &lt;artifactItems&gt;
                              &lt;artifactItem&gt;
                                  &lt;groupId&gt;javax&lt;/groupId&gt;
                                  &lt;artifactId&gt;javaee-endorsed-api&lt;/artifactId&gt;
                                  &lt;version&gt;6.0&lt;/version&gt;
                                  &lt;type&gt;jar&lt;/type&gt;
                              &lt;/artifactItem&gt;
                          &lt;/artifactItems&gt;
                      &lt;/configuration&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p></p>