Author: buildbot
Date: Sun Sep 6 20:25:48 2020
New Revision: 1065255
Log:
Staging update by buildbot for openjpa
Modified:
websites/staging/openjpa/trunk/content/ (props changed)
websites/staging/openjpa/trunk/content/enhancement-with-maven.html
Propchange: websites/staging/openjpa/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Sep 6 20:25:48 2020
@@ -1 +1 @@
-1881490
+1881517
Modified: websites/staging/openjpa/trunk/content/enhancement-with-maven.html
==============================================================================
--- websites/staging/openjpa/trunk/content/enhancement-with-maven.html
(original)
+++ websites/staging/openjpa/trunk/content/enhancement-with-maven.html Sun Sep
6 20:25:48 2020
@@ -157,10 +157,7 @@ limitations under the License.
h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink,
h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink,
dt:hover > .elementid-permalink { visibility: visible }</style>
<p><a name="EnhancementwithMaven-Usingtheopenjpa-maven-plugin"></a></p>
<h2 id="using-the-openjpa-maven-plugin">Using the openjpa-maven-plugin<a
class="headerlink" href="#using-the-openjpa-maven-plugin" title="Permanent
link">¶</a></h2>
-<p>The Maven plugin, formerly provided by the Codehaus project is now part of
-OpenJPA 2.2.0. The plugins documentation can be found <a
href="http://people.apache.org/~mikedd/openjpa/openjpa-maven-plugin/">here</a>
- until it finds a permanent home one the openjpa site. </p>
-<p>The previous versions of the plugin can be found at the <a
href="http://mojo.codehaus.org/openjpa-maven-plugin/index.html">Codehaus
project</a></p>
+<p>The full OpenJPA Maven plugin documentation can be found <a
href="http://openjpa.apache.org/builds/3.1.2/openjpa-maven-plugin/index.html">here</a>.</p>
<p>For example, to enhance you source entity classes after they have been
compiled (but exclude any POJO classes that rely upon orm.xml maappings),
add the openjpa-maven-plugin to the <build> section of your pom.xml, like -</p>
@@ -169,7 +166,7 @@ add the openjpa-maven-plugin to the <bui
<span class="nt"><plugin></span>
<span class="nt"><groupId></span>org.apache.openjpa<span
class="nt"></groupId></span>
<span class="nt"><artifactId></span>openjpa-maven-plugin<span
class="nt"></artifactId></span>
- <span class="nt"><version></span>2.2.0-SNAPSHOT<span
class="nt"></version></span>
+ <span class="nt"><version></span>3.1.2<span
class="nt"></version></span>
<span class="nt"><configuration></span>
<span class="nt"><includes></span>**/entities/*.class<span
class="nt"></includes></span>
<span
class="nt"><excludes></span>**/entities/XML*.class<span
class="nt"></excludes></span>
@@ -185,14 +182,6 @@ add the openjpa-maven-plugin to the <bui
<span class="nt"></goals></span>
<span class="nt"></execution></span>
<span class="nt"></executions></span>
- <span class="nt"><dependencies></span>
- <span class="nt"><dependency></span>
- <span class="nt"><groupId></span>org.apache.openjpa<span
class="nt"></groupId></span>
- <span class="nt"><artifactId></span>openjpa<span
class="nt"></artifactId></span>
- <span class="c"><!-- set the version to be the same as the
level in your runtime --></span>
- <span class="nt"><version></span>1.2.2<span
class="nt"></version></span>
- <span class="nt"></dependency></span>
- <span class="nt"></dependencies></span>
<span class="nt"></plugin></span>
...
<span class="nt"></build></span>
@@ -200,7 +189,7 @@ add the openjpa-maven-plugin to the <bui
<p>There are other goals available to create the Entity to SQL mapping and
-Entity to XML Schema mapping, which are documented under the <a
href="http://mojo.codehaus.org/openjpa-maven-plugin/plugin-info.html">Goals
section</a>
+Entity to XML Schema mapping, which are documented under the <a
href="https://openjpa.apache.org/builds/3.1.2/openjpa-maven-plugin/plugin-info.html">Goals
section</a>
on the plugin website.</p>
<p><a name="EnhancementwithMaven-Usingthemaven-antrun-plugin"></a></p>
<h2 id="using-the-maven-antrun-plugin">Using the maven-antrun-plugin<a
class="headerlink" href="#using-the-maven-antrun-plugin" title="Permanent
link">¶</a></h2>