From 7cedfb2df269ddfa997458ed4806ff84b90daf74 Mon Sep 17 00:00:00 2001 From: "massimiliano.assante" Date: Fri, 27 Sep 2013 12:52:15 +0000 Subject: [PATCH] removed gcore dep git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/notifications@82086 82a268e6-3cf1-43bd-a215-b396298e98cf --- .classpath | 5 ++- .settings/com.google.gdt.eclipse.core.prefs | 2 +- pom.xml | 32 +++++++++---------- .../server/NotificationsServiceImpl.java | 10 +++--- 4 files changed, 22 insertions(+), 27 deletions(-) diff --git a/.classpath b/.classpath index b107a68..491b63f 100644 --- a/.classpath +++ b/.classpath @@ -1,6 +1,6 @@ - + @@ -14,7 +14,6 @@ - @@ -31,5 +30,5 @@ - + diff --git a/.settings/com.google.gdt.eclipse.core.prefs b/.settings/com.google.gdt.eclipse.core.prefs index 1762b1f..4169d85 100644 --- a/.settings/com.google.gdt.eclipse.core.prefs +++ b/.settings/com.google.gdt.eclipse.core.prefs @@ -1,5 +1,5 @@ eclipse.preferences.version=1 jarsExcludedFromWebInfLib= -lastWarOutDir=/Users/massi/Documents/workspace/notifications/target/notifications-0.5.0-SNAPSHOT +lastWarOutDir=/Users/massi/Documents/workspace/notifications/target/notifications-0.6.0-SNAPSHOT warSrcDir=src/main/webapp warSrcDirIsOutput=false diff --git a/pom.xml b/pom.xml index 2aa5029..6d37331 100644 --- a/pom.xml +++ b/pom.xml @@ -13,12 +13,12 @@ org.gcube.portlets.user notifications war - 0.5.0-SNAPSHOT + 0.6.0-SNAPSHOT gCube Notifications Portlet - 2.4.0 + 2.5.1 distro 1.6 @@ -28,7 +28,17 @@ UTF-8 UTF-8 - + + + + org.gcube.distribution + maven-portal-bom + LATEST + pom + import + + + @@ -41,13 +51,11 @@ com.google.gwt gwt-user - ${gwtVersion} provided com.google.gwt gwt-servlet - ${gwtVersion} provided @@ -56,28 +64,19 @@ 1.3.3 provided - - org.gcube.core - gcf - [1.4.0-SNAPSHOT,2.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 org.gcube.applicationsupportlayer aslcore - [3.2.0-SNAPSHOT, 4.0.0-SNAPSHOT) provided @@ -89,13 +88,12 @@ javax.portlet portlet-api - 2.0 provided org.gcube.portal social-networking-library - [1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT) + [1.3.0-SNAPSHOT, 2.0.0-SNAPSHOT) provided @@ -129,7 +127,7 @@ org.codehaus.mojo gwt-maven-plugin - 2.4.0 + ${gwtVersion} diff --git a/src/main/java/org/gcube/portlets/user/notifications/server/NotificationsServiceImpl.java b/src/main/java/org/gcube/portlets/user/notifications/server/NotificationsServiceImpl.java index 882f347..e4ab0a2 100644 --- a/src/main/java/org/gcube/portlets/user/notifications/server/NotificationsServiceImpl.java +++ b/src/main/java/org/gcube/portlets/user/notifications/server/NotificationsServiceImpl.java @@ -5,7 +5,6 @@ import java.io.FileInputStream; import java.io.IOException; import java.util.ArrayList; import java.util.Calendar; -import java.util.Collection; import java.util.Date; import java.util.HashMap; import java.util.LinkedHashMap; @@ -17,7 +16,6 @@ import javax.servlet.ServletContext; import org.gcube.application.framework.core.session.ASLSession; import org.gcube.application.framework.core.session.SessionManager; -import org.gcube.common.core.utils.logging.GCUBEClientLog; import org.gcube.portal.custom.communitymanager.OrganizationsUtil; import org.gcube.portal.custom.scopemanager.scopehelper.ScopeHelper; import org.gcube.portal.databook.server.DBCassandraAstyanaxImpl; @@ -28,6 +26,8 @@ import org.gcube.portal.databook.shared.NotificationType; import org.gcube.portal.databook.shared.UserInfo; import org.gcube.portlets.user.notifications.client.NotificationsService; import org.gcube.portlets.user.notifications.shared.NotificationPreference; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import com.google.gwt.user.server.rpc.RemoteServiceServlet; import com.liferay.portal.kernel.util.WebKeys; @@ -42,10 +42,8 @@ import edu.emory.mathcs.backport.java.util.Collections; */ @SuppressWarnings("serial") public class NotificationsServiceImpl extends RemoteServiceServlet implements NotificationsService { - /** - * - */ - private static GCUBEClientLog _log = new GCUBEClientLog(NotificationsServiceImpl.class); + + private static final Logger _log = LoggerFactory.getLogger(NotificationsServiceImpl.class); private final static String TYPE_CATEGORIES_FILENAME = "categorybytype.properties"; private final static String TYPE_LABELS_FILENAME = "labelbytype.properties"; private final static String TYPE_DESCRIPTIONS_FILENAME = "descbytype.properties";