[
https://issues.apache.org/jira/browse/CAMEL-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ioannis Canellos updated CAMEL-4578:
------------------------------------
Attachment: CAMEL-4578-patch.txt
I am attaching a patch which adds the ability to specify name and scheme while
creating the component using the archetype. It defaults to name=HelloWorld and
scheme=helloworld which are the current defaults.
Example usage:
mvn archetype:generate -DarchetypeGroupId=org.apache.camel.archetypes
-DarchetypeArtifactId=camel-archetype-component -DarchetypeVersion=2.9-SNAPSHOT
-Dname=Awsome -Dscheme=awsome
> Camel component for archetype could accept as property the name of the
> component and the default scheme.
> --------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-4578
> URL: https://issues.apache.org/jira/browse/CAMEL-4578
> Project: Camel
> Issue Type: Improvement
> Reporter: Ioannis Canellos
> Assignee: Ioannis Canellos
> Fix For: 2.9.0
>
> Attachments: CAMEL-4578-patch.txt
>
>
> Currently the component archetype generates a component named HelloWorld and
> there is no easy way to change it. You need to create the project and then
> refactor it, and also refactor comments for javadoc etc.
> It would be really nice if there was a property you could use so that the
> archetype can create the component as the user intends, without the need of
> refactoring.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira