Skip to content

Commit 3dd42cb

Browse files
committed
Updated errors in Eclipse import all modules
1 parent 03e97ff commit 3dd42cb

3 files changed

Lines changed: 40 additions & 0 deletions

File tree

‎spring-jooq/README.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
### Relevant Articles:
22
- [Spring Boot Support for jOOQ](http://www.baeldung.com/spring-boot-support-for-jooq)
33
- [Introduction to jOOQ with Spring](http://www.baeldung.com/jooq-with-spring)
4+
5+
In order to fix the error "Plugin execution not covered by lifecycle configuration: org.jooq:jooq-codegen-maven:3.7.3:generate (execution: default, phase: generate-sources)", right-click on the error message and choose "Mark goal generated as ignore in pom.xml". Until version 1.4.x, the maven-plugin-plugin was covered by the default lifecycle mapping that ships with m2e.
6+
7+
Since version 1.5.x, the m2e default lifecycle mapping no longer covers the maven-plugin-plugin.

‎spring-jooq/pom.xml‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,39 @@
173173
</plugin>
174174

175175
</plugins>
176+
<pluginManagement>
177+
<plugins>
178+
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
179+
<plugin>
180+
<groupId>org.eclipse.m2e</groupId>
181+
<artifactId>lifecycle-mapping</artifactId>
182+
<version>1.0.0</version>
183+
<configuration>
184+
<lifecycleMappingMetadata>
185+
<pluginExecutions>
186+
<pluginExecution>
187+
<pluginExecutionFilter>
188+
<groupId>org.jooq</groupId>
189+
<artifactId>
190+
jooq-codegen-maven
191+
</artifactId>
192+
<versionRange>
193+
[3.7.3,)
194+
</versionRange>
195+
<goals>
196+
<goal>generate</goal>
197+
</goals>
198+
</pluginExecutionFilter>
199+
<action>
200+
<ignore></ignore>
201+
</action>
202+
</pluginExecution>
203+
</pluginExecutions>
204+
</lifecycleMappingMetadata>
205+
</configuration>
206+
</plugin>
207+
</plugins>
208+
</pluginManagement>
176209
</build>
177210

178211
<profiles>

‎spring-jpa/README.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@
1212
- [Spring JPA – Multiple Databases](http://www.baeldung.com/spring-data-jpa-multiple-databases)
1313
- [Hibernate Second-Level Cache](http://www.baeldung.com/hibernate-second-level-cache)
1414
- [Spring, Hibernate and a JNDI Datasource](http://www.baeldung.com/spring-persistence-jpa-jndi-datasource)
15+
16+
To ignore "No persistence xml file found in project", you do:
17+
Project -> Properties -> Java Persistance -> JPA -> Error/Warnings -> Select Ignore on "No persistence xml file found in project"

0 commit comments

Comments
 (0)