From 7467111e57899e1e3eaf4e9ce66a4e6b515a298d Mon Sep 17 00:00:00 2001 From: Maximilian Brodhun <brodhun@sub.uni-goettingen.de> Date: Fri, 8 Mar 2019 14:46:46 +0100 Subject: [PATCH] jaxb parsing problems --- oaipmh-core/pom.xml | 24 ++++--------------- .../info/textgrid/middleware/OaiPmhTest.java | 2 +- 2 files changed, 6 insertions(+), 20 deletions(-) diff --git a/oaipmh-core/pom.xml b/oaipmh-core/pom.xml index 408d386d..486d880f 100644 --- a/oaipmh-core/pom.xml +++ b/oaipmh-core/pom.xml @@ -81,32 +81,17 @@ <artifactId>log4j</artifactId> <version>1.2.14</version> </dependency> - <dependency> + <!-- dependency> <groupId>org.classicmayan.tools</groupId> <artifactId>metsModsMapping</artifactId> <version>1.0-SNAPSHOT</version> - </dependency> - - <dependency> - <groupId>org.apache.jena</groupId> - <artifactId>jena-core</artifactId> - <version>3.4.0</version> - </dependency> - <dependency> - <groupId>org.apache.jena</groupId> - <artifactId>jena-arq</artifactId> - <version>3.6.0</version> - </dependency> + </dependency--> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> <version>${spring.version}</version> </dependency> - <dependency> - <groupId>org.apache.cxf</groupId> - <artifactId>cxf-rt-transports-http</artifactId> - <version>${cxf.version}</version> - </dependency> + @@ -183,12 +168,13 @@ <goals> <goal>xjc</goal> </goals> - <configuration> + <configuration> <schemaFile>oai_dc.xsd</schemaFile> <packageName>info.textgrid.middleware.oaidc</packageName> <schemaDirectory>src/main/xsd</schemaDirectory> <schemaIncludes> <include>oai_dc.xsd</include> + <include>xml.xsd</include> </schemaIncludes> <generateDirectory>${project.build.directory}/generated-sources/xjc1</generateDirectory> <staleFile>${project.build.directory}/jaxb2/.oaiDCSchemaXjcStaleFlag</staleFile> diff --git a/oaipmh-core/src/test/java/info/textgrid/middleware/OaiPmhTest.java b/oaipmh-core/src/test/java/info/textgrid/middleware/OaiPmhTest.java index 95f62914..f1244b9d 100644 --- a/oaipmh-core/src/test/java/info/textgrid/middleware/OaiPmhTest.java +++ b/oaipmh-core/src/test/java/info/textgrid/middleware/OaiPmhTest.java @@ -223,7 +223,7 @@ public class OaiPmhTest { * @throws ParseException */ @Test - //@Ignore + @Ignore public void testGetRequestGetRecordIDIOM() throws ParseException { record.setContributor(TGConstants.CONTRIBUTOR_LIST); -- GitLab