Migrated to git
This commit is contained in:
parent
b65971b540
commit
24fa210be4
15
.classpath
15
.classpath
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<classpath>
|
<classpath>
|
||||||
<classpathentry kind="src" output="target/gcube-url-shortener-1.0.0-SNAPSHOT/WEB-INF/classes" path="src/main/java">
|
<classpathentry kind="src" output="target/classes" path="src/main/java">
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="optional" value="true"/>
|
<attribute name="optional" value="true"/>
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
|
@ -10,25 +10,20 @@
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="optional" value="true"/>
|
<attribute name="optional" value="true"/>
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
|
<attribute name="test" value="true"/>
|
||||||
</attributes>
|
</attributes>
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
<classpathentry kind="src" path="src/test/resources"/>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
<attribute name="org.eclipse.jst.component.nondependency" value=""/>
|
<attribute name="org.eclipse.jst.component.nondependency" value=""/>
|
||||||
</attributes>
|
</attributes>
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
<classpathentry excluding="**" kind="src" output="target/gcube-url-shortener-1.0.0-SNAPSHOT/WEB-INF/classes" path="src/main/resources">
|
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
|
||||||
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
|
||||||
<attributes>
|
<attributes>
|
||||||
<attribute name="maven.pomderived" value="true"/>
|
<attribute name="maven.pomderived" value="true"/>
|
||||||
</attributes>
|
</attributes>
|
||||||
</classpathentry>
|
</classpathentry>
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7">
|
<classpathentry kind="output" path="target/classes"/>
|
||||||
<attributes>
|
|
||||||
<attribute name="owner.project.facets" value="java"/>
|
|
||||||
</attributes>
|
|
||||||
</classpathentry>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
|
|
||||||
<classpathentry kind="output" path="target/gcube-url-shortener-1.0.0-SNAPSHOT/WEB-INF/classes"/>
|
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
/target/
|
|
@ -0,0 +1,4 @@
|
||||||
|
eclipse.preferences.version=1
|
||||||
|
jarsExcludedFromWebInfLib=
|
||||||
|
warSrcDir=
|
||||||
|
warSrcDirIsOutput=true
|
|
@ -0,0 +1,2 @@
|
||||||
|
eclipse.preferences.version=1
|
||||||
|
filesCopiedToWebInfLib=
|
|
@ -1,8 +1,9 @@
|
||||||
eclipse.preferences.version=1
|
eclipse.preferences.version=1
|
||||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
|
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
|
||||||
org.eclipse.jdt.core.compiler.compliance=1.7
|
org.eclipse.jdt.core.compiler.compliance=1.8
|
||||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||||
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
|
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
|
||||||
org.eclipse.jdt.core.compiler.source=1.7
|
org.eclipse.jdt.core.compiler.release=disabled
|
||||||
|
org.eclipse.jdt.core.compiler.source=1.8
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<faceted-project>
|
<faceted-project>
|
||||||
<installed facet="jst.utility" version="1.0"/>
|
<installed facet="jst.utility" version="1.0"/>
|
||||||
<installed facet="java" version="1.7"/>
|
<installed facet="java" version="1.8"/>
|
||||||
</faceted-project>
|
</faceted-project>
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
European Union Public Licence V. 1.1
|
#European Union Public Licence V.1.1
|
||||||
|
|
||||||
|
##*EUPL © the European Community 2007*
|
||||||
|
|
||||||
|
|
||||||
EUPL © the European Community 2007
|
This **European Union Public Licence** (the **“EUPL”**) applies to the Work or Software
|
||||||
|
|
||||||
|
|
||||||
This European Union Public Licence (the “EUPL”) applies to the Work or Software
|
|
||||||
(as defined below) which is provided under the terms of this Licence. Any use of
|
(as defined below) which is provided under the terms of this Licence. Any use of
|
||||||
the Work, other than as authorised under this Licence is prohibited (to the
|
the Work, other than as authorised under this Licence is prohibited (to the
|
||||||
extent such use is covered by a right of the copyright holder of the Work).
|
extent such use is covered by a right of the copyright holder of the Work).
|
||||||
|
@ -13,13 +12,13 @@ The Original Work is provided under the terms of this Licence when the Licensor
|
||||||
(as defined below) has placed the following notice immediately following the
|
(as defined below) has placed the following notice immediately following the
|
||||||
copyright notice for the Original Work:
|
copyright notice for the Original Work:
|
||||||
|
|
||||||
Licensed under the EUPL V.1.1
|
**Licensed under the EUPL V.1.1**
|
||||||
|
|
||||||
or has expressed by any other mean his willingness to license under the EUPL.
|
or has expressed by any other mean his willingness to license under the EUPL.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
1. Definitions
|
##1. Definitions
|
||||||
|
|
||||||
In this Licence, the following terms have the following meaning:
|
In this Licence, the following terms have the following meaning:
|
||||||
|
|
||||||
|
@ -60,7 +59,7 @@ In this Licence, the following terms have the following meaning:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
2. Scope of the rights granted by the Licence
|
##2. Scope of the rights granted by the Licence
|
||||||
|
|
||||||
The Licensor hereby grants You a world-wide, royalty-free, non-exclusive,
|
The Licensor hereby grants You a world-wide, royalty-free, non-exclusive,
|
||||||
sub-licensable licence to do the following, for the duration of copyright vested
|
sub-licensable licence to do the following, for the duration of copyright vested
|
||||||
|
@ -86,7 +85,7 @@ rights granted on the Work under this Licence.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
3. Communication of the Source Code
|
##3. Communication of the Source Code
|
||||||
|
|
||||||
The Licensor may provide the Work either in its Source Code form, or as
|
The Licensor may provide the Work either in its Source Code form, or as
|
||||||
Executable Code. If the Work is provided as Executable Code, the Licensor
|
Executable Code. If the Work is provided as Executable Code, the Licensor
|
||||||
|
@ -98,7 +97,7 @@ continues to distribute and/or communicate the Work.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
4. Limitations on copyright
|
##4. Limitations on copyright
|
||||||
|
|
||||||
Nothing in this Licence is intended to deprive the Licensee of the benefits from
|
Nothing in this Licence is intended to deprive the Licensee of the benefits from
|
||||||
any exception or limitation to the exclusive rights of the rights owners in the
|
any exception or limitation to the exclusive rights of the rights owners in the
|
||||||
|
@ -107,7 +106,7 @@ applicable limitations thereto.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
5. Obligations of the Licensee
|
##5. Obligations of the Licensee
|
||||||
|
|
||||||
The grant of the rights mentioned above is subject to some restrictions and
|
The grant of the rights mentioned above is subject to some restrictions and
|
||||||
obligations imposed on the Licensee. Those obligations are the following:
|
obligations imposed on the Licensee. Those obligations are the following:
|
||||||
|
@ -148,7 +147,7 @@ reproducing the content of the copyright notice.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
6. Chain of Authorship
|
##6. Chain of Authorship
|
||||||
|
|
||||||
The original Licensor warrants that the copyright in the Original Work granted
|
The original Licensor warrants that the copyright in the Original Work granted
|
||||||
hereunder is owned by him/her or licensed to him/her and that he/she has the
|
hereunder is owned by him/her or licensed to him/her and that he/she has the
|
||||||
|
@ -164,7 +163,7 @@ terms of this Licence.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
7. Disclaimer of Warranty
|
##7. Disclaimer of Warranty
|
||||||
|
|
||||||
The Work is a work in progress, which is continuously improved by numerous
|
The Work is a work in progress, which is continuously improved by numerous
|
||||||
contributors. It is not a finished work and may therefore contain defects or
|
contributors. It is not a finished work and may therefore contain defects or
|
||||||
|
@ -181,7 +180,7 @@ for the grant of any rights to the Work.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
8. Disclaimer of Liability
|
##8. Disclaimer of Liability
|
||||||
|
|
||||||
Except in the cases of wilful misconduct or damages directly caused to natural
|
Except in the cases of wilful misconduct or damages directly caused to natural
|
||||||
persons, the Licensor will in no event be liable for any direct or indirect,
|
persons, the Licensor will in no event be liable for any direct or indirect,
|
||||||
|
@ -194,7 +193,7 @@ laws as far such laws apply to the Work.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
9. Additional agreements
|
##9. Additional agreements
|
||||||
|
|
||||||
While distributing the Original Work or Derivative Works, You may choose to
|
While distributing the Original Work or Derivative Works, You may choose to
|
||||||
conclude an additional agreement to offer, and charge a fee for, acceptance of
|
conclude an additional agreement to offer, and charge a fee for, acceptance of
|
||||||
|
@ -208,7 +207,7 @@ any such warranty or additional liability.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
10. Acceptance of the Licence
|
##10. Acceptance of the Licence
|
||||||
|
|
||||||
The provisions of this Licence can be accepted by clicking on an icon “I agree”
|
The provisions of this Licence can be accepted by clicking on an icon “I agree”
|
||||||
placed under the bottom of a window displaying the text of this Licence or by
|
placed under the bottom of a window displaying the text of this Licence or by
|
||||||
|
@ -223,7 +222,7 @@ Distribution and/or Communication by You of the Work or copies thereof.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
11. Information to the public
|
##11. Information to the public
|
||||||
|
|
||||||
In case of any Distribution and/or Communication of the Work by means of
|
In case of any Distribution and/or Communication of the Work by means of
|
||||||
electronic communication by You (for example, by offering to download the Work
|
electronic communication by You (for example, by offering to download the Work
|
||||||
|
@ -234,7 +233,7 @@ accessible, concluded, stored and reproduced by the Licensee.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
12. Termination of the Licence
|
##12. Termination of the Licence
|
||||||
|
|
||||||
The Licence and the rights granted hereunder will terminate automatically upon
|
The Licence and the rights granted hereunder will terminate automatically upon
|
||||||
any breach by the Licensee of the terms of the Licence.
|
any breach by the Licensee of the terms of the Licence.
|
||||||
|
@ -245,7 +244,7 @@ remain in full compliance with the Licence.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
13. Miscellaneous
|
##13. Miscellaneous
|
||||||
|
|
||||||
Without prejudice of Article 9 above, the Licence represents the complete
|
Without prejudice of Article 9 above, the Licence represents the complete
|
||||||
agreement between the Parties as to the Work licensed hereunder.
|
agreement between the Parties as to the Work licensed hereunder.
|
||||||
|
@ -266,7 +265,7 @@ their choice.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
14. Jurisdiction
|
##14. Jurisdiction
|
||||||
|
|
||||||
Any litigation resulting from the interpretation of this License, arising
|
Any litigation resulting from the interpretation of this License, arising
|
||||||
between the European Commission, as a Licensor, and any Licensee, will be
|
between the European Commission, as a Licensor, and any Licensee, will be
|
||||||
|
@ -280,7 +279,7 @@ conducts its primary business.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
15. Applicable Law
|
##15. Applicable Law
|
||||||
|
|
||||||
This Licence shall be governed by the law of the European Union country where
|
This Licence shall be governed by the law of the European Union country where
|
||||||
the Licensor resides or has his registered office.
|
the Licensor resides or has his registered office.
|
||||||
|
@ -292,14 +291,13 @@ This licence shall be governed by the Belgian law if:
|
||||||
- or registered office inside a European Union country.
|
- or registered office inside a European Union country.
|
||||||
|
|
||||||
|
|
||||||
===
|
---
|
||||||
|
|
||||||
|
|
||||||
Appendix
|
##Appendix
|
||||||
|
|
||||||
|
|
||||||
|
**“Compatible Licences”** according to article 5 EUPL are:
|
||||||
“Compatible Licences” according to article 5 EUPL are:
|
|
||||||
|
|
||||||
|
|
||||||
- GNU General Public License (GNU GPL) v. 2
|
- GNU General Public License (GNU GPL) v. 2
|
||||||
|
@ -310,4 +308,4 @@ Appendix
|
||||||
|
|
||||||
- Eclipse Public License v. 1.0
|
- Eclipse Public License v. 1.0
|
||||||
|
|
||||||
- Cecill v. 2.0
|
- Cecill v. 2.0
|
|
@ -0,0 +1,54 @@
|
||||||
|
# gCube URI Resolver
|
||||||
|
|
||||||
|
The Gcube Url Shortener uses the Firebase Dynamic Links Short Links API provided by Google (at https://firebase.google.com/docs/reference/dynamic-links/link-shortener).
|
||||||
|
It is a service that takes long URLs and squeezes them into fewer characters to make a link that is easier to share, tweet, or email to friends.
|
||||||
|
|
||||||
|
## Built With
|
||||||
|
|
||||||
|
* [OpenJDK](https://openjdk.java.net/) - The JDK used
|
||||||
|
* [Maven](https://maven.apache.org/) - Dependency Management
|
||||||
|
|
||||||
|
## Documentation
|
||||||
|
|
||||||
|
## Change log
|
||||||
|
|
||||||
|
See the [URI Resolver Releases](https://code-repo.d4science.org/gCubeSystem/gcube-url-shortener/releases)
|
||||||
|
|
||||||
|
## Authors
|
||||||
|
|
||||||
|
* **Francesco Mangiacrapa** ([ORCID](https://orcid.org/0000-0002-6528-664X)) Computer Scientist at [ISTI-CNR Infrascience Group](http://nemis.isti.cnr.it/groups/infrascience)
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
This project is licensed under the EUPL V.1.1 License - see the [LICENSE.md](LICENSE.md) file for details.
|
||||||
|
|
||||||
|
|
||||||
|
## About the gCube Framework
|
||||||
|
This software is part of the [gCubeFramework](https://www.gcube-system.org/ "gCubeFramework"): an
|
||||||
|
open-source software toolkit used for building and operating Hybrid Data
|
||||||
|
Infrastructures enabling the dynamic deployment of Virtual Research Environments
|
||||||
|
by favouring the realisation of reuse oriented policies.
|
||||||
|
|
||||||
|
The projects leading to this software have received funding from a series of European Union programmes including:
|
||||||
|
|
||||||
|
- the Sixth Framework Programme for Research and Technological Development
|
||||||
|
- DILIGENT (grant no. 004260).
|
||||||
|
- the Seventh Framework Programme for research, technological development and demonstration
|
||||||
|
- D4Science (grant no. 212488);
|
||||||
|
- D4Science-II (grant no.239019);
|
||||||
|
- ENVRI (grant no. 283465);
|
||||||
|
- EUBrazilOpenBio (grant no. 288754);
|
||||||
|
- iMarine(grant no. 283644).
|
||||||
|
- the H2020 research and innovation programme
|
||||||
|
- BlueBRIDGE (grant no. 675680);
|
||||||
|
- EGIEngage (grant no. 654142);
|
||||||
|
- ENVRIplus (grant no. 654182);
|
||||||
|
- PARTHENOS (grant no. 654119);
|
||||||
|
- SoBigData (grant no. 654024);
|
||||||
|
- DESIRA (grant no. 818194);
|
||||||
|
- ARIADNEplus (grant no. 823914);
|
||||||
|
- RISIS2 (grant no. 824091);
|
||||||
|
- PerformFish (grant no. 727610);
|
||||||
|
- AGINFRAplus (grant no. 731001).
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<ReleaseNotes>
|
<ReleaseNotes>
|
||||||
<Changeset component="org.gcube.portlets.user.gcube-url-shortener.1-5-0"
|
<Changeset component="org.gcube.portlets.user.gcube-url-shortener.1-5-0"
|
||||||
date="2019-07-05">
|
date="20191126-133444">
|
||||||
<Change>[Task #16415] Migrate to Firebase Dynamic Links APIs</Change>
|
<Change>[Task #16415] Migrate to Firebase Dynamic Links APIs</Change>
|
||||||
</Changeset>
|
</Changeset>
|
||||||
<Changeset component="org.gcube.portlets.user.gcube-url-shortener.1-2-0"
|
<Changeset component="org.gcube.portlets.user.gcube-url-shortener.1-2-0"
|
|
@ -9,17 +9,17 @@
|
||||||
<baseDirectory>/</baseDirectory>
|
<baseDirectory>/</baseDirectory>
|
||||||
<fileSets>
|
<fileSets>
|
||||||
<fileSet>
|
<fileSet>
|
||||||
<directory>${distroDirectory}</directory>
|
|
||||||
<outputDirectory>/</outputDirectory>
|
<outputDirectory>/</outputDirectory>
|
||||||
<useDefaultExcludes>true</useDefaultExcludes>
|
<useDefaultExcludes>true</useDefaultExcludes>
|
||||||
<includes>
|
<includes>
|
||||||
<include>README</include>
|
<include>README.md</include>
|
||||||
<include>LICENSE</include>
|
<include>LICENSE.md</include>
|
||||||
<include>changelog.xml</include>
|
|
||||||
<include>profile.xml</include>
|
<include>profile.xml</include>
|
||||||
|
<include>changelog.xml</include>
|
||||||
</includes>
|
</includes>
|
||||||
<fileMode>755</fileMode>
|
<fileMode>755</fileMode>
|
||||||
<filtered>true</filtered>
|
<filtered>true</filtered>
|
||||||
|
|
||||||
</fileSet>
|
</fileSet>
|
||||||
</fileSets>
|
</fileSets>
|
||||||
<files>
|
<files>
|
|
@ -1,74 +0,0 @@
|
||||||
The gCube System - gcube-url-shortener
|
|
||||||
--------------------------------------------------
|
|
||||||
|
|
||||||
The Gcube Url Shortener uses the Firebase Dynamic Links Short Links API provided by Google (at https://firebase.google.com/docs/reference/dynamic-links/link-shortener).
|
|
||||||
It is a service that takes long URLs and squeezes them into fewer characters to make a link that is easier to share, tweet, or email to friends.
|
|
||||||
|
|
||||||
|
|
||||||
This software is part of the gCube Framework (https://www.gcube-system.org/): an
|
|
||||||
open-source software toolkit used for building and operating Hybrid Data
|
|
||||||
Infrastructures enabling the dynamic deployment of Virtual Research Environments
|
|
||||||
by favouring the realisation of reuse oriented policies.
|
|
||||||
|
|
||||||
The projects leading to this software have received funding from a series of
|
|
||||||
European Union programmes including:
|
|
||||||
* the Sixth Framework Programme for Research and Technological Development -
|
|
||||||
DILIGENT (grant no. 004260);
|
|
||||||
* the Seventh Framework Programme for research, technological development and
|
|
||||||
demonstration - D4Science (grant no. 212488), D4Science-II (grant no.
|
|
||||||
239019),ENVRI (grant no. 283465), EUBrazilOpenBio (grant no. 288754), iMarine
|
|
||||||
(grant no. 283644);
|
|
||||||
* the H2020 research and innovation programme - BlueBRIDGE (grant no. 675680),
|
|
||||||
EGIEngage (grant no. 654142), ENVRIplus (grant no. 654182), Parthenos (grant
|
|
||||||
no. 654119), SoBigData (grant no. 654024), AGINFRA PLUS (grant no. 731001).
|
|
||||||
|
|
||||||
|
|
||||||
Version
|
|
||||||
--------------------------------------------------
|
|
||||||
|
|
||||||
1.5.0-SNAPSHOT (2019-07-05)
|
|
||||||
|
|
||||||
Please see the file named "changelog.xml" in this directory for the release notes.
|
|
||||||
|
|
||||||
|
|
||||||
Authors
|
|
||||||
--------------------------------------------------
|
|
||||||
|
|
||||||
* Francesco Mangiacrapa (francesco.mangiacrapa-AT-isti.cnr.it), Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo" - CNR, Pisa (Italy).
|
|
||||||
|
|
||||||
Maintainers
|
|
||||||
-----------
|
|
||||||
|
|
||||||
* Francesco Mangiacrapa (francesco.mangiacrapa-AT-isti.cnr.it), Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo" - CNR, Pisa (Italy).
|
|
||||||
|
|
||||||
Download information
|
|
||||||
--------------------------------------------------
|
|
||||||
|
|
||||||
Source code is available from SVN:
|
|
||||||
https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-url-shortener
|
|
||||||
|
|
||||||
Binaries can be downloaded from the gCube website:
|
|
||||||
https://www.gcube-system.org/
|
|
||||||
|
|
||||||
|
|
||||||
Installation
|
|
||||||
--------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
Documentation
|
|
||||||
--------------------------------------------------
|
|
||||||
|
|
||||||
Documentation is available on-line in the gCube Wiki:
|
|
||||||
https://wiki.gcube-system.org/gcube/index.php
|
|
||||||
|
|
||||||
Support
|
|
||||||
--------------------------------------------------
|
|
||||||
|
|
||||||
Bugs and support requests can be reported in the gCube issue tracking tool:
|
|
||||||
https://support.d4science.org/projects/gcube/
|
|
||||||
|
|
||||||
|
|
||||||
Licensing
|
|
||||||
--------------------------------------------------
|
|
||||||
|
|
||||||
This software is licensed under the terms you may find in the file named "LICENSE" in this directory.
|
|
|
@ -1,32 +0,0 @@
|
||||||
<assembly
|
|
||||||
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
|
|
||||||
<id>servicearchive</id>
|
|
||||||
<formats>
|
|
||||||
<format>tar.gz</format>
|
|
||||||
</formats>
|
|
||||||
<baseDirectory>/</baseDirectory>
|
|
||||||
<fileSets>
|
|
||||||
<fileSet>
|
|
||||||
<directory>distro</directory>
|
|
||||||
<outputDirectory>/</outputDirectory>
|
|
||||||
<useDefaultExcludes>true</useDefaultExcludes>
|
|
||||||
<includes>
|
|
||||||
<include>README</include>
|
|
||||||
<include>LICENSE</include>
|
|
||||||
<include>changelog.xml</include>
|
|
||||||
<include>profile.xml</include>
|
|
||||||
</includes>
|
|
||||||
<fileMode>755</fileMode>
|
|
||||||
<filtered>true</filtered>
|
|
||||||
</fileSet>
|
|
||||||
</fileSets>
|
|
||||||
<files>
|
|
||||||
<file>
|
|
||||||
<source>target/gcube-url-shortener-1.5.0-SNAPSHOT.jar</source>
|
|
||||||
<outputDirectory>/gcube-url-shortener</outputDirectory>
|
|
||||||
</file>
|
|
||||||
|
|
||||||
</files>
|
|
||||||
</assembly>
|
|
|
@ -1,26 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<Resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
||||||
<ID></ID>
|
|
||||||
<Type>Service</Type>
|
|
||||||
<Profile>
|
|
||||||
<Description>The Gcube Url Shortener uses the Firebase Dynamic Links Short Links API provided by Google (at https://firebase.google.com/docs/reference/dynamic-links/link-shortener).
|
|
||||||
It is a service that takes long URLs and squeezes them into fewer characters to make a link that is easier to share, tweet, or email to friends.</Description>
|
|
||||||
<Class>PortletUser</Class>
|
|
||||||
<Name>gcube-url-shortener</Name>
|
|
||||||
<Version>1.5.0-SNAPSHOT</Version>
|
|
||||||
<Packages>
|
|
||||||
<Software>
|
|
||||||
<Name>gcube-url-shortener</Name>
|
|
||||||
<Version>1.5.0-SNAPSHOT</Version>
|
|
||||||
<MavenCoordinates>
|
|
||||||
<groupId>org.gcube.portlets.user</groupId>
|
|
||||||
<artifactId>gcube-url-shortener</artifactId>
|
|
||||||
<version>1.5.0-SNAPSHOT</version>
|
|
||||||
</MavenCoordinates>
|
|
||||||
<Files>
|
|
||||||
<File>target/gcube-url-shortener-1.5.0-SNAPSHOT.war</File>
|
|
||||||
</Files>
|
|
||||||
</Software>
|
|
||||||
</Packages>
|
|
||||||
</Profile>
|
|
||||||
</Resource>
|
|
102
pom.xml
102
pom.xml
|
@ -1,10 +1,11 @@
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<artifactId>maven-parent</artifactId>
|
<artifactId>maven-parent</artifactId>
|
||||||
<groupId>org.gcube.tools</groupId>
|
<groupId>org.gcube.tools</groupId>
|
||||||
<version>1.0.0</version>
|
<version>1.1.0</version>
|
||||||
<relativePath />
|
<relativePath />
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
|
@ -16,8 +17,11 @@
|
||||||
<name>gcube-url-shortener </name>
|
<name>gcube-url-shortener </name>
|
||||||
<description>The Gcube Url Shortener uses the Firebase Dynamic Links Short Links API provided by Google (at https://firebase.google.com/docs/reference/dynamic-links/link-shortener).
|
<description>The Gcube Url Shortener uses the Firebase Dynamic Links Short Links API provided by Google (at https://firebase.google.com/docs/reference/dynamic-links/link-shortener).
|
||||||
It is a service that takes long URLs and squeezes them into fewer characters to make a link that is easier to share, tweet, or email to friends.</description>
|
It is a service that takes long URLs and squeezes them into fewer characters to make a link that is easier to share, tweet, or email to friends.</description>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
<url>https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/${project.artifactId}</url>
|
<connection>scm:git:https://code-repo.d4science.org/gCubeSystem/${project.artifactId}.git</connection>
|
||||||
|
<developerConnection>scm:git:https://code-repo.d4science.org/gCubeSystem/${project.artifactId}.git</developerConnection>
|
||||||
|
<url>https://code-repo.d4science.org/gCubeSystem/${project.artifactId}</url>
|
||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
<developers>
|
<developers>
|
||||||
|
@ -38,19 +42,8 @@
|
||||||
<release.date>${buildDate}</release.date>
|
<release.date>${buildDate}</release.date>
|
||||||
<templatesDirectory>templates</templatesDirectory>
|
<templatesDirectory>templates</templatesDirectory>
|
||||||
<distroDirectory>distro</distroDirectory>
|
<distroDirectory>distro</distroDirectory>
|
||||||
<configDirectory>config</configDirectory>
|
|
||||||
<maven.compiler.source>1.8</maven.compiler.source>
|
|
||||||
<maven.compiler.target>1.8</maven.compiler.target>
|
|
||||||
|
|
||||||
<!-- Convenience property to set the GWT version -->
|
<!-- Convenience property to set the GWT version -->
|
||||||
<gwtVersion>2.5.1</gwtVersion>
|
<gwtVersion>2.5.1</gwtVersion>
|
||||||
<!-- To make this work on gwt-run you need to set up global env vars. on
|
|
||||||
MacOSX edit this file /etc/launchd.conf and put "setenv GLOBUS_LOCATION /Users/massi/portal/Portal-Bundle/gCore"
|
|
||||||
on Linux? -->
|
|
||||||
<GLOBUS_LOCATION>${env.GLOBUS_LOCATION}</GLOBUS_LOCATION>
|
|
||||||
<!-- GWT needs at least java 1.5 -->
|
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencyManagement>
|
<dependencyManagement>
|
||||||
|
@ -126,92 +119,40 @@
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<!-- Generate compiled stuff in the folder used for developing mode -->
|
|
||||||
<outputDirectory>${webappDirectory}/WEB-INF/classes</outputDirectory>
|
<resources>
|
||||||
|
<resource>
|
||||||
|
<directory>src/main/resources</directory>
|
||||||
|
<includes>
|
||||||
|
<include>**/*.*</include>
|
||||||
|
</includes>
|
||||||
|
</resource>
|
||||||
|
</resources>
|
||||||
|
|
||||||
|
<!-- <finalName>${artifactId}</finalName> -->
|
||||||
|
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
|
||||||
<configuration>
|
|
||||||
<source>${maven.compiler.source}</source>
|
|
||||||
<target>${maven.compiler.target}</target>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
<version>2.16</version>
|
|
||||||
<configuration>
|
<configuration>
|
||||||
<skipTests>true</skipTests>
|
<skipTests>true</skipTests>
|
||||||
</configuration>
|
</configuration>
|
||||||
<!-- TODO check if needed -->
|
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.apache.maven.surefire</groupId>
|
|
||||||
<artifactId>surefire-junit47</artifactId>
|
|
||||||
<version>2.16</version>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<!-- Maven -->
|
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
|
||||||
<version>2.6</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>copy-distro-resources</id>
|
|
||||||
<phase>process-resources</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>copy-resources</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<outputDirectory>${distroDirectory}</outputDirectory>
|
|
||||||
<resources>
|
|
||||||
<resource>
|
|
||||||
<directory>${templatesDirectory}</directory>
|
|
||||||
<filtering>true</filtering>
|
|
||||||
</resource>
|
|
||||||
</resources>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-clean-plugin</artifactId>
|
|
||||||
<version>2.5</version>
|
|
||||||
<configuration>
|
|
||||||
<filesets>
|
|
||||||
<fileset>
|
|
||||||
<directory>${distroDirectory}</directory>
|
|
||||||
<includes>
|
|
||||||
<include>**</include>
|
|
||||||
</includes>
|
|
||||||
<followSymlinks>false</followSymlinks>
|
|
||||||
</fileset>
|
|
||||||
<fileset>
|
|
||||||
<directory>${configDirectory}</directory>
|
|
||||||
<includes>
|
|
||||||
<include>**</include>
|
|
||||||
</includes>
|
|
||||||
<followSymlinks>false</followSymlinks>
|
|
||||||
</fileset>
|
|
||||||
</filesets>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-assembly-plugin</artifactId>
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
<version>2.2</version>
|
|
||||||
<configuration>
|
<configuration>
|
||||||
<descriptors>
|
<descriptors>
|
||||||
<descriptor>${templatesDirectory}/descriptor.xml</descriptor>
|
<descriptor>descriptor.xml</descriptor>
|
||||||
</descriptors>
|
</descriptors>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>servicearchive</id>
|
<id>servicearchive</id>
|
||||||
<phase>package</phase>
|
<phase>install</phase>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>single</goal>
|
<goal>single</goal>
|
||||||
</goals>
|
</goals>
|
||||||
|
@ -220,5 +161,4 @@
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Resource xmlns:p1="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
|
<ID/>
|
||||||
|
<Type>Service</Type>
|
||||||
|
<Profile>
|
||||||
|
<Description>${project.description}</Description>
|
||||||
|
<Class>PortletUser</Class>
|
||||||
|
<Name>${project.artifactId}</Name>
|
||||||
|
<Version>1.0.0</Version>
|
||||||
|
<Packages>
|
||||||
|
<Software>
|
||||||
|
<Name>${artifactId}</Name>
|
||||||
|
<Version>${version}</Version>
|
||||||
|
<MavenCoordinates>
|
||||||
|
<groupId>${groupId}</groupId>
|
||||||
|
<artifactId>${artifactId}</artifactId>
|
||||||
|
<version>${version}</version>
|
||||||
|
</MavenCoordinates>
|
||||||
|
<Files>
|
||||||
|
<File>target/${build.finalName}.jar</File>
|
||||||
|
</Files>
|
||||||
|
<Type>library</Type>
|
||||||
|
<Files>
|
||||||
|
<File>${project.build.finalName}.${project.packaging}</File>
|
||||||
|
</Files>
|
||||||
|
</Software>
|
||||||
|
</Packages>
|
||||||
|
</Profile>
|
||||||
|
</Resource>
|
|
@ -1 +0,0 @@
|
||||||
${gcube.license}
|
|
|
@ -1,60 +0,0 @@
|
||||||
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
|
|
||||||
--------------------------------------------------
|
|
||||||
|
|
||||||
* Francesco Mangiacrapa (francesco.mangiacrapa-AT-isti.cnr.it), Istituto di Scienza e Tecnologie dell'Informazione "A. Faedo" - CNR, Pisa (Italy).
|
|
||||||
|
|
||||||
Maintainers
|
|
||||||
-----------
|
|
||||||
|
|
||||||
* Francesco Mangiacrapa (francesco.mangiacrapa-AT-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
|
|
||||||
--------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
Documentation
|
|
||||||
--------------------------------------------------
|
|
||||||
|
|
||||||
Documentation is available on-line in the gCube Wiki:
|
|
||||||
${gcube.wikiRoot}
|
|
||||||
|
|
||||||
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.
|
|
|
@ -1,33 +0,0 @@
|
||||||
<ReleaseNotes>
|
|
||||||
<Changeset component="${groupId}.${artifactId}.1-5-0"
|
|
||||||
date="${buildDate}">
|
|
||||||
<Change>[Task #16415] Migrate to Firebase Dynamic Links APIs</Change>
|
|
||||||
</Changeset>
|
|
||||||
<Changeset component="${groupId}.${artifactId}.1-2-0"
|
|
||||||
date="2017-06-14">
|
|
||||||
<Change>[Support #8940] src/it/simple-it/pom.xm</Change>
|
|
||||||
</Changeset>
|
|
||||||
<Changeset component="${groupId}.${artifactId}.1-1-1"
|
|
||||||
date="2016-12-19">
|
|
||||||
<Change>removed lo4j dependency from pom</Change>
|
|
||||||
</Changeset>
|
|
||||||
<Changeset component="${groupId}.${artifactId}.1-1-0"
|
|
||||||
date="2016-09-27">
|
|
||||||
<Change>removed jump of scope during read of Runtime
|
|
||||||
HTTP-URL-Shortener
|
|
||||||
</Change>
|
|
||||||
<Change>removed constructor with the parameter scope</Change>
|
|
||||||
</Changeset>
|
|
||||||
<Changeset component="${groupId}.${artifactId}.1-0-2"
|
|
||||||
date="2016-06-30">
|
|
||||||
<Change>removed maven portal bom dependency</Change>
|
|
||||||
</Changeset>
|
|
||||||
<Changeset component="${groupId}.${artifactId}.1-0-1"
|
|
||||||
date="2016-04-26">
|
|
||||||
<Change>maven-bom replaced by portal-bom</Change>
|
|
||||||
</Changeset>
|
|
||||||
<Changeset component="${groupId}.${artifactId}.1-0-0"
|
|
||||||
date="2014-10-13">
|
|
||||||
<Change>First Release</Change>
|
|
||||||
</Changeset>
|
|
||||||
</ReleaseNotes>
|
|
|
@ -1,25 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<Resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
||||||
<ID></ID>
|
|
||||||
<Type>Service</Type>
|
|
||||||
<Profile>
|
|
||||||
<Description>${description}</Description>
|
|
||||||
<Class>PortletUser</Class>
|
|
||||||
<Name>${artifactId}</Name>
|
|
||||||
<Version>${version}</Version>
|
|
||||||
<Packages>
|
|
||||||
<Software>
|
|
||||||
<Name>${artifactId}</Name>
|
|
||||||
<Version>${version}</Version>
|
|
||||||
<MavenCoordinates>
|
|
||||||
<groupId>${groupId}</groupId>
|
|
||||||
<artifactId>${artifactId}</artifactId>
|
|
||||||
<version>${version}</version>
|
|
||||||
</MavenCoordinates>
|
|
||||||
<Files>
|
|
||||||
<File>target/${build.finalName}.war</File>
|
|
||||||
</Files>
|
|
||||||
</Software>
|
|
||||||
</Packages>
|
|
||||||
</Profile>
|
|
||||||
</Resource>
|
|
Loading…
Reference in New Issue