Use maven-jaxb2-plugin instead of jaxb2-maven-plugin

Corrected Javadoc package names
diff --git a/pom.xml b/pom.xml
index 1140e8c..2618505 100644
--- a/pom.xml
+++ b/pom.xml
@@ -135,19 +135,6 @@
 							<pluginExecutions>
 								<pluginExecution>
 									<pluginExecutionFilter>
-										<groupId>org.codehaus.mojo</groupId>
-										<artifactId>jaxb2-maven-plugin</artifactId>
-										<versionRange>[1.3.1,)</versionRange>
-										<goals>
-											<goal>xjc</goal>
-										</goals>
-									</pluginExecutionFilter>
-									<action>
-										<execute />
-									</action>
-								</pluginExecution>
-								<pluginExecution>
-									<pluginExecutionFilter>
 										<groupId>org.jvnet.ws.wadl</groupId>
 										<artifactId>wadl-client-plugin</artifactId>
 										<versionRange>[1.1.6,)</versionRange>
@@ -253,6 +240,15 @@
 						</lifecycleMappingMetadata>
 					</configuration>
 				</plugin>
+				<plugin>
+						<groupId>org.jvnet.jaxb2.maven2</groupId>
+						<artifactId>maven-jaxb2-plugin</artifactId>
+						<configuration>
+								<enableIntrospection>true</enableIntrospection>
+								<specVersion>2.2</specVersion>
+								<schemaDirectory>src/main/xsd</schemaDirectory>
+						</configuration>
+				</plugin>
 			</plugins>
 		</pluginManagement>
 		<plugins>
@@ -347,6 +343,13 @@
 				<artifactId>joda-time</artifactId>
 				<version>2.3</version>
 			</dependency>
+			<dependency>
+				<groupId>com.sun.xml.bind</groupId>
+				<artifactId>jaxb-impl</artifactId>
+				<version>${jaxb.version}</version>
+				<type>jar</type>
+				<optional>true</optional>
+			</dependency>
 		</dependencies>
 	</dependencyManagement>
 
@@ -390,7 +393,7 @@
 						</group>
 						<group>
 							<title>Externally-Defined Document Formats</title>
-							<packages>org.taverna.server.port_description:org.ogf.usage:org.ogf.usage.v1_0:org.w3._2000._09.xmldsig_</packages>
+							<packages>org.taverna.server.port_description:org.ogf.usage:org.apache.taverna.server.usagerecord.xml.urf:org.apache.taverna.server.usagerecord.xml.dsig</packages>
 						</group>
 						<group>
 							<title>Server Back End Factory Coupling to Command Line Executor</title>
diff --git a/taverna-server-usagerecord/pom.xml b/taverna-server-usagerecord/pom.xml
index 6af20db..73b8570 100644
--- a/taverna-server-usagerecord/pom.xml
+++ b/taverna-server-usagerecord/pom.xml
@@ -28,21 +28,15 @@
 	<build>
 		<plugins>
 			<plugin>
-				<groupId>org.codehaus.mojo</groupId>
-				<artifactId>jaxb2-maven-plugin</artifactId>
-				<version>1.3.1</version>
-				<executions>
-					<execution>
-						<id>xsd2java</id>
-						<goals>
-							<goal>xjc</goal>
-						</goals>
-						<configuration>
-							<outputDirectory>${project.build.directory}/generated-sources/xjc</outputDirectory>
-							<schemaDirectory>${basedir}/src/main/xsd</schemaDirectory>
-						</configuration>
-					</execution>
-				</executions>
+			<groupId>org.jvnet.jaxb2.maven2</groupId>
+			<artifactId>maven-jaxb2-plugin</artifactId>
+			<executions>
+				<execution>
+					<goals>
+						<goal>generate</goal>
+					</goals>
+				</execution>
+			</executions>
 			</plugin>
 		</plugins>
 	</build>