From 50435c4f8f725bc171021c1004db2b41a422aef0 Mon Sep 17 00:00:00 2001 From: Francesco Mangiacrapa Date: Fri, 2 Oct 2015 12:42:33 +0000 Subject: [PATCH] 429: Workspace: uploading big files Task-Url: https://support.d4science.org/issues/429 Updated pom and distro git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@119345 82a268e6-3cf1-43bd-a215-b396298e98cf --- .classpath | 10 +- .settings/org.eclipse.wst.common.component | 1 - distro/README | 4 +- distro/descriptor.xml | 2 +- distro/profile.xml | 10 +- pom.xml | 120 ++++++++++-------- .../WorkspaceUploader.gwt.xml | 3 +- .../WorkspaceUploader.gwt.xml | 3 +- 8 files changed, 76 insertions(+), 77 deletions(-) diff --git a/.classpath b/.classpath index c78cf73..3e304a6 100644 --- a/.classpath +++ b/.classpath @@ -1,16 +1,11 @@ - + - - - - - @@ -30,9 +25,8 @@ - - + diff --git a/.settings/org.eclipse.wst.common.component b/.settings/org.eclipse.wst.common.component index cd2a508..d5bd59d 100644 --- a/.settings/org.eclipse.wst.common.component +++ b/.settings/org.eclipse.wst.common.component @@ -3,7 +3,6 @@ - diff --git a/distro/README b/distro/README index e0bc42d..addb02d 100644 --- a/distro/README +++ b/distro/README @@ -1,4 +1,4 @@ -The gCube System - WorkspacePortlet +The gCube System - Workspace Uploader ------------------------------------------------------------ This work has been partially supported by the following European projects: DILIGENT (FP6-2003-IST-2), @@ -16,7 +16,7 @@ Authors Version and Release Date ------------------------ -v. 6.8.0 July 2015 +v. 1.0.0 October 2015 Description diff --git a/distro/descriptor.xml b/distro/descriptor.xml index 4efc827..c468f13 100644 --- a/distro/descriptor.xml +++ b/distro/descriptor.xml @@ -36,7 +36,7 @@ true - target/${build.finalName}.war + target/${build.finalName}.jar /${artifactId} diff --git a/distro/profile.xml b/distro/profile.xml index 51c3b6b..a8e8deb 100644 --- a/distro/profile.xml +++ b/distro/profile.xml @@ -1,12 +1,12 @@ - Service + Library ${description} - PortletUser + PortletsWidgets ${artifactId} - ${version} + 1.0.0 ${artifactId} @@ -17,9 +17,9 @@ ${version} - target/${build.finalName}.war + ${build.finalName}.jar - + \ No newline at end of file diff --git a/pom.xml b/pom.xml index 2d6373f..f8f7023 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ 4.0.0 org.gcube.portlets.widgets workspace-uploader - war + jar 1.0.0-SNAPSHOT Workspace Uploader Widget @@ -201,79 +201,44 @@ - - - ${webappDirectory}/WEB-INF/classes - + + + src/main/java + + **/*.* + + + - - - org.codehaus.mojo - gwt-maven-plugin - ${gwtVersion} - - - - compile - - - - - - - WorkspacePortlet.html - ${webappDirectory} - - - - - - org.apache.maven.plugins - maven-war-plugin - 2.1.1 - - - compile - - exploded - - - - - ${webappDirectory} - - - - org.apache.maven.plugins maven-compiler-plugin - 2.3.2 ${maven.compiler.source} ${maven.compiler.target} - + org.apache.maven.plugins - maven-assembly-plugin + maven-jar-plugin 2.2 - - - ${distroDirectory}/descriptor.xml - - - servicearchive - install - single + test-jar + + + org.apache.maven.plugins + maven-surefire-plugin + 2.12 + + true + + org.apache.maven.plugins maven-resources-plugin @@ -300,6 +265,49 @@ + + + org.apache.maven.plugins + maven-assembly-plugin + 2.2 + + + ${distroDirectory}/descriptor.xml + + + + fully.qualified.MainClass + + + + + + servicearchive + install + + single + + + + + + + + org.codehaus.mojo + gwt-maven-plugin + ${gwtVersion} + + + + + + + + + + + + diff --git a/src/main/java/org/gcube/portlets/widgets/workspaceuploader/WorkspaceUploader.gwt.xml b/src/main/java/org/gcube/portlets/widgets/workspaceuploader/WorkspaceUploader.gwt.xml index 02ae691..a5df1e5 100644 --- a/src/main/java/org/gcube/portlets/widgets/workspaceuploader/WorkspaceUploader.gwt.xml +++ b/src/main/java/org/gcube/portlets/widgets/workspaceuploader/WorkspaceUploader.gwt.xml @@ -17,8 +17,7 @@ - + diff --git a/src/main/resources/org/gcube/portlets/widgets/workspaceuploader/WorkspaceUploader.gwt.xml b/src/main/resources/org/gcube/portlets/widgets/workspaceuploader/WorkspaceUploader.gwt.xml index 02ae691..a5df1e5 100644 --- a/src/main/resources/org/gcube/portlets/widgets/workspaceuploader/WorkspaceUploader.gwt.xml +++ b/src/main/resources/org/gcube/portlets/widgets/workspaceuploader/WorkspaceUploader.gwt.xml @@ -17,8 +17,7 @@ - +