You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@taverna.apache.org by st...@apache.org on 2015/02/23 11:05:39 UTC

[54/79] incubator-taverna-language git commit: Use maven-jaxb2-plugin instead

Use maven-jaxb2-plugin instead

.. avoids  accessExternalSchema error on JDK8


Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/commit/9f7a7bb6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/tree/9f7a7bb6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/diff/9f7a7bb6

Branch: refs/heads/master
Commit: 9f7a7bb6d2585e59d4a5c2bbc4802386af9069d8
Parents: 8e4344d
Author: Stian Soiland-Reyes <st...@apache.org>
Authored: Sat Feb 21 21:56:58 2015 +0000
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Sat Feb 21 21:56:58 2015 +0000

----------------------------------------------------------------------
 taverna-baclava-language/pom.xml | 51 +++++++++++++----------------------
 1 file changed, 18 insertions(+), 33 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/blob/9f7a7bb6/taverna-baclava-language/pom.xml
----------------------------------------------------------------------
diff --git a/taverna-baclava-language/pom.xml b/taverna-baclava-language/pom.xml
index 8a6f653..bc3939a 100644
--- a/taverna-baclava-language/pom.xml
+++ b/taverna-baclava-language/pom.xml
@@ -25,42 +25,27 @@ under the License.
 		<artifactId>taverna-language</artifactId>
 		<version>0.15.0-incubating-SNAPSHOT</version>
 	</parent>
-  <artifactId>baclava-language</artifactId>
-  <version>0.0.1-SNAPSHOT</version>
+  <artifactId>taverna-baclava-language</artifactId>
   <name>Apache Taverna Baclava support</name>
   <packaging>bundle</packaging>
   <description>Support for reading and writing Baclava files</description>
   <build>
 		<plugins>
-
-			<plugin>
-				<groupId>org.codehaus.mojo</groupId>
-				<artifactId>jaxb2-maven-plugin</artifactId>
-				<executions>
-					<execution>
-						<goals>
-							<goal>xjc</goal>
-						</goals>
-					</execution>
-				</executions>
-				<configuration>
-					<packageName>org.apache.taverna.baclava</packageName>
-					<schemaDirectory>src/main/resources/xsd/</schemaDirectory>
-				</configuration>
-			</plugin>
-
-	            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <configuration>
-                    <source>1.7</source>
-                    <target>1.7</target>
-                </configuration>
-            </plugin>
-			<plugin>
-				<groupId>org.apache.rat</groupId>
-				<artifactId>apache-rat-plugin</artifactId>
-			</plugin>
-                  </plugins>
-            </build>
+      <plugin>
+          <groupId>org.jvnet.jaxb2.maven2</groupId>
+          <artifactId>maven-jaxb2-plugin</artifactId>
+          <executions>
+            <execution>
+                <goals>
+                    <goal>generate</goal>
+                </goals>
+            </execution>
+          </executions>
+          <configuration>
+            <schemaDirectory>src/main/resources/xsd/</schemaDirectory>
+					<generatePackage>org.apache.taverna.baclava</generatePackage>
+          </configuration>
+        </plugin>
+      </plugins>
+  </build>
 </project>