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 2016/08/22 01:30:58 UTC
camel git commit: fix reg ex for sample substitution
Repository: camel
Updated Branches:
refs/heads/master 8c9018522 -> 5d697024a
fix reg ex for sample substitution
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/5d697024
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/5d697024
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/5d697024
Branch: refs/heads/master
Commit: 5d697024a3baf18fd64a6b7be7f3cdda4c5a92e7
Parents: 8c90185
Author: Jonathan Anstey <ja...@gmail.com>
Authored: Sun Aug 21 23:00:39 2016 -0230
Committer: Jonathan Anstey <ja...@gmail.com>
Committed: Sun Aug 21 23:00:39 2016 -0230
----------------------------------------------------------------------
.../archetype-resources/__artifactId__-component/pom.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/5d697024/tooling/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/__artifactId__-component/pom.xml
----------------------------------------------------------------------
diff --git a/tooling/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/__artifactId__-component/pom.xml b/tooling/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/__artifactId__-component/pom.xml
index 009048a..555bcb6 100644
--- a/tooling/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/__artifactId__-component/pom.xml
+++ b/tooling/archetypes/camel-archetype-api-component/src/main/resources/archetype-resources/__artifactId__-component/pom.xml
@@ -171,8 +171,8 @@
<!-- Use substitutions to manipulate parameter names and avoid name clashes
<substitutions>
<substitution>
- <method>^.+$</method>
- <argName>^.+$</argName>
+ <method>^(.+)$</method>
+ <argName>^(.+)$</argName>
<argType>java.lang.String</argType>
<replacement>$1Param</replacement>
<replaceWithType>false</replaceWithType>