openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (OPENJPA-2826) Unable to use the openjpa-maven-plugin
Date Sun, 13 Dec 2020 19:06:00 GMT

     [ https://issues.apache.org/jira/browse/OPENJPA-2826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Struberg resolved OPENJPA-2826.
------------------------------------
    Resolution: Not A Problem

hope the explanation did help, please reopen if not!

> Unable to use the openjpa-maven-plugin
> --------------------------------------
>
>                 Key: OPENJPA-2826
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2826
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: Enhance
>    Affects Versions: 3.1.0
>            Reporter: Brian Yoder
>            Assignee: Mark Struberg
>            Priority: Minor
>
> When I setup the maven build tool I am getting the error "Description Resource Path Location
TypeDescription Resource Path Location TypePlugin execution not covered by lifecycle configuration:
org.apache.openjpa:openjpa-maven-plugin:3.1.2:enhance (execution: default, phase: process-classes)
pom.xml /IQM line 137 Maven Project Build Lifecycle Mapping Problem"
> I can run this manually from command and it works just fine: "mvn openjpa:enhance"
> But doesn't run automatically at build time with maven plugin...
> Here is my POM:
>  
>                   <plugin>
>                       <groupId>org.apache.openjpa</groupId>
>                       <artifactId>openjpa-maven-plugin</artifactId>
>                       <version>3.1.2</version>
>                       <configuration>
>                             <persistenceXmlFile>${basedir}/src/main/resources/META-INF/persistance.xml</persistenceXmlFile>
>                             <includes>**/entity/*.class</includes>         
             
>                           <includes>**/entity/*.class</includes>
>                           <excludes>**/entity/XML*.class</excludes>
>                           <addDefaultConstructor>true</addDefaultConstructor>              
>                           <enforcePropertyRestrictions>true</enforcePropertyRestrictions>
>                       </configuration>
>                       <executions>
>                           +<++execution++>+
>                              <id>enhancer</id>
>                              <phase>process-classes</phase>
>                               <goals>
>                                   <goal>enhance</goal>
>                               </goals>
>                           </execution>
>                       </executions>
>                       <dependencies>
>                           <dependency>
>                               <groupId>org.apache.openjpa</groupId>
>                               <artifactId>openjpa</artifactId>
>                               <version>3.1.0</version>
>                           </dependency>
>                       </dependencies>
>                   </plugin>



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message