<enabled>false</enabled>
</snapshots>
</pluginRepository>
+ <pluginRepository>
+ <id>plugins-snapshot-local</id>
+ <name>plugins-snapshot-local</name>
+ <url>http://nightly.collectionspace.org:8081/artifactory/plugins-snapshot-local</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </pluginRepository>
<pluginRepository>
<id>repo1</id>
<name>Maven repo1</name>
--- /dev/null
+<?xml version="1.0"?>
+<jxb:bindings version="1.0"
+ xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:namespace="http://jaxb2-commons.dev.java.net/namespace-prefix"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/jaxb http://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="relations_common.xsd">
+ <jxb:bindings>
+ <namespace:prefix name="rel" />
+ <!-- Additional @XmlNs prefix declarations to take effect for this schema/package -->
+ <namespace:prefix name="xsi" namespaceURI="http://www.w3.org/2001/XMLSchema-instance" />
+ </jxb:bindings>
+ </jxb:bindings>
+
+</jxb:bindings>
\ No newline at end of file
</goals>
<configuration>
<extension>true</extension>
+ <schemaDirectory>src/main/resources</schemaDirectory>
+ <schemaIncludes>
+ <include>*.xsd</include>
+ </schemaIncludes>
+ <bindingDirectory>src/main/resources</bindingDirectory>
<bindingIncludes>
- <include>xbindings.xjb</include>
+ <include>bindings.xml</include>
</bindingIncludes>
<args>
+ <arg>-extension</arg>
+ <arg>-Xnamespace-prefix</arg>
<arg>-Xannotate</arg>
<arg>-verbose</arg>
<!-- <arg>-XtoString</arg> -->
</configuration>
</execution>
</executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.jvnet.jaxb2_commons</groupId>
+ <artifactId>jaxb2-namespace-prefix</artifactId> <!-- Used to force a specific namespace prefix specified in src/main/resource/bindings.xml -->
+ <version>1.4-snapshot</version>
+ </dependency>
+ </dependencies>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>