From 0d0fc4cc1ea453ff484fae0042bcf35ec2da106f Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Mon, 30 Jan 2023 19:07:18 +0100 Subject: [PATCH] Fixing json for zenodo export --- .../META-INF/gcat-client-export.json | 22 ++++++++++++++++++ gcube/gcat-client-export.json | 15 ++++++++---- pom.xml | 23 ++++++++++++++++++- 3 files changed, 54 insertions(+), 6 deletions(-) create mode 100644 gcube/extra-resources/META-INF/gcat-client-export.json diff --git a/gcube/extra-resources/META-INF/gcat-client-export.json b/gcube/extra-resources/META-INF/gcat-client-export.json new file mode 100644 index 0000000..a65a7cd --- /dev/null +++ b/gcube/extra-resources/META-INF/gcat-client-export.json @@ -0,0 +1,22 @@ +{ + "name": "${project.artifactId}", + "title": "${project.name} {{version}}", + "version": "${project.version}", + "date": "${build.date}", + "gcube_release_version": null, + "gcube_release_ticket": null, + "concept_doi_url": "https://doi.org/10.5281/zenodo.7447655", + "version_doi_url": null, + "group": "data-catalogue", + "description": "${project.description}", + "html_description": "

${project.description}

", + "keywords": ["gCube", "Catalogue", "D4Science"], + "authors": [ + { + "affiliation": "Istituto di Scienza e Tecnologie dell'Informazione \"A. Faedo\" - CNR, Italy", + "name": "Frosini, Luca", + "orcid": "0000-0003-3183-2291" + } + ] +} + \ No newline at end of file diff --git a/gcube/gcat-client-export.json b/gcube/gcat-client-export.json index ca0d16f..72af1dd 100644 --- a/gcube/gcat-client-export.json +++ b/gcube/gcat-client-export.json @@ -151,7 +151,8 @@ "gcube_release_version": "4.13.1", "gcube_release_ticket": "https://support.d4science.org/issues/13242", "concept_doi_url": null, - "version_doi_url": null + "version_doi_url": null, + "code_location": "https://code-repo.d4science.org/gCubeSystem/{{name}}" }, { "version": "1.1.0", @@ -160,7 +161,8 @@ "gcube_release_version": "4.14.0", "gcube_release_ticket": "https://support.d4science.org/issues/16357", "concept_doi_url": "PREVIOUS", - "version_doi_url": null + "version_doi_url": null, + "code_location": "https://code-repo.d4science.org/gCubeSystem/{{name}}" }, { "version": "1.2.0", @@ -169,7 +171,8 @@ "gcube_release_version": "4.15.0", "gcube_release_ticket": "https://support.d4science.org/issues/16746", "concept_doi_url": "PREVIOUS", - "version_doi_url": null + "version_doi_url": null, + "code_location": "https://code-repo.d4science.org/gCubeSystem/{{name}}" }, { "version": "1.2.1", @@ -177,7 +180,8 @@ "group": "data-publishing", "gcube_release_version": "4.18.0", "gcube_release_ticket": "https://support.d4science.org/issues/18337", - "version_doi_url": null + "version_doi_url": null, + "code_location": "https://code-repo.d4science.org/gCubeSystem/{{name}}" }, { "version": "1.2.2", @@ -185,7 +189,8 @@ "group": "data-publishing", "gcube_release_version": "5.0.0", "gcube_release_ticket": "https://support.d4science.org/issues/20649", - "version_doi_url": null + "version_doi_url": null, + "code_location": "https://code-repo.d4science.org/gCubeSystem/{{name}}" }, { "version": "2.0.0", diff --git a/pom.xml b/pom.xml index e5d08a1..22572c7 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ gcat-client 2.4.1-SNAPSHOT gCube Catalogue (gCat) Client - gCube Catalogue (gCat) Client is a library designed to interact with gCat Service exposed REST API + gCube Catalogue (gCat) Client is a library designed to interact with REST APIs exposed by the gCat Service. UTF-8 @@ -90,4 +90,25 @@ test + + + + org.codehaus.mojo + buildnumber-maven-plugin + + + build.date + initialize + + create-timestamp + + + yyyy-MM-dd + build.date + + + + + + \ No newline at end of file