This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new f7ff0b6 update Camel Package Maven plugin documentation (#3697)
f7ff0b6 is described below
commit f7ff0b626151937449e02d128ede1e002987425d
Author: Jim Cushing <[email protected]>
AuthorDate: Wed Apr 22 08:54:09 2020 -0400
update Camel Package Maven plugin documentation (#3697)
source files need to be re-compiled after type converter loaders are
generated. This updates the documentation to show how to configure
maven-compile-plugin to run again after generation.
Co-authored-by: Jim Cushing <[email protected]>
---
.../modules/ROOT/pages/camel-3x-upgrade-guide.adoc | 26 ++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide.adoc
b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide.adoc
index 420882a..5977f27 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide.adoc
@@ -321,6 +321,32 @@ To the following:
</execution>
</executions>
</plugin>
+ <!--
+ Recompile source after generated loader classes have been created.
+ The maven-compiler-plugin must be defined in the POM after the
+ camel-package-maven-plugin so recompile runs after generated
+ sources have been created.
+
+ Adjust configuration for the JDK version your project uses.
+ -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>3.8.1</version>
+ <configuration>
+ <source>1.11</source>
+ <target>1.11</target>
+ </configuration>
+ <executions>
+ <execution>
+ <id>recompile</id>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ <phase>process-classes</phase>
+ </execution>
+ </executions>
+ </plugin>
----
=== API changes