From aaa72ee15d3150781f3d4bbd525a5a767b8d1fa4 Mon Sep 17 00:00:00 2001 From: FabioISTI Date: Fri, 8 May 2020 14:34:12 +0200 Subject: [PATCH] Fixed version --- DataMinerAlgorithmsCrawler/pom.xml | 8 +- catalogue-plugin-framework/pom.xml | 8 +- collectors-plugin-framework/pom.xml | 8 +- commons/pom.xml | 8 +- gCat-Controller/pom.xml | 8 +- .../catalogues/gCat/Interactions.java | 6 ++ gCat-Feeder/pom.xml | 4 +- oai-harvester/pom.xml | 8 +- .../oai/model/DCRecordMetadata.java | 32 +++--- .../collectors/oai/model/ckan/GCatModel.java | 3 + .../oai/model/ckan/GCatTransformer.java | 102 ++++++++++-------- .../resources/profiles/HarvestedObject.xml | 30 +++--- .../gcube/application/gfeed/oai/CKANTest.java | 36 ++++++- .../application/gfeed/oai/ParsingTests.java | 56 +++++----- pom.xml | 3 +- test-commons/pom.xml | 8 +- 16 files changed, 190 insertions(+), 138 deletions(-) diff --git a/DataMinerAlgorithmsCrawler/pom.xml b/DataMinerAlgorithmsCrawler/pom.xml index 1153219..388adfc 100644 --- a/DataMinerAlgorithmsCrawler/pom.xml +++ b/DataMinerAlgorithmsCrawler/pom.xml @@ -4,15 +4,15 @@ org.gcube.data-publishing.gCat-Feeder gCat-Feeder-Suite - 1.0.1 + ${gFeedSuiteVersion} DataMinerAlgorithmsCrawler DataMinerAlgorithmsCrawler Plugin for gCat-Feeder for DataMiner Algorithms publishing - - https://code-repo.d4science.org/gCubeSystem - + + + scm:git:${gitBaseUrl}/gFeed diff --git a/catalogue-plugin-framework/pom.xml b/catalogue-plugin-framework/pom.xml index f66f68b..6ef2eef 100644 --- a/catalogue-plugin-framework/pom.xml +++ b/catalogue-plugin-framework/pom.xml @@ -3,12 +3,12 @@ org.gcube.data-publishing.gCat-Feeder gCat-Feeder-Suite - 1.0.1 + ${gFeedSuiteVersion} catalogue-plugin-framework - - https://code-repo.d4science.org/gCubeSystem - + + + scm:git:${gitBaseUrl}/gFeed diff --git a/collectors-plugin-framework/pom.xml b/collectors-plugin-framework/pom.xml index c052d2b..8db6f38 100644 --- a/collectors-plugin-framework/pom.xml +++ b/collectors-plugin-framework/pom.xml @@ -3,14 +3,14 @@ org.gcube.data-publishing.gCat-Feeder gCat-Feeder-Suite - 1.0.1 + ${gFeedSuiteVersion} collectors-plugin-framework collectors-plugin-framework Framework for collectors implementations - - https://code-repo.d4science.org/gCubeSystem - + + + scm:git:${gitBaseUrl}/gFeed diff --git a/commons/pom.xml b/commons/pom.xml index b249280..531d37c 100644 --- a/commons/pom.xml +++ b/commons/pom.xml @@ -4,15 +4,15 @@ org.gcube.data-publishing.gCat-Feeder gCat-Feeder-Suite - 1.0.1 + ${gFeedSuiteVersion} commons commons Common utilities for gCatFeeder logic - - https://code-repo.d4science.org/gCubeSystem - + + + scm:git:${gitBaseUrl}/gFeed diff --git a/gCat-Controller/pom.xml b/gCat-Controller/pom.xml index aafd81c..419ef89 100644 --- a/gCat-Controller/pom.xml +++ b/gCat-Controller/pom.xml @@ -3,14 +3,14 @@ org.gcube.data-publishing.gCat-Feeder gCat-Feeder-Suite - 1.0.1 + ${gFeedSuiteVersion} gCat-Controller gCat Controller Controller implementation for GCat Service - - https://code-repo.d4science.org/gCubeSystem - + + + scm:git:${gitBaseUrl}/gFeed diff --git a/gCat-Controller/src/test/java/org/gcube/data/publishing/gCatFeeder/catalogues/gCat/Interactions.java b/gCat-Controller/src/test/java/org/gcube/data/publishing/gCatFeeder/catalogues/gCat/Interactions.java index df75fc2..5055d6b 100644 --- a/gCat-Controller/src/test/java/org/gcube/data/publishing/gCatFeeder/catalogues/gCat/Interactions.java +++ b/gCat-Controller/src/test/java/org/gcube/data/publishing/gCatFeeder/catalogues/gCat/Interactions.java @@ -79,6 +79,12 @@ public class Interactions extends BaseCataloguePluginTest{ publish(getController(),"full-algorithm.json"); } + @Test + public void testOAI() throws CatalogueInteractionException, WrongObjectFormatException, PublicationException, InternalConversionException, ControllerInstantiationFault { + Assume.assumeTrue(isTestInfrastructureEnabled()); + publish(getController(),"oai_dc_full.json"); + } + @Test(expected=WrongObjectFormatException.class) public void empties() throws CatalogueInteractionException, WrongObjectFormatException, PublicationException, ControllerInstantiationFault, InternalConversionException { Assume.assumeTrue(isTestInfrastructureEnabled()); diff --git a/gCat-Feeder/pom.xml b/gCat-Feeder/pom.xml index b9192dc..4e5dd62 100644 --- a/gCat-Feeder/pom.xml +++ b/gCat-Feeder/pom.xml @@ -4,7 +4,7 @@ org.gcube.data-publishing.gCat-Feeder gCat-Feeder-Suite - 1.0.1 + ${gFeedSuiteVersion} gCat-Feeder gCat-Feeder @@ -13,7 +13,7 @@ ${project.basedir}/src/main/webapp/WEB-INF ${project.basedir}/distro - https://code-repo.d4science.org/gCubeSystem + diff --git a/oai-harvester/pom.xml b/oai-harvester/pom.xml index 09a2449..4343307 100644 --- a/oai-harvester/pom.xml +++ b/oai-harvester/pom.xml @@ -3,14 +3,14 @@ org.gcube.data-publishing.gCat-Feeder gCat-Feeder-Suite - 1.0.1 + ${gFeedSuiteVersion} oai-harvester oai-harvester - - https://code-repo.d4science.org/gCubeSystem - + + + scm:git:${gitBaseUrl}/gFeed diff --git a/oai-harvester/src/main/java/org/gcube/data/publishing/gFeed/collectors/oai/model/DCRecordMetadata.java b/oai-harvester/src/main/java/org/gcube/data/publishing/gFeed/collectors/oai/model/DCRecordMetadata.java index b03e881..4245a1e 100644 --- a/oai-harvester/src/main/java/org/gcube/data/publishing/gFeed/collectors/oai/model/DCRecordMetadata.java +++ b/oai-harvester/src/main/java/org/gcube/data/publishing/gFeed/collectors/oai/model/DCRecordMetadata.java @@ -1,5 +1,7 @@ package org.gcube.data.publishing.gFeed.collectors.oai.model; +import java.util.List; + import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; @@ -23,37 +25,37 @@ public class DCRecordMetadata extends OAIMetadata{ public static final String NS="http://purl.org/dc/elements/1.1/"; @XmlElement(namespace=NS) - private String contributor; + private List contributor; @XmlElement(namespace=NS) - private String coverage; + private List coverage; @XmlElement(namespace=NS) - private String creator; + private List creator; @XmlElement(namespace=NS) - private String date; + private List date; @XmlElement(namespace=NS) - private String description; + private List description; @XmlElement(namespace=NS) - private String format; + private List format; @XmlElement(namespace=NS) - private String identifier; + private List identifier; @XmlElement(namespace=NS) - private String language; + private List language; @XmlElement(namespace=NS) - private String publisher; + private List publisher; @XmlElement(namespace=NS) - private String relation; + private List relation; @XmlElement(namespace=NS) - private String rights; + private List rights; @XmlElement(namespace=NS) - private String source; + private List source; @XmlElement(namespace=NS) - private String subject; + private List subject; @XmlElement(namespace=NS) - private String title; + private List title; @XmlElement(namespace=NS) - private String type; + private List type; } diff --git a/oai-harvester/src/main/java/org/gcube/data/publishing/gFeed/collectors/oai/model/ckan/GCatModel.java b/oai-harvester/src/main/java/org/gcube/data/publishing/gFeed/collectors/oai/model/ckan/GCatModel.java index 663caf1..14683ed 100644 --- a/oai-harvester/src/main/java/org/gcube/data/publishing/gFeed/collectors/oai/model/ckan/GCatModel.java +++ b/oai-harvester/src/main/java/org/gcube/data/publishing/gFeed/collectors/oai/model/ckan/GCatModel.java @@ -37,12 +37,15 @@ public class GCatModel implements CatalogueFormatData { private static ObjectMapper mapper=new ObjectMapper(); @Setter + @Getter private String profile=null; @Setter + @Getter private CkanItem item; @Setter + @Getter private ArrayList resources=new ArrayList<>(); @Override diff --git a/oai-harvester/src/main/java/org/gcube/data/publishing/gFeed/collectors/oai/model/ckan/GCatTransformer.java b/oai-harvester/src/main/java/org/gcube/data/publishing/gFeed/collectors/oai/model/ckan/GCatTransformer.java index 1957901..b1ea038 100644 --- a/oai-harvester/src/main/java/org/gcube/data/publishing/gFeed/collectors/oai/model/ckan/GCatTransformer.java +++ b/oai-harvester/src/main/java/org/gcube/data/publishing/gFeed/collectors/oai/model/ckan/GCatTransformer.java @@ -5,6 +5,7 @@ import java.nio.charset.Charset; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; +import java.util.List; import java.util.Set; import org.gcube.data.publishing.gCatFeeder.utils.Files; @@ -13,6 +14,7 @@ import org.gcube.data.publishing.gFeed.collectors.oai.model.DCRecordMetadata; import org.gcube.data.publishing.gFeed.collectors.oai.model.OAIMetadata; import org.gcube.data.publishing.gFeed.collectors.oai.model.OAIRecord; import org.gcube.data.publishing.gFeed.collectors.oai.model.ckan.CkanItem.CKanExtraField; +import org.gcube.data.publishing.gFeed.collectors.oai.model.ckan.CkanItem.Tag; import org.gcube.data.publishing.gFeed.collectors.oai.model.ckan.GCatModel.CkanResource; import lombok.extern.slf4j.Slf4j; @@ -59,66 +61,65 @@ public class GCatTransformer implements DataTransformer{ GCatModel toReturn = new GCatModel(); CkanItem item=new CkanItem(); - - item.setName(toTranslate.getHeader().getIdentifier()); + //escaping name chars + String toSetName=toTranslate.getHeader().getIdentifier(); + toSetName=toSetName.replaceAll("[^a-z0-9_\\\\-]", "_"); + item.setName(toSetName); OAIMetadata meta=toTranslate.getMetadata().getMetadata(); if(meta instanceof DCRecordMetadata) { String profileID="Harvested Object"; DCRecordMetadata dcMeta=(DCRecordMetadata) meta; - item.setTitle(dcMeta.getTitle()); - item.setNotes(dcMeta.getDescription()); - item.setAuthor(dcMeta.getPublisher()); - item.setMaintainer(dcMeta.getPublisher()); + item.setTitle(getFirstOrDefault(dcMeta.getTitle(),"n.a.")); + item.setNotes(getFirstOrDefault(dcMeta.getDescription(),null)); + item.setAuthor(getFirstOrDefault(dcMeta.getPublisher(),"n.a.")); + item.setMaintainer(getFirstOrDefault(dcMeta.getPublisher(),null)); item.setVersion("n.a."); item.setPrivateFlag(false); item.setLicense_id("CC-BY-NC-SA-4.0"); - + if(dcMeta.getSubject()!=null&&dcMeta.getSubject().isEmpty()) + for(String subject:dcMeta.getSubject()) + item.getTags().add(new Tag(subject)); + + item.getTags().add(new Tag("OAI")); + item.getExtras().add(new CKanExtraField("system:type", profileID)); - if(dcMeta.getContributor()!=null) - item.getExtras().add(new CKanExtraField(profileID+":contributor", dcMeta.getContributor())); - if(dcMeta.getCoverage()!=null) - item.getExtras().add(new CKanExtraField(profileID+":coverage", dcMeta.getCoverage())); - if(dcMeta.getCreator()!=null) - item.getExtras().add(new CKanExtraField(profileID+":creator", dcMeta.getCreator())); - if(dcMeta.getDate()!=null) - item.getExtras().add(new CKanExtraField(profileID+":date", dcMeta.getDate())); - if(dcMeta.getDescription()!=null) - item.getExtras().add(new CKanExtraField(profileID+":description", dcMeta.getDescription())); - if(dcMeta.getFormat()!=null) - item.getExtras().add(new CKanExtraField(profileID+":format", dcMeta.getFormat())); - if(dcMeta.getIdentifier()!=null) - item.getExtras().add(new CKanExtraField(profileID+":identifier", dcMeta.getIdentifier())); - if(dcMeta.getLanguage()!=null) - item.getExtras().add(new CKanExtraField(profileID+":language", dcMeta.getLanguage())); - if(dcMeta.getPublisher()!=null) - item.getExtras().add(new CKanExtraField(profileID+":publisher", dcMeta.getPublisher())); - if(dcMeta.getRelation()!=null) - item.getExtras().add(new CKanExtraField(profileID+":relation", dcMeta.getRelation())); - if(dcMeta.getRights()!=null) - item.getExtras().add(new CKanExtraField(profileID+":rights", dcMeta.getRights())); - if(dcMeta.getSource()!=null) - item.getExtras().add(new CKanExtraField(profileID+":source", dcMeta.getSource())); - if(dcMeta.getSubject()!=null) - item.getExtras().add(new CKanExtraField(profileID+":subject", dcMeta.getSubject())); - if(dcMeta.getTitle()!=null) - item.getExtras().add(new CKanExtraField(profileID+":title", dcMeta.getTitle())); - if(dcMeta.getType()!=null) - item.getExtras().add(new CKanExtraField(profileID+":type", dcMeta.getType())); + + item.getExtras().addAll(fromList(dcMeta.getContributor(),profileID+":contributor")); + item.getExtras().addAll(fromList(dcMeta.getCoverage(),profileID+":coverage")); + item.getExtras().addAll(fromList(dcMeta.getCreator(),profileID+":creator")); + item.getExtras().addAll(fromList(dcMeta.getDate(),profileID+":date")); + item.getExtras().addAll(fromList(dcMeta.getDescription(),profileID+":description")); + item.getExtras().addAll(fromList(dcMeta.getFormat(),profileID+":format")); + item.getExtras().addAll(fromList(dcMeta.getIdentifier(),profileID+":identifier")); + item.getExtras().addAll(fromList(dcMeta.getLanguage(),profileID+":language")); + item.getExtras().addAll(fromList(dcMeta.getPublisher(),profileID+":publisher")); + item.getExtras().addAll(fromList(dcMeta.getRelation(),profileID+":relation")); + item.getExtras().addAll(fromList(dcMeta.getRights(),profileID+":rights")); + item.getExtras().addAll(fromList(dcMeta.getSource(),profileID+":source")); + item.getExtras().addAll(fromList(dcMeta.getSubject(),profileID+":subject")); + item.getExtras().addAll(fromList(dcMeta.getTitle(),profileID+":title")); + item.getExtras().addAll(fromList(dcMeta.getType(),profileID+":type")); - try { - URL url=new URL(dcMeta.getIdentifier()); - CkanResource res=new CkanResource("Record", url+"", url.getProtocol(), "Original record"); + + if(dcMeta.getIdentifier()!=null) { ArrayList list=new ArrayList<>(); + for(String id:dcMeta.getIdentifier()) { + try { + URL url=new URL(id); + CkanResource res=new CkanResource("Record", url+"", url.getProtocol(), "Original record"); + list.add(res); + }catch(Throwable t) { + log.debug("Unable to set identifier "+id+"as resource ",t); + } + } toReturn.setResources(list); - }catch(Throwable t) { - log.debug("Unable to set identifier "+dcMeta.getIdentifier()+"as resource ",t); } - + } toReturn.setItem(item); @@ -126,7 +127,7 @@ public class GCatTransformer implements DataTransformer{ try { if(useProfile) toReturn.setProfile(Files.readFileAsString( - Files.getFileFromResources("HarvesterObject.xml").getAbsolutePath(), + Files.getFileFromResources("profiles/HarvestedObject.xml").getAbsolutePath(), Charset.defaultCharset())); //"Harvested Object” }catch(Throwable t) { log.error("Unable to set profile ",t); @@ -136,4 +137,17 @@ public class GCatTransformer implements DataTransformer{ } + + private static Collection fromList(List values,String name){ + ArrayList toReturn=new ArrayList(); + if(values!=null) + for(String v:values) + toReturn.add(new CKanExtraField(name,v)); + return toReturn; + } + + private static String getFirstOrDefault(List values,String defaultValue) { + if(values!=null && !values.isEmpty()) return values.get(0); + else return defaultValue; + } } diff --git a/oai-harvester/src/main/resources/profiles/HarvestedObject.xml b/oai-harvester/src/main/resources/profiles/HarvestedObject.xml index 50d1162..8dfe146 100644 --- a/oai-harvester/src/main/resources/profiles/HarvestedObject.xml +++ b/oai-harvester/src/main/resources/profiles/HarvestedObject.xml @@ -8,92 +8,92 @@ contributor - * false String + * coverage - * false String + * creator - * false String + * date - * false String + * description - * false String + * format - * false String + * identifier - * false String + * language - * false String + * publisher - * false String + * relation - * false String + * rights - * false String + * source - * false String + * subject - * false String + * title - * false String + * type - * false String + * \ No newline at end of file diff --git a/oai-harvester/src/test/java/org/gcube/application/gfeed/oai/CKANTest.java b/oai-harvester/src/test/java/org/gcube/application/gfeed/oai/CKANTest.java index 1ff909e..bee312d 100644 --- a/oai-harvester/src/test/java/org/gcube/application/gfeed/oai/CKANTest.java +++ b/oai-harvester/src/test/java/org/gcube/application/gfeed/oai/CKANTest.java @@ -1,11 +1,23 @@ package org.gcube.application.gfeed.oai; import java.io.ByteArrayOutputStream; +import java.io.File; import java.net.MalformedURLException; +import javax.xml.bind.JAXBContext; +import javax.xml.bind.JAXBException; +import javax.xml.bind.Unmarshaller; + import org.gcube.data.publishing.gCatFeeder.model.InternalConversionException; import org.gcube.data.publishing.gCatFeeder.tests.TokenSetter; +import org.gcube.data.publishing.gCatFeeder.utils.Files; import org.gcube.data.publishing.gFeed.collectors.oai.model.DCRecordMetadata; +import org.gcube.data.publishing.gFeed.collectors.oai.model.MetadataHolder; +import org.gcube.data.publishing.gFeed.collectors.oai.model.OAIMetadata; +import org.gcube.data.publishing.gFeed.collectors.oai.model.OAIRecord; +import org.gcube.data.publishing.gFeed.collectors.oai.model.OAI_PMH; +import org.gcube.data.publishing.gFeed.collectors.oai.model.ckan.GCatModel; +import org.gcube.data.publishing.gFeed.collectors.oai.model.ckan.GCatTransformer; import org.gcube.gcat.client.Item; import com.fasterxml.jackson.databind.ObjectMapper; @@ -14,9 +26,27 @@ import com.fasterxml.jackson.databind.ObjectMapper; public class CKANTest { - public static void main (String args[]) { - TokenSetter.set("/pred4s/preprod/preVRE"); - + public static void main (String args[]) throws JAXBException { +// TokenSetter.set("/pred4s/preprod/preVRE"); +// +// +// File toRead=Files.getFileFromResources("resp_dc.xml"); +// +// JAXBContext jaxbContext = JAXBContext.newInstance(OAIRecord.class, +// MetadataHolder.class, +// OAIMetadata.class, +// DCRecordMetadata.class, +// OAI_PMH.class); +// +// Unmarshaller jaxbUnmarshaller = jaxbContext.createUnmarshaller(); +// +// OAI_PMH response = (OAI_PMH) jaxbUnmarshaller.unmarshal(toRead); +// +// for(GCatModel gcat: new GCatTransformer().transform(response.getResponseRecords().getRecords())) { +// if(gcat.) +// } +// + } diff --git a/oai-harvester/src/test/java/org/gcube/application/gfeed/oai/ParsingTests.java b/oai-harvester/src/test/java/org/gcube/application/gfeed/oai/ParsingTests.java index ec729d2..84016fe 100644 --- a/oai-harvester/src/test/java/org/gcube/application/gfeed/oai/ParsingTests.java +++ b/oai-harvester/src/test/java/org/gcube/application/gfeed/oai/ParsingTests.java @@ -4,19 +4,21 @@ import static org.junit.Assert.assertTrue; import java.io.File; import java.io.IOException; -import java.net.URL; -import java.nio.charset.Charset; -import java.nio.file.Paths; +import java.io.PrintWriter; import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBException; import javax.xml.bind.Unmarshaller; +import org.gcube.data.publishing.gCatFeeder.model.InternalConversionException; +import org.gcube.data.publishing.gCatFeeder.utils.Files; import org.gcube.data.publishing.gFeed.collectors.oai.model.DCRecordMetadata; import org.gcube.data.publishing.gFeed.collectors.oai.model.MetadataHolder; import org.gcube.data.publishing.gFeed.collectors.oai.model.OAIMetadata; import org.gcube.data.publishing.gFeed.collectors.oai.model.OAIRecord; import org.gcube.data.publishing.gFeed.collectors.oai.model.OAI_PMH; +import org.gcube.data.publishing.gFeed.collectors.oai.model.ckan.GCatModel; +import org.gcube.data.publishing.gFeed.collectors.oai.model.ckan.GCatTransformer; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; @@ -40,12 +42,8 @@ public class ParsingTests { @Test public void parseDC() throws JAXBException { - File toRead=getFileFromResources("resp_dc.xml"); - Unmarshaller jaxbUnmarshaller = jaxbContext.createUnmarshaller(); - - OAI_PMH response = (OAI_PMH) jaxbUnmarshaller.unmarshal(toRead); - + OAI_PMH response=read(); Assert.assertNotNull(response); Assert.assertNotNull(response.getResponseRecords().getRecords()); @@ -61,29 +59,27 @@ public class ParsingTests { } @Test - public void marshal() throws JAXBException { -// jaxbContext.createMarshaller().marshal(new OAI_PMH("dummy"),System.out); + public void marshal() throws JAXBException, InternalConversionException, IOException { + OAI_PMH resp=read(); + File outF=File.createTempFile("json", ".json"); + PrintWriter out = new PrintWriter(outF); + for(GCatModel gcat: new GCatTransformer().transform(resp.getResponseRecords().getRecords())) { + Assert.assertNotNull(gcat.getResources()); + Assert.assertFalse(gcat.getResources().isEmpty()); + out.println(gcat.toCatalogueFormat()); + } + out.flush(); + out.close(); + System.out.println("Output at "+outF.getAbsolutePath()); } - - public static File getFileFromResources(String fileName) { - - ClassLoader classLoader =ParsingTests.class.getClassLoader(); - - URL resource = classLoader.getResource(fileName); - if (resource == null) { - throw new IllegalArgumentException("file is not found!"); - } else { - return new File(resource.getFile()); - } - - } - - - public static String readFileAsString(String path, Charset encoding) - throws IOException - { - byte[] encoded = java.nio.file.Files.readAllBytes(Paths.get(path)); - return new String(encoded, encoding); + private OAI_PMH read() throws JAXBException { + File toRead=Files.getFileFromResources("resp_dc.xml"); + + Unmarshaller jaxbUnmarshaller = jaxbContext.createUnmarshaller(); + + return (OAI_PMH) jaxbUnmarshaller.unmarshal(toRead); + } + } diff --git a/pom.xml b/pom.xml index ff51ccc..3c91a84 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ org.gcube.data-publishing.gCat-Feeder gCat-Feeder-Suite - 1.0.1 + ${gFeedSuiteVersion} pom gCat-Feeder Suite gCat-Feeder Suite of components : service, plugin framework, plugins @@ -17,6 +17,7 @@ distro https://code-repo.d4science.org/gCubeSystem + 1.0.2-SNAPSHOT diff --git a/test-commons/pom.xml b/test-commons/pom.xml index 6e613ca..c9e34d7 100644 --- a/test-commons/pom.xml +++ b/test-commons/pom.xml @@ -3,14 +3,14 @@ org.gcube.data-publishing.gCat-Feeder gCat-Feeder-Suite - 1.0.1 + ${gFeedSuiteVersion} test-commons test commons Utility classes for test purposes - - https://code-repo.d4science.org/gCubeSystem - + + + scm:git:${gitBaseUrl}/gFeed