concept plugin in category camel

This is an excerpt from Manning's book Camel in Action.
The
generategoal of the Maven archetype plugin can also be used in an interactive fashion. Just omit the-Boption, and the plugin will prompt you through the archetype you want to use. You can select the Camel archetypes through this interactive shell as well, so it’s a useful option for developers new to Camel.
The plugin has other noteworthy functionality such as live validation in the source code, where any misconfigured Camel endpoint or Simple language expression will be highlighted with a red underline.
If that’s too much for you, the plugin can be configured from the preferences, where you find Apache Camel in the Languages & Frameworks group. The plugin works with both the Java and XML DSLs. Press Ctrl-space anywhere in your Camel code, and the plugin is there to help you. One last thing to highlight as well is that the plugin works with any Apache Camel release—it’s capable of downloading the catalog information from newer or older versions on the fly (we cover the Camel Catalog in section 19.2).
A summary of the plugin’s pros and cons is listed in table 19.2.
You can also enable the plugin to automatically run as part of the build, but configure the plugin to run the validate goal as part of the process-classes phase:
<plugin> <groupId>org.apache.camel</groupId> <artifactId>camel-maven-plugin</artifactId> <version>2.20.1</version> <executions> <execution> <phase>process-classes</phase> <goals> <goal>validate</goal> </goals> </execution> </executions> </plugin>By default, the plugin validates the source code only in src/main, so if you want to also validate the unit-test source code, you need to turn this on by configuring
includeTest=true, as highlighted here in bold:<plugin> <groupId>org.apache.camel</groupId> <artifactId>camel-maven-plugin</artifactId> <version>2.20.1</version> <executions> <configuration> <includeTest>true</includeTest> </configuration> <execution> <phase>process-classes</phase> <goals> <goal>validate</goal> </goals> </execution> </executions> </plugin> !@%STYLE%@! {"css":"{\"css\": \"font-weight: bold;\"}","target":"[[{\"line\":5,\"ch\":1},{\"line\":5,\"ch\":16}],[{\"line\":6,\"ch\":1},{\"line\":6,\"ch\":32}],[{\"line\":7,\"ch\":1},{\"line\":7,\"ch\":17}]]"} !@%STYLE%@!The plugin has options you can configure, and you can find details in the Camel plugin documentation at: https://github.com/apache/camel/blob/master/tooling/maven/camel-maven-plugin/src/main/docs/camel-maven-plugin.adoc.