You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2020/09/19 19:52:04 UTC

[camel] branch master updated: Fix component archetype

This is an automated email from the ASF dual-hosted git repository.

janbednar 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 08d239b  Fix component archetype
08d239b is described below

commit 08d239bf4e211aa35a84fb46c665dba26d3ed16e
Author: bedlaj <ma...@janbednar.eu>
AuthorDate: Sat Sep 19 21:51:13 2020 +0200

    Fix component archetype
---
 .../resources/archetype-resources/__artifactId__-component/pom.xml    | 2 +-
 .../src/test/resources/projects/build-it/archetype.properties         | 4 ++--
 .../src/main/resources/archetype-resources/pom.xml                    | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/__artifactId__-component/pom.xml b/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/__artifactId__-component/pom.xml
index 12df6648..4304815 100644
--- a/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/__artifactId__-component/pom.xml
+++ b/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/__artifactId__-component/pom.xml
@@ -143,7 +143,7 @@
       <plugin>
         <groupId>org.apache.camel</groupId>
         <artifactId>camel-component-maven-plugin</artifactId>
-        <version>${camelVersion}</version>
+        <version>${camel-version}</version>
         <executions>
           <execution>
             <id>generate</id>
diff --git a/archetypes/camel-archetype-api-component/src/test/resources/projects/build-it/archetype.properties b/archetypes/camel-archetype-api-component/src/test/resources/projects/build-it/archetype.properties
index 4944434..dcc90e1 100644
--- a/archetypes/camel-archetype-api-component/src/test/resources/projects/build-it/archetype.properties
+++ b/archetypes/camel-archetype-api-component/src/test/resources/projects/build-it/archetype.properties
@@ -14,10 +14,10 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
-groupId=com.example
+groupId=org.apache.camel.archetypes.archetypeIT.camel-archetype-api-component
 artifactId=build-it
 version=0.0.1
-package=com.example
+package=org.apache.camel.archetypes.archetypeIT
 name=Dummy
 scheme=dummy
 
diff --git a/archetypes/camel-archetype-component/src/main/resources/archetype-resources/pom.xml b/archetypes/camel-archetype-component/src/main/resources/archetype-resources/pom.xml
index 179f890..7000fd5 100644
--- a/archetypes/camel-archetype-component/src/main/resources/archetype-resources/pom.xml
+++ b/archetypes/camel-archetype-component/src/main/resources/archetype-resources/pom.xml
@@ -101,7 +101,7 @@
           <execution>
             <id>generate</id>
             <goals>
-              <goal>generate-component</goal>
+              <goal>generate</goal>
             </goals>
             <phase>process-classes</phase>
           </execution>