diff --git a/.classpath b/.classpath
new file mode 100644
index 0000000..9c865fb
--- /dev/null
+++ b/.classpath
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/.project b/.project
new file mode 100644
index 0000000..c3f52d7
--- /dev/null
+++ b/.project
@@ -0,0 +1,23 @@
+
+
+ gcube-portal-bundle
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+ org.eclipse.m2e.core.maven2Builder
+
+
+
+
+
+ org.eclipse.jdt.core.javanature
+ org.eclipse.m2e.core.maven2Nature
+
+
diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..f9fe345
--- /dev/null
+++ b/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,4 @@
+eclipse.preferences.version=1
+encoding//src/main/java=UTF-8
+encoding//src/test/java=UTF-8
+encoding/=UTF-8
diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000..abec6ca
--- /dev/null
+++ b/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,5 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
+org.eclipse.jdt.core.compiler.source=1.5
diff --git a/.settings/org.eclipse.m2e.core.prefs b/.settings/org.eclipse.m2e.core.prefs
new file mode 100644
index 0000000..f897a7f
--- /dev/null
+++ b/.settings/org.eclipse.m2e.core.prefs
@@ -0,0 +1,4 @@
+activeProfiles=
+eclipse.preferences.version=1
+resolveWorkspaceProjects=true
+version=1
diff --git a/distro/LICENSE b/distro/LICENSE
new file mode 100644
index 0000000..2d9616a
--- /dev/null
+++ b/distro/LICENSE
@@ -0,0 +1 @@
+${gcube.license}
\ No newline at end of file
diff --git a/distro/README b/distro/README
new file mode 100644
index 0000000..f3d87ac
--- /dev/null
+++ b/distro/README
@@ -0,0 +1,63 @@
+The gCube System - ${name}
+--------------------------------------------------
+
+${description}
+
+
+${gcube.description}
+
+${gcube.funding}
+
+
+Version
+--------------------------------------------------
+
+${version} (${buildDate})
+
+Please see the file named "changelog.xml" in this directory for the release notes.
+
+
+Authors
+--------------------------------------------------
+
+* Massimiliano Assante (massimiliano.assante@isti.cnr.it), Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo" - CNR, Pisa (Italy).
+
+Maintainers
+-----------
+
+* Massimiliano Assante (massimiliano.assante@isti.cnr.it), Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo" - CNR, Pisa (Italy).
+
+Download information
+--------------------------------------------------
+
+Source code is available from SVN:
+ ${scm.url}
+
+Binaries can be downloaded from the gCube website:
+ ${gcube.website}
+
+
+Installation
+--------------------------------------------------
+
+Installation documentation is available on-line in the gCube Wiki:
+ ${gcube.wikiRoot}/gcube/index.php/GCube_Portal_Installation
+
+Documentation
+--------------------------------------------------
+
+Documentation is available on-line in the gCube Wiki:
+ ${gcube.wikiRoot}/gcube/index.php/GCube_Portal_Installation
+
+Support
+--------------------------------------------------
+
+Bugs and support requests can be reported in the gCube issue tracking tool:
+ ${gcube.issueTracking}
+
+
+Licensing
+--------------------------------------------------
+
+This software is licensed under the terms you may find in the file named "LICENSE" in this directory.
+
diff --git a/distro/changelog.xml b/distro/changelog.xml
new file mode 100644
index 0000000..a5f3128
--- /dev/null
+++ b/distro/changelog.xml
@@ -0,0 +1,12 @@
+
+
+ Updated themes, added bootstrap support
+
+
+ Updated themes for hashtag support
+ Updated dockbar for hashtag support
+
+
+ gCube gCore Free Portal first release
+
+
\ No newline at end of file
diff --git a/distro/descriptor.xml b/distro/descriptor.xml
new file mode 100644
index 0000000..a01bf47
--- /dev/null
+++ b/distro/descriptor.xml
@@ -0,0 +1,30 @@
+
+ portal
+
+ tar.gz
+
+ /
+
+
+ ${distroDirectory}
+ /META-INF
+ true
+
+ README
+ LICENSE
+ changelog.xml
+
+ 755
+ true
+
+
+ Portal-Bundle
+ /
+ true
+ 755
+
+
+
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..412e845
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,848 @@
+
+
+ 4.0.0
+
+ maven-parent
+ org.gcube.tools
+ 1.0.0
+
+ org.gcube.distribution
+ gcube-portal-bundle
+ 4.0.0-SNAPSHOT
+ pom
+
+ gcube-portal-bundle
+ 2016
+
+
+ @maxassante
+ Massimiliano Assante
+
+
+
+ 7.0.62
+ distro
+
+ 300SNAPSHOT
+ 300SNAPSHOT
+ 230SNAPSHOT
+ 160SNAPSHOT
+ 141SNAPSHOT
+ 600SNAPSHOT
+
+
+
+
+
+
+
+
+ aslcontent,aslcore,aslsearch,aslsocial,accesslogger
+ common-clients,common-configuration-scanner,common-fw-clients,common-gcore-resources,common-gcore-stubs,common-scope,common-scope-maps,common-uri,discovery-client,ic-client,registry-publisher,common-authorization,authorization-client,document-store-lib,accounting-lib,document-store-lib-couchdb
+ home-library,home-library-model,home-library-jcr,jackrabbit-jcr-commons,jackrabbit-jcr-rmi-custom,jcr
+ social-networking-library,notifications-common-library
+ rrmodel,rrgcubebridge,rrplugins,rraggregator,grs2library,madgikcommonslibrary,resourceregistry-configuration-portal,rrconfprovider-portal
+ gcube-login,gcube-loggedin,UsersManagementPortlet,RolesManagementPortlet,register-vre-users,resource-management,service-endpoint-editor
+ gcube-responsive-theme
+ portal-staging
+
+
+
+
+ org.apache.maven.plugins
+ maven-dependency-plugin
+ 2.8
+
+
+ copy-dependencies_application-support-layer
+ compile
+
+ copy-dependencies
+
+
+ ${basedir}/Portal-Bundle/gCube/lib/_application-support-layer
+ ${asl-artifactsid}
+ true
+ gar, tar.gz
+ false
+ true
+
+
+
+ copy-dependencies-fws
+ compile
+
+ copy-dependencies
+
+
+ ${basedir}/Portal-Bundle/gCube/lib/_fws
+ ${fws-artifactsid}
+ true
+ gar, tar.gz
+ false
+ true
+
+
+
+ copy-dependencies-home-library
+ compile
+
+ copy-dependencies
+
+
+ ${basedir}/Portal-Bundle/gCube/lib/_home-library
+ ${hl-artifactsid}
+ true
+ gar, tar.gz
+ false
+ true
+
+
+
+ copy-dependencies-social-networking-library
+ compile
+
+ copy-dependencies
+
+
+ ${basedir}/Portal-Bundle/gCube/lib/_social-networking-library
+ ${snl-artifactsid}
+ true
+ gar, tar.gz
+ false
+ true
+
+
+
+ copy-dependencies_resourceregistry
+ compile
+
+ copy-dependencies
+
+
+ ${basedir}/Portal-Bundle/gCube/lib/_resource-registry
+ ${rr-artifactsid}
+ true
+ gar, tar.gz
+ false
+ true
+
+
+
+ copy-dependencies_enablingportlets
+ compile
+
+ copy-dependencies
+
+
+ ${basedir}/Portal-Bundle/deploy
+ ${ep-artifactsid}
+ false
+ false
+ true
+ gar, tar.gz
+ false
+ true
+
+
+
+ copy-dependencies_customPlugins
+ compile
+
+ copy-dependencies
+
+
+ ${basedir}/Portal-Bundle/deploy
+ ${custom-plugins-artifactsid}
+ false
+ false
+ true
+ gar, tar.gz
+ false
+ true
+
+
+
+ copy-dependencies_stagingProcedure
+ compile
+
+ copy-dependencies
+
+
+ ${basedir}/Portal-Bundle/gCube/lib/_misc
+ ${staging-plugins-artifactsid}
+ false
+ false
+ true
+ gar, tar.gz
+ false
+ true
+
+
+
+ copy-dependencies-misc
+ compile
+
+ copy-dependencies
+
+
+ ${basedir}/Portal-Bundle/gCube/lib/_misc
+ ${asl-artifactsid},${fws-artifactsid},${hl-artifactsid},${snl-artifactsid},${rr-artifactsid},${ep-artifactsid}
+ true
+ gar, tar.gz
+ false
+ true
+
+
+
+ install-portal-distribution-bundle
+ compile
+
+ portal-distribution
+ tar.gz
+ false
+ ${project.basedir}/Portal-Bundle
+ ${project.basedir}
+ true
+
+
+ unpack-dependencies
+
+
+
+
+
+ com.google.code.maven-replacer-plugin
+ replacer
+ 1.5.3
+
+
+ prepare-package
+
+ replace
+
+
+
+
+ ${project.basedir}/Portal-Bundle/tomcat-${tomcat.version}/conf/gcube-portlets.properties
+
+
+ @gCubeLogin@
+ ${gcubeLoginVersionLayout}
+
+
+ @gCubeLoggedin@
+ ${gcubeLoggedinVersionLayout}
+
+
+ @UsersManagement@
+ ${usersManagementVersionLayout}
+
+
+ @RolesManagement@
+ ${rolesManagementVersionLayout}
+
+
+ @addUsers@
+ ${addUsersVersionLayout}
+
+
+ @ResourcesManagement@
+ ${resourceManagementVersionLayout}
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-assembly-plugin
+ 2.2
+
+ false
+
+ distro/descriptor.xml
+
+
+
+
+ portal
+ package
+
+ single
+
+
+
+
+
+
+
+
+
+ org.gcube.distribution
+ maven-portal-bom
+ LATEST
+ pom
+ import
+
+
+
+
+
+
+
+
+ org.gcube.distribution
+ portal-distribution
+ [1.0.0-SNAPSHOT,)
+ bundle
+ tar.gz
+ provided
+
+
+
+ org.gcube.portal.liferay
+ social-dockbar-hook
+ [6.3.0-SNAPSHOT,)
+ war
+
+
+ org.gcube.portal.liferay
+ gcube-responsive-theme
+ 6.3.0-SNAPSHOT
+ war
+
+
+ org.gcube.portal
+ portal-staging
+ [2.0.0-SNAPSHOT,)
+ jar
+
+
+
+ org.gcube.portlets.user
+ gcube-login
+ [3.0.0-SNAPSHOT,)
+ war
+
+
+ org.gcube.portlets.user
+ gcube-loggedin
+ [3.0.0-SNAPSHOT,)
+ war
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ org.gcube.portlets.admin
+ resource-management
+ [6.0.0-SNAPSHOT,)
+ war
+
+
+
+
+
+
+
+
+
+ org.gcube.applicationsupportlayer
+ aslcontent
+ provided
+
+
+ ghn-core-runtime
+ org.gcube.distribution
+
+
+
+
+ org.gcube.applicationsupportlayer
+ aslcore
+ provided
+
+
+ xercesImpl
+ xerces
+
+
+ axis
+ axis
+
+
+
+
+ org.gcube.applicationsupportlayer
+ aslsocial
+ provided
+
+
+ org.gcube.applicationsupportlayer
+ aslsearch
+ provided
+
+
+ org.gcube.applicationsupportlayer
+ accesslogger
+ provided
+
+
+ org.gcube.applicationsupportlayer
+ gcube_search_library
+ provided
+
+
+ org.gcube.informationsystem
+ iscache
+ provided
+
+
+ net.sf.ehcache
+ ehcache-core
+ provided
+
+
+
+
+ org.gcube.common
+ authorization-client
+ provided
+
+
+ org.gcube.common
+ common-authorization
+ provided
+
+
+ org.gcube.core
+ common-clients
+ provided
+
+
+ org.gcube.core
+ common-configuration-scanner
+ provided
+
+
+ org.gcube.core
+ common-fw-clients
+ provided
+
+
+ org.gcube.resources
+ common-gcore-resources
+ provided
+
+
+ org.gcube.core
+ common-gcore-stubs
+ provided
+
+
+ org.gcube.core
+ common-scope
+ provided
+
+
+ org.gcube.core
+ common-scope-maps
+ provided
+
+
+ org.gcube.common
+ common-uri
+ provided
+
+
+ org.gcube.resources.discovery
+ discovery-client
+ provided
+
+
+ org.gcube.resources.discovery
+ ic-client
+ provided
+
+
+ org.gcube.resources
+ registry-publisher
+ provided
+
+
+
+
+ org.gcube.common
+ home-library
+ provided
+
+
+ cxf-rt-rs-client
+ org.apache.cxf
+
+
+
+
+ org.gcube.common
+ home-library-model
+ provided
+
+
+ org.gcube.common
+ home-library-jcr
+ provided
+
+
+ gov.nih.imagej
+ imagej
+ provided
+
+
+ com.lowagie
+ itext
+ provided
+
+
+ org.apache.jackrabbit
+ jackrabbit-jcr-commons
+ provided
+
+
+ org.gcube.externals
+ jackrabbit-jcr-rmi-custom
+
+
+ javax.jcr
+ jcr
+
+
+ org.jfile
+ jfile
+ provided
+
+
+ org.apache.tika
+ tika-core
+ provided
+
+
+ com.thoughtworks.xstream
+ xstream
+ provided
+
+
+ xmlpull
+ xmlpull
+ provided
+
+
+ xpp3
+ xpp3_min
+ provided
+
+
+ xml-apis
+ xml-apis
+ provided
+
+
+
+
+ org.gcube.portal
+ social-networking-library
+ provided
+
+
+ junit
+ junit
+
+
+
+
+ org.gcube.portal
+ notifications-common-library
+
+
+ com.netflix.astyanax
+ astyanax
+ provided
+
+
+ servlet-api
+ org.mortbay.jetty
+
+
+ servlet-api
+ javax.servlet
+
+
+ jetty
+ org.mortbay.jetty
+
+
+
+
+
+
+ org.gcube.execution
+ rrmodel
+ provided
+
+
+ org.gcube.execution
+ rrgcubebridge
+ provided
+
+
+ org.gcube.execution
+ rrplugins
+ provided
+
+
+ org.gcube.execution
+ rraggregator
+ provided
+
+
+ org.gcube.execution
+ grs2library
+ provided
+
+
+ org.gcube.execution
+ madgikcommonslibrary
+ provided
+
+
+ org.gcube.execution
+ resourceregistry-configuration-portal
+ provided
+
+
+ org.gcube.execution
+ rrconfprovider-portal
+ provided
+
+
+
+
+ org.gcube.data.publishing
+ document-store-lib
+ provided
+
+
+ org.gcube.accounting
+ accounting-lib
+ provided
+
+
+ org.gcube.data.publishing
+ document-store-lib-couchdb
+ [1.0.0-SNAPSHOT,)
+ provided
+
+
+
+
+ org.gcube.common.portal
+ portal-manager
+ provided
+
+
+ org.gcube.portal
+ custom-portal-handler
+ [2.0.0-SNAPSHOT,)
+ provided
+
+
+ org.gcube.dvos
+ usermanagement-core
+ provided
+ [2.0.0-SNAPSHOT,)
+
+
+ portal-service
+ com.liferay.portal
+
+
+
+
+ org.gcube.core
+ common-utils-encryption
+ provided
+
+
+ xalan
+ xalan
+
+
+
+
+ org.gcube.core
+ common-encryption
+ provided
+
+
+ aopalliance
+ aopalliance
+ provided
+
+
+ backport-util-concurrent
+ backport-util-concurrent
+ provided
+
+
+
+ com.google.gwt
+ gwt-user
+ provided
+
+
+ com.google.gwt
+ gwt-servlet
+ provided
+
+
+ org.sonatype.sisu.inject
+ guice-servlet
+ provided
+
+
+ javax.inject
+ javax.inject
+ provided
+
+
+ com.google.guava
+ guava
+ provided
+
+
+
+ commons-net
+ commons-net
+ provided
+
+
+ commons-codec
+ commons-codec
+ provided
+
+
+ org.apache.commons
+ commons-compress
+ provided
+
+
+ commons-fileupload
+ commons-fileupload
+ provided
+
+
+ commons-httpclient
+ commons-httpclient
+ provided
+
+
+ commons-beanutils
+ commons-beanutils
+ provided
+
+
+ commons-collections
+ commons-collections
+ provided
+
+
+ commons-configuration
+ commons-configuration
+ provided
+
+
+ commons-io
+ commons-io
+ provided
+
+
+ commons-lang
+ commons-lang
+
+
+ commons-logging
+ commons-logging
+ provided
+
+
+
+ org.gcube.contentmanagement
+ storage-manager-core
+ provided
+
+
+ slf4j-nop
+ org.slf4j
+
+
+
+
+ org.gcube.contentmanagement
+ storage-manager-wrapper
+ provided
+
+
+ org.mongodb
+ mongo-java-driver
+ provided
+
+
+ org.apache.derby
+ derby
+ provided
+
+
+ org.apache.derby
+ derbytools
+ provided
+
+
+
+ com.sun.mail
+ javax.mail
+ provided
+
+
+ org.slf4j
+ slf4j-api
+ provided
+
+
+ org.slf4j
+ slf4j-log4j12
+ provided
+
+
+ log4j
+ log4j
+ provided
+
+
+
+
\ No newline at end of file