Skip to content

Commit 26abee5

Browse files
author
Jorrit Poelen
committed
prepare for v0.10.0 release
1 parent f45371c commit 26abee5

File tree

27 files changed

+172
-24
lines changed

27 files changed

+172
-24
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>org.globalbioticinteractions</groupId>
77
<artifactId>preston-all</artifactId>
8-
<version>0.9.10-SNAPSHOT</version>
8+
<version>0.10.0</version>
99
<packaging>pom</packaging>
1010
<name>Preston Modules</name>
1111
<modules>

preston-cas/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>bio.guoda</groupId>
77
<artifactId>preston-parent</artifactId>
8-
<version>0.9.10-SNAPSHOT</version>
8+
<version>0.10.0</version>
99
<relativePath>../preston-parent/pom.xml</relativePath>
1010
</parent>
1111

preston-cli/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>bio.guoda</groupId>
77
<artifactId>preston-parent</artifactId>
8-
<version>0.9.10-SNAPSHOT</version>
8+
<version>0.10.0</version>
99
<relativePath>../preston-parent/pom.xml</relativePath>
1010
</parent>
1111

preston-cmd/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>bio.guoda</groupId>
77
<artifactId>preston-parent</artifactId>
8-
<version>0.9.10-SNAPSHOT</version>
8+
<version>0.10.0</version>
99
<relativePath>../preston-parent/pom.xml</relativePath>
1010
</parent>
1111

preston-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>bio.guoda</groupId>
77
<artifactId>preston-parent</artifactId>
8-
<version>0.9.10-SNAPSHOT</version>
8+
<version>0.10.0</version>
99
<relativePath>../preston-parent/pom.xml</relativePath>
1010
</parent>
1111

preston-dbase/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>bio.guoda</groupId>
77
<artifactId>preston-parent</artifactId>
8-
<version>0.9.10-SNAPSHOT</version>
8+
<version>0.10.0</version>
99
<relativePath>../preston-parent/pom.xml</relativePath>
1010
</parent>
1111

preston-dwc/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>bio.guoda</groupId>
77
<artifactId>preston-parent</artifactId>
8-
<version>0.9.10-SNAPSHOT</version>
8+
<version>0.10.0</version>
99
<relativePath>../preston-parent/pom.xml</relativePath>
1010
</parent>
1111

preston-dwc/src/test/java/org/gbif/dwc/CitationSaxHandlerTest.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,17 @@ public void martha() throws ParserConfigurationException, SAXException, IOExcept
7474

7575
}
7676

77+
@Test
78+
public void beesAreAChangin() throws ParserConfigurationException, SAXException, IOException {
79+
80+
InputStream is = getClass().getResourceAsStream("/bio/guoda/preston/beesAreChangin.eml.xml");
81+
82+
SAXParser p = SAX_FACTORY.newSAXParser();
83+
ByteArrayOutputStream os = new ByteArrayOutputStream();
84+
p.parse(is, new CitationSaxHandler("https://example.org", os));
85+
86+
assertThat(new String(os.toByteArray(), StandardCharsets.UTF_8), Is.is("Bee Library - 7add464b-ef1e-4604-b0cd-773070d545fe. Accessed at <https://example.org> .\n"));
87+
88+
}
89+
7790
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"metadata": {
3+
"http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "taxodros-dros5",
4+
"related_identifiers": [
5+
{
6+
"relation": "isAlternateIdentifier",
7+
"identifier": "https://library.big-bee.net/portal/collections/misc/collprofiles.php?collid=21"
8+
},
9+
{
10+
"relation": "isDerivedFrom",
11+
"identifier": "http://localhost:8080/zip:hash://sha256/11b703fc157c831610bfb0f4ca966487d9bbc169f60dbfe3268ad949bb2c1234!/eml.xml"
12+
},
13+
{
14+
"relation": "isPartOf",
15+
"identifier": "https://library.big-bee.net/"
16+
},
17+
{
18+
"relation": "cites",
19+
"identifier": "10.3897/biss.5.74037"
20+
},
21+
{
22+
"relation": "isAlternateIdentifier",
23+
"identifier": "hash://sha256/11b703fc157c831610bfb0f4ca966487d9bbc169f60dbfe3268ad949bb2c1234"
24+
}
25+
],
26+
"creators": [
27+
{
28+
"name": "Smith, Colleen"
29+
}
30+
],
31+
"publication_date": "2024-11-01",
32+
"title": "The Bees they are a Changin project",
33+
"description": "This collection is an aggregate research collection for examining how bee body size is responding to climate change. There will be duplicate records with other portals: UCSB's collection, the AMNH collection and the LACM collection.",
34+
"upload_type": "dataset",
35+
"license": "cc-zero",
36+
"filename": "dwca.zip",
37+
"references": ["Seltmann KC, Allen J, Brown BV, Carper A, Engel MS, Franz N, Gilbert E, Grinter C, Gonzalez VH, Horsley P, Lee S, Maier C, Miko I, Morris P, Oboyski P, Pierce NE, Poelen J, Scott VL, Smith M, Talamas EJ, Tsutsui ND, Tucker E (2021) Announcing Big-Bee: An initiative to promote understanding of bees through image and trait digitization. Biodiversity Information Science and Standards 5: e74037. https://doi.org/10.3897/biss.5.74037"],
38+
"communities": [
39+
{
40+
"identifier": "bigbee"
41+
}
42+
]
43+
}
44+
}
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<eml:eml xmlns:eml="eml://ecoinformatics.org/eml-2.1.1" xmlns:dc="http://purl.org/dc/terms/"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.1 http://rs.gbif.org/schema/eml-gbif-profile/1.0.1/eml.xsd"
5+
packageId="dc108ad3-d954-44f2-8701-98568620bcb0" system="https://symbiota.org" scope="system" xml:lang="eng">
6+
<dataset>
7+
<alternateIdentifier>https://library.big-bee.net/portal/collections/misc/collprofiles.php?collid=21
8+
</alternateIdentifier>
9+
<title xml:lang="eng">The Bees they are a Changin project</title>
10+
<creator id="eee23760-e01a-4f79-97c3-cf9f4cb0876b">
11+
<organizationName>Bee Library</organizationName>
12+
<electronicMailAddress>[email protected]</electronicMailAddress>
13+
<onlineUrl>https://library.big-bee.net/portal/index.php</onlineUrl>
14+
</creator>
15+
<metadataProvider>
16+
<organizationName>Bee Library</organizationName>
17+
<electronicMailAddress>[email protected]</electronicMailAddress>
18+
<onlineUrl>https://library.big-bee.net/portal/index.php</onlineUrl>
19+
</metadataProvider>
20+
<pubDate>2024-11-01</pubDate>
21+
<language>eng</language>
22+
<abstract>
23+
<para>This collection is an aggregate research collection for examining how bee body size is responding to
24+
climate change. There will be duplicate records with other portals: UCSB's collection, the AMNH
25+
collection and the LACM collection.
26+
</para>
27+
</abstract>
28+
<contact>
29+
<organizationName>The Bees they are a Changin project</organizationName>
30+
<phone></phone>
31+
<electronicMailAddress></electronicMailAddress>
32+
</contact>
33+
<associatedParty>
34+
<individualName>
35+
<surName>Smith</surName>
36+
<givenName>Colleen</givenName>
37+
</individualName>
38+
<electronicMailAddress></electronicMailAddress>
39+
<role>contentProvider</role>
40+
</associatedParty>
41+
<intellectualRights>
42+
<para>To the extent possible under law, the publisher has waived all rights to these data and has dedicated
43+
them to the
44+
<ulink url="http://creativecommons.org/publicdomain/zero/1.0/">
45+
<citetitle></citetitle>
46+
</ulink>
47+
</para>
48+
</intellectualRights>
49+
</dataset>
50+
<additionalMetadata>
51+
<metadata>
52+
<symbiota id="eee23760-e01a-4f79-97c3-cf9f4cb0876b">
53+
<dateStamp>2024-11-01T06:12:42-07:00</dateStamp>
54+
<citation identifier="7add464b-ef1e-4604-b0cd-773070d545fe">Bee Library -
55+
7add464b-ef1e-4604-b0cd-773070d545fe
56+
</citation>
57+
<physical>
58+
<characterEncoding>UTF-8</characterEncoding>
59+
<dataFormat>
60+
<externallyDefinedFormat>
61+
<formatName>Darwin Core Archive</formatName>
62+
</externallyDefinedFormat>
63+
</dataFormat>
64+
</physical>
65+
<collection identifier="46da7109-a045-450b-ad55-f7ba692014fa" id="21">
66+
<alternateIdentifier>
67+
https://library.big-bee.net/portal/collections/misc/collprofiles.php?collid=21
68+
</alternateIdentifier>
69+
<parentCollectionIdentifier>UCSB</parentCollectionIdentifier>
70+
<collectionIdentifier>Smith</collectionIdentifier>
71+
<collectionName>The Bees they are a Changin project</collectionName>
72+
<onlineUrl></onlineUrl>
73+
<intellectualRights>http://creativecommons.org/publicdomain/zero/1.0/</intellectualRights>
74+
<associatedParty>
75+
<individualName>
76+
<surName>Smith</surName>
77+
<givenName>Colleen</givenName>
78+
</individualName>
79+
<electronicMailAddress></electronicMailAddress>
80+
</associatedParty>
81+
<abstract>
82+
<para>&lt;p&gt;This collection is an aggregate research collection for examining how bee body
83+
size is responding to climate change. There will be duplicate records with other portals:
84+
UCSB's collection, the AMNH collection and the LACM collection.&lt;/p&gt;
85+
</para>
86+
</abstract>
87+
</collection>
88+
</symbiota>
89+
</metadata>
90+
</additionalMetadata>
91+
</eml:eml>

0 commit comments

Comments
 (0)