You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Mark Struberg (Jira)" <ji...@apache.org> on 2020/10/20 11:46:00 UTC
[jira] [Commented] (OPENJPA-2826) Unable to use the
openjpa-maven-plugin
[ https://issues.apache.org/jira/browse/OPENJPA-2826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17217537#comment-17217537 ]
Mark Struberg commented on OPENJPA-2826:
----------------------------------------
Hi [~yoder7] did the above pointer help or is there still something unclear?
> 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)