Brian Yoder created OPENJPA-2826: ------------------------------------ Summary: 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
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)