From cb0a71e349b19b31193167361583d787821dc2bf Mon Sep 17 00:00:00 2001 From: Jorge Oliveira Date: Mon, 8 Feb 2016 20:53:43 +0000 Subject: [PATCH] Test case for #82 toolchain awareness --- tests/gh-issue-82/pom.xml | 66 +++++++++++++++++++ tests/gh-issue-82/src/main/resources/test.xsd | 20 ++++++ tests/gh-issue-82/toolchains.xml | 23 +++++++ tests/pom.xml | 1 + 4 files changed, 110 insertions(+) create mode 100644 tests/gh-issue-82/pom.xml create mode 100644 tests/gh-issue-82/src/main/resources/test.xsd create mode 100644 tests/gh-issue-82/toolchains.xml diff --git a/tests/gh-issue-82/pom.xml b/tests/gh-issue-82/pom.xml new file mode 100644 index 000000000..55a857024 --- /dev/null +++ b/tests/gh-issue-82/pom.xml @@ -0,0 +1,66 @@ + + 4.0.0 + org.jvnet.jaxb2.maven2 + maven-jaxb2-plugin-tests-gh-issue-82 + + org.jvnet.jaxb2.maven2 + maven-jaxb2-plugin-tests + 0.13.2-SNAPSHOT + + jar + Maven JAXB 2.x Plugin Tests [GitHub Issue #82] + + + com.sun.xml.bind + jaxb-impl + ${jaxb.version} + + + + + + org.jvnet.jaxb2.maven2 + maven-jaxb2-plugin + + + + + maven-compiler-plugin + + 1.6 + 1.6 + + + + org.apache.maven.plugins + maven-toolchains-plugin + 1.1 + + + + toolchain + + + + + + + 1.6 + oracle + + + + + + + \ No newline at end of file diff --git a/tests/gh-issue-82/src/main/resources/test.xsd b/tests/gh-issue-82/src/main/resources/test.xsd new file mode 100644 index 000000000..4c3c5254a --- /dev/null +++ b/tests/gh-issue-82/src/main/resources/test.xsd @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tests/gh-issue-82/toolchains.xml b/tests/gh-issue-82/toolchains.xml new file mode 100644 index 000000000..6814f8aab --- /dev/null +++ b/tests/gh-issue-82/toolchains.xml @@ -0,0 +1,23 @@ + + + + jdk + + 1.6 + oracle + + + /usr/lib/jvm/jdk-6-oracle-x64 + + + + jdk + + 1.8 + oracle + + + /usr/lib/jvm/jdk-8-oracle-x64 + + + diff --git a/tests/pom.xml b/tests/pom.xml index 6bc4b5189..b204eeb98 100644 --- a/tests/pom.xml +++ b/tests/pom.xml @@ -41,6 +41,7 @@ gh-issue-22 gh-issue-23 gh-issue-58 + gh-issue-82