You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by dh...@apache.org on 2014/06/23 23:48:46 UTC
git commit: Minor polish in API component archetype
Repository: camel
Updated Branches:
refs/heads/master e316663c0 -> 1103fe038
Minor polish in API component archetype
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/1103fe03
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/1103fe03
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/1103fe03
Branch: refs/heads/master
Commit: 1103fe038ae9e88c6ea3e69bd5d5ee1a4a5df406
Parents: e316663
Author: Dhiraj Bokde <dh...@yahoo.com>
Authored: Mon Jun 23 14:48:37 2014 -0700
Committer: Dhiraj Bokde <dh...@yahoo.com>
Committed: Mon Jun 23 14:48:37 2014 -0700
----------------------------------------------------------------------
.../archetype-resources/__artifactId__-component/pom.xml | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/1103fe03/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 b605a57..70735f3 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
@@ -184,11 +184,7 @@
<!-- Use method aliases in endpoint URIs, e.g. support 'widget' as alias for getWidget or setWidget
<aliases>
<alias>
- <methodPattern>get(.+)</methodPattern>
- <methodAlias>$1</methodAlias>
- </alias>
- <alias>
- <methodPattern>set(.+)</methodPattern>
+ <methodPattern>[gs]et(.+)</methodPattern>
<methodAlias>$1</methodAlias>
</alias>
</aliases>