Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I attempted to use Jörn's solution, but it looks like maven-jaxb2-plugin went ahead and used the rt.jar version anyway, as I got the telling message from the plugin: [INFO] JAXB API is loaded from the [jar:file:/C:/jdk1.6.0_25/jre/lib/rt.jar!].</p> <p>My unsuccessful version of the solution is slightly different in how it uses the dependency plugin, but that's the one part of the build that succeeds...</p> <pre><code>&lt;properties&gt; &lt;endorsed.dir&gt;${project.build.directory}/endorsed&lt;/endorsed.dir&gt; &lt;v.jaxb2-api&gt;2.2.4&lt;/v.jaxb2-api&gt; &lt;v.jaxb2-impl&gt;2.2.4-1&lt;/v.jaxb2-impl&gt; &lt;v.jaxb2-xjc&gt;2.2.4-1&lt;/v.jaxb2-xjc&gt; &lt;v.jaxb2-basics-jaxb&gt;2.1.13.MR2&lt;/v.jaxb2-basics-jaxb&gt; &lt;/properties&gt; ... &lt;build&gt; &lt;plugins&gt; &lt;plugin&gt; &lt;artifactId&gt;maven-dependency-plugin&lt;/artifactId&gt; &lt;executions&gt; &lt;execution&gt; &lt;id&gt;copy-dependencies&lt;/id&gt; &lt;phase&gt;validate&lt;/phase&gt; &lt;goals&gt; &lt;goal&gt;copy-dependencies&lt;/goal&gt; &lt;/goals&gt; &lt;configuration&gt; &lt;outputDirectory&gt;${endorsed.dir}&lt;/outputDirectory&gt; &lt;excludeTransitive&gt;true&lt;/excludeTransitive&gt; &lt;includeArtifactIds&gt;jaxb-api,jaxb-impl&lt;/includeArtifactIds&gt; &lt;/configuration&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;/plugin&gt; &lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt; &lt;version&gt;2.3.2&lt;/version&gt; &lt;configuration&gt; &lt;source&gt;1.6&lt;/source&gt; &lt;target&gt;1.6&lt;/target&gt; &lt;fork&gt;true&lt;/fork&gt; &lt;meminitial&gt;256m&lt;/meminitial&gt; &lt;maxmem&gt;768m&lt;/maxmem&gt; &lt;compilerArguments&gt; &lt;endorseddirs&gt;${endorsed.dir}&lt;/endorseddirs&gt; &lt;/compilerArguments&gt; &lt;/configuration&gt; &lt;/plugin&gt; &lt;/plugins&gt; &lt;/build&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload