From e43d1f54408bacf2af6918bcf26baa28ce1c7794 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Tue, 15 Oct 2019 12:19:16 +0200 Subject: [PATCH] Updated to support Git and Jenkins --- .settings/org.eclipse.jdt.core.prefs | 4 +-- WidgetCommonEvent.launch | 1 + pom.xml | 26 ++++++++++++++++--- .../client/GwtTestWidgetCommonEvent.java | 2 +- .../WidgetCommonEventJUnit.gwt.xml | 2 +- 5 files changed, 27 insertions(+), 8 deletions(-) diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs index 714351a..e52a276 100644 --- a/.settings/org.eclipse.jdt.core.prefs +++ b/.settings/org.eclipse.jdt.core.prefs @@ -1,5 +1,5 @@ eclipse.preferences.version=1 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 -org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.compliance=1.7 org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning -org.eclipse.jdt.core.compiler.source=1.8 +org.eclipse.jdt.core.compiler.source=1.7 diff --git a/WidgetCommonEvent.launch b/WidgetCommonEvent.launch index 6645a68..edaf141 100644 --- a/WidgetCommonEvent.launch +++ b/WidgetCommonEvent.launch @@ -1,5 +1,6 @@ + diff --git a/pom.xml b/pom.xml index b2f0f57..2dd35e7 100644 --- a/pom.xml +++ b/pom.xml @@ -43,7 +43,10 @@ distro config - + + 1.7 + 1.8 + 2.6.1 3.3.2 @@ -84,7 +87,13 @@ gwt-user ${gwtVersion} - + + @@ -129,7 +138,7 @@ src/test/resources - + @@ -164,15 +173,24 @@ resources + + ${maven.compiler.source} WidgetCommonEvent.html ${webappDirectory} org.gcube.portlets.user.td.widgetcommonevent.WidgetCommonEvent - **/GwtTest*.java + + org.apache.maven.plugins maven-assembly-plugin diff --git a/src/test/java/org/gcube/portlets/user/td/widgetcommonevent/client/GwtTestWidgetCommonEvent.java b/src/test/java/org/gcube/portlets/user/td/widgetcommonevent/client/GwtTestWidgetCommonEvent.java index 68da69e..136f045 100644 --- a/src/test/java/org/gcube/portlets/user/td/widgetcommonevent/client/GwtTestWidgetCommonEvent.java +++ b/src/test/java/org/gcube/portlets/user/td/widgetcommonevent/client/GwtTestWidgetCommonEvent.java @@ -29,7 +29,7 @@ public class GwtTestWidgetCommonEvent extends GWTTestCase { */ @Test public void testEvents() { - + System.out.println("Test Ribbon Event"); SimpleEventBus eventBus = new SimpleEventBus(); eventBus.addHandler(RibbonEvent.TYPE, new RibbonEvent.RibbonEventHandler() { diff --git a/src/test/resources/org/gcube/portlets/user/td/widgetcommonevent/WidgetCommonEventJUnit.gwt.xml b/src/test/resources/org/gcube/portlets/user/td/widgetcommonevent/WidgetCommonEventJUnit.gwt.xml index 349d200..cb8f832 100644 --- a/src/test/resources/org/gcube/portlets/user/td/widgetcommonevent/WidgetCommonEventJUnit.gwt.xml +++ b/src/test/resources/org/gcube/portlets/user/td/widgetcommonevent/WidgetCommonEventJUnit.gwt.xml @@ -6,7 +6,7 @@ - +