diff --git a/pom.xml b/pom.xml
index 7dacdd3..2e5ca27 100644
--- a/pom.xml
+++ b/pom.xml
@@ -38,26 +38,32 @@
UTF-8
UTF-8
-
+
+
+
+ org.gcube.distribution
+ maven-portal-bom
+ LATEST
+ pom
+ import
+
+
+
-
com.google.gwt
gwt-user
- ${gwtVersion}
provided
xalan
xalan
- 2.7.1
com.google.gwt
gwt-servlet
- ${gwtVersion}
provided
@@ -79,19 +85,16 @@
org.gcube.applicationsupportlayer
aslcore
- [3.2.0-SNAPSHOT, 4.0.0-SNAPSHOT)
provided
org.gcube.portlets.user
gcube-widgets
- [1.4.0-SNAPSHOT, 2.0.0-SNAPSHOT)
provided
org.gcube.portal
custom-portal-handler
- [1.2.0-SNAPSHOT, 2.0.0-SNAPSHOT)
provided
@@ -110,24 +113,20 @@
javax.portlet
portlet-api
- 2.0
provided
log4j
log4j
- 1.2.16
org.slf4j
slf4j-log4j12
- 1.6.4
org.slf4j
slf4j-api
- 1.6.4
diff --git a/src/main/java/org/gcube/portlets/admin/sepeditor/server/RuntimeResourceCreatorServiceImpl.java b/src/main/java/org/gcube/portlets/admin/sepeditor/server/RuntimeResourceCreatorServiceImpl.java
index 8bcdccd..add48e6 100644
--- a/src/main/java/org/gcube/portlets/admin/sepeditor/server/RuntimeResourceCreatorServiceImpl.java
+++ b/src/main/java/org/gcube/portlets/admin/sepeditor/server/RuntimeResourceCreatorServiceImpl.java
@@ -20,7 +20,6 @@ import javax.xml.parsers.ParserConfigurationException;
import org.apache.log4j.Logger;
import org.gcube.application.framework.core.session.ASLSession;
import org.gcube.application.framework.core.session.SessionManager;
-import org.gcube.common.core.scope.ServiceMap;
import org.gcube.common.encryption.StringEncrypter;
import org.gcube.common.resources.gcore.ServiceEndpoint;
import org.gcube.common.resources.gcore.ServiceEndpoint.AccessPoint;
@@ -161,29 +160,6 @@ public class RuntimeResourceCreatorServiceImpl extends RemoteServiceServlet impl
ScopeProvider.instance.set(currScope);
return result;
}
- /**
- *
- * @param scope
- * @return
- * @throws Exception
- */
- private static ServiceMap loadServiceMap(String scope) throws Exception {
- ServiceMap map = new ServiceMap();
- if (scope.split("/").length > 3) { //is a VRE SCOPE get its VO Map
- int lastSlash = scope.lastIndexOf("/");
- scope = scope.substring(0, lastSlash);
- }
-
- int lastSlash = scope.lastIndexOf("/");
- scope = scope.substring(lastSlash+1, scope.length());
-
- String fileName = "ServiceMap_" + scope + ".xml";
- _log.debug("Trying load map " + fileName);
- String filePath = System.getenv("GLOBUS_LOCATION") + File.separator + "config" + File.separator + fileName;
- map.load(new FileReader(filePath));
- return map;
- }
-
@Override
public InitInfo getInitialInfo(boolean isEditMode, String idToEdit, String curscope) {