Skip to content
Snippets Groups Projects
Commit 06d5ae3d authored by Stefan E. Funk's avatar Stefan E. Funk
Browse files

Remove oaf things from pom file (seems not to be needed)

Commented name bindings in xjb file...
parent 2f35a667
No related branches found
No related tags found
No related merge requests found
......@@ -195,20 +195,6 @@
</args>
</configuration>
</execution>
<execution>
<id>generate-openaire</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<generatePackage>info.textgrid.middleware.oaipmh.openaire</generatePackage>
<generateDirectory>${project.build.directory}/generated-sources/oaipmh/openaire</generateDirectory>
<args>
<arg>-extension</arg>
<arg>-Xnamespace-prefix</arg>
</args>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
......
......@@ -6,6 +6,7 @@
xmlns:namespace="http://jaxb2-commons.dev.java.net/namespace-prefix"
xsi:schemaLocation="http://java.sun.com/xml/ns/jaxb https://java.sun.com/xml/ns/jaxb/bindingschema_2_0.xsd
http://jaxb2-commons.dev.java.net/namespace-prefix https://raw.githubusercontent.com/Siggen/jaxb2-namespace-prefix/master/src/main/resources/prefix-namespace-schema.xsd">
<jxb:bindings schemaLocation="oai_pmh.xsd">
<jxb:schemaBindings>
<jxb:package name="info.textgrid.middleware.oaipmh" />
......@@ -23,10 +24,66 @@
namespaceURI="http://purl.org/dc/elements/1.1/" name="dc" />
</jxb:bindings>
</jxb:bindings>
<jxb:bindings schemaLocation="openaire.xsd">
<jxb:schemaBindings>
<jxb:package
name="info.textgrid.middleware.oaipmh.openaire" />
</jxb:schemaBindings>
</jxb:bindings>
<!-- MIT DIESEM HIER EINKOMMENTIERT, benennt er die Klassen um, scheint
sie aber irgendwo NOCHMAL zu definieren?? -->
<jxb:bindings schemaLocation="oaf-common-1.0.xsd">
<jxb:schemaBindings>
<jxb:package
name="info.textgrid.middleware.oaipmh.oaf.common" />
</jxb:schemaBindings>
<jxb:bindings node="//xs:attribute[@name='classname']">
<jxb:property name="OAFClassnameProperty" />
</jxb:bindings>
<jxb:bindings node="//xs:attribute[@name='classid']">
<jxb:property name="OAFClassidProperty" />
</jxb:bindings>
<jxb:bindings node="//xs:attribute[@name='schemeid']">
<jxb:property name="OAFSchemeidProperty" />
</jxb:bindings>
<jxb:bindings node="//xs:attribute[@name='schemename']">
<jxb:property name="OAFSchemenameProperty" />
</jxb:bindings>
</jxb:bindings>
<!--
<jxb:bindings schemaLocation="oaf-org-1.0.xsd">
<jxb:schemaBindings>
<jxb:package
name="info.textgrid.middleware.oaipmh.oaf.org" />
</jxb:schemaBindings>
</jxb:bindings>
<jxb:bindings schemaLocation="oaf-1.0.xsd">
<jxb:schemaBindings>
<jxb:package
name="info.textgrid.middleware.oaipmh.oaf.oaf" />
</jxb:schemaBindings>
</jxb:bindings>
<jxb:bindings schemaLocation="oaf-datasource-1.0.xsd">
<jxb:schemaBindings>
<jxb:package
name="info.textgrid.middleware.oaipmh.oaf.datasource" />
</jxb:schemaBindings>
</jxb:bindings>
<jxb:bindings schemaLocation="oaf-project-1.0.xsd">
<jxb:schemaBindings>
<jxb:package
name="info.textgrid.middleware.oaipmh.oaf.project" />
</jxb:schemaBindings>
</jxb:bindings>
<jxb:bindings schemaLocation="oaf-result-1.0.xsd">
<jxb:schemaBindings>
<jxb:package
name="info.textgrid.middleware.oaipmh.oaf.result" />
</jxb:schemaBindings>
</jxb:bindings>
-->
</jxb:bindings>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment