Skip to content

Commit

Permalink
Added hint for m2e to behave
Browse files Browse the repository at this point in the history
Added hint for m2e to run generate goal on "configuration change", which basically
means on project imports and when pom.xml has bee modified. This makes
jOOQ projects compile properly when imported and also (for some weird reason)
fixes autoconfiguration of classpath for the generated resources.

Without this change most jOOQ+Eclipse users will need to add lots of Eclipse
specific dirt to their pom.xml file.

Closes #5582
  • Loading branch information
mstahv committed Oct 22, 2016
1 parent fdb2962 commit 7fc99ab
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<goals>
<goal>generate</goal>
</goals>
</pluginExecutionFilter>
<action>
<execute>
<runOnIncremental>false</runOnIncremental>
<runOnConfiguration>true</runOnConfiguration>
</execute>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>

0 comments on commit 7fc99ab

Please sign in to comment.