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-examples.git


The following commit(s) were added to refs/heads/master by this push:
     new 7a25e87  Fixed examples
7a25e87 is described below

commit 7a25e871354c994d560a93d6417a6289427bcd5e
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Fri May 8 22:32:44 2020 +0200

    Fixed examples
---
 examples/camel-example-main-xml/pom.xml | 6 ++----
 examples/camel-example-main/pom.xml     | 6 ++----
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/examples/camel-example-main-xml/pom.xml 
b/examples/camel-example-main-xml/pom.xml
index 9d5b745..fa80bc0 100644
--- a/examples/camel-example-main-xml/pom.xml
+++ b/examples/camel-example-main-xml/pom.xml
@@ -97,15 +97,13 @@
 
     <build>
         <plugins>
-            <!-- Run 'mvn camel-main:generate' -->
-            <!-- generate autowire.properties file that can automatic detect 
resources
-                 from the classpath to make convention over configuration for 
Camel components -->
             <plugin>
                 <groupId>org.apache.camel</groupId>
-                <artifactId>camel-main-maven-plugin</artifactId>
+                <artifactId>camel-maven-plugin</artifactId>
                 <version>${camel.version}</version>
                 <configuration>
                     <logClasspath>false</logClasspath>
+                    
<mainClass>org.apache.camel.example.MyApplication</mainClass>
                 </configuration>
             </plugin>
         </plugins>
diff --git a/examples/camel-example-main/pom.xml 
b/examples/camel-example-main/pom.xml
index 571a748..df89b01 100644
--- a/examples/camel-example-main/pom.xml
+++ b/examples/camel-example-main/pom.xml
@@ -86,15 +86,13 @@
 
     <build>
         <plugins>
-            <!-- Run 'mvn camel-main:generate' -->
-            <!-- generate autowire.properties file that can automatic detect 
resources
-                 from the classpath to make convention over configuration for 
Camel components -->
             <plugin>
                 <groupId>org.apache.camel</groupId>
-                <artifactId>camel-main-maven-plugin</artifactId>
+                <artifactId>camel-maven-plugin</artifactId>
                 <version>${camel.version}</version>
                 <configuration>
                     <logClasspath>false</logClasspath>
+                    
<mainClass>org.apache.camel.example.MyApplication</mainClass>
                 </configuration>
             </plugin>
         </plugins>

Reply via email to