You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by st...@apache.org on 2020/09/06 20:25:40 UTC

svn commit: r1881517 - /openjpa/site/trunk/content/enhancement-with-maven.mdtext

Author: struberg
Date: Sun Sep  6 20:25:40 2020
New Revision: 1881517

URL: http://svn.apache.org/viewvc?rev=1881517&view=rev
Log:
also link to our fresh openjpa-maven-plugin section

Modified:
    openjpa/site/trunk/content/enhancement-with-maven.mdtext

Modified: openjpa/site/trunk/content/enhancement-with-maven.mdtext
URL: http://svn.apache.org/viewvc/openjpa/site/trunk/content/enhancement-with-maven.mdtext?rev=1881517&r1=1881516&r2=1881517&view=diff
==============================================================================
--- openjpa/site/trunk/content/enhancement-with-maven.mdtext (original)
+++ openjpa/site/trunk/content/enhancement-with-maven.mdtext Sun Sep  6 20:25:40 2020
@@ -2,11 +2,7 @@ Title: Enhancement with Maven
 <a name="EnhancementwithMaven-Usingtheopenjpa-maven-plugin"></a>
 ## Using the openjpa-maven-plugin
 
-The Maven plugin, formerly provided by the Codehaus project is now part of
-OpenJPA 2.2.0. The plugins documentation can be found [here](http://people.apache.org/~mikedd/openjpa/openjpa-maven-plugin/)
- until it finds a permanent home one the openjpa site. 
-
-The previous versions of the plugin can be found at the [Codehaus project](http://mojo.codehaus.org/openjpa-maven-plugin/index.html)
+The full OpenJPA Maven plugin documentation can be found [here](http://openjpa.apache.org/builds/3.1.2/openjpa-maven-plugin/index.html).
 
 For example, to enhance you source entity classes after they have been
 compiled (but exclude any POJO classes that rely upon orm.xml maappings),
@@ -17,7 +13,7 @@ add the openjpa-maven-plugin to the <bui
         <plugin>
             <groupId>org.apache.openjpa</groupId>
             <artifactId>openjpa-maven-plugin</artifactId>
-            <version>2.2.0-SNAPSHOT</version>
+            <version>3.1.2</version>
             <configuration>
                 <includes>**/entities/*.class</includes>
                 <excludes>**/entities/XML*.class</excludes>
@@ -33,21 +29,13 @@ add the openjpa-maven-plugin to the <bui
                     </goals>
                 </execution>
             </executions>
-            <dependencies>
-                <dependency>
-                    <groupId>org.apache.openjpa</groupId>
-                    <artifactId>openjpa</artifactId>
-                    <!-- set the version to be the same as the level in your runtime -->
-                    <version>1.2.2</version>
-                </dependency>
-            </dependencies>
         </plugin>
         ...
         </build>
 
 
 There are other goals available to create the Entity to SQL mapping and
-Entity to XML Schema mapping, which are documented under the [Goals section](http://mojo.codehaus.org/openjpa-maven-plugin/plugin-info.html)
+Entity to XML Schema mapping, which are documented under the [Goals section](https://openjpa.apache.org/builds/3.1.2/openjpa-maven-plugin/plugin-info.html)
  on the plugin website.
 
 <a name="EnhancementwithMaven-Usingthemaven-antrun-plugin"></a>