Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FE
ClassicMayan
METS MODS Mapping
Commits
5c336bdf
Commit
5c336bdf
authored
Jan 10, 2022
by
mbrodhu
Browse files
Merge branch 'release/1.1.25'
parents
864d84a7
5a702b6c
Changes
4
Hide whitespace changes
Inline
Side-by-side
.project
View file @
5c336bdf
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>
metsModsMapping
</name>
<comment>
NO_M2ECLIPSE_SUPPORT: Project files created with the maven-eclipse-plugin are not supported in M2Eclipse.
</comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>
org.eclipse.jdt.core.javabuilder
</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>
org.eclipse.m2e.core.maven2Builder
</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>
org.eclipse.m2e.core.maven2Nature
</nature>
<nature>
org.eclipse.jdt.core.javanature
</nature>
</natures>
<filteredResources>
<filter>
<id>
1636892864269
</id>
<name></name>
<type>
30
</type>
<matcher>
<id>
org.eclipse.core.resources.regexFilterMatcher
</id>
<arguments>
node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__
</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>
<name>
metsModsMapping
</name>
<comment>
NO_M2ECLIPSE_SUPPORT: Project files created with the maven-eclipse-plugin are not supported in M2Eclipse.
</comment>
<projects/>
<buildSpec>
<buildCommand>
<name>
org.eclipse.jdt.core.javabuilder
</name>
</buildCommand>
<buildCommand>
<name>
org.eclipse.m2e.core.maven2Builder
</name>
</buildCommand>
</buildSpec>
<natures>
<nature>
org.eclipse.m2e.core.maven2Nature
</nature>
<nature>
org.eclipse.jdt.core.javanature
</nature>
</natures>
</projectDescription>
\ No newline at end of file
pom.xml
View file @
5c336bdf
...
...
@@ -5,7 +5,7 @@
<groupId>
org.classicmayan.tools
</groupId>
<artifactId>
metsModsMapping
</artifactId>
<packaging>
jar
</packaging>
<version>
1.1.2
4
</version>
<version>
1.1.2
5
</version>
<name>
metsModsMapping
</name>
<url>
http://maven.apache.org
</url>
...
...
src/main/java/org/classicmayan/tools/Queries.java
View file @
5c336bdf
...
...
@@ -279,8 +279,6 @@ public class Queries {
locationValue
=
locationValue
.
concat
(
", "
+
soln
.
get
(
"custodyPlaceName"
).
toString
());
}
locationDataObject
.
setCurrentCustody
(
locationValue
);
}
else
{
locationDataObject
.
setCurrentCustody
(
"unknown"
);
}
if
(
soln
.
get
(
"discoveryPlaceRef"
)!=
null
){
...
...
src/test/java/org/classicmayan/tools/MetsTest.java
View file @
5c336bdf
...
...
@@ -274,8 +274,8 @@ public class MetsTest {
@Test
public
void
testCompleteMetsMods
()
throws
JSONException
,
ParseException
,
IOException
{
System
.
out
.
println
(
new
ClassicMayanMetsMods
(
"textgrid:3whkp"
,
"2016-02-18T11:15:19.899+01:00"
,
"2018-02-02T12:12:34.113+01:00"
).
getMets
());
//
System.out.println(new ClassicMayanMetsMods("textgrid:3cxrn", "2016-02-18T11:15:19.899+01:00", "2018-02-02T12:12:34.113+01:00").getMets());
//
System.out.println(new ClassicMayanMetsMods("textgrid:3whkp", "2016-02-18T11:15:19.899+01:00", "2018-02-02T12:12:34.113+01:00").getMets());
System
.
out
.
println
(
new
ClassicMayanMetsMods
(
"textgrid:3cxrn"
,
"2016-02-18T11:15:19.899+01:00"
,
"2018-02-02T12:12:34.113+01:00"
).
getMets
());
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment