[
https://issues.apache.org/activemq/browse/SM-1339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42863#action_42863
]
Gert Vanthienen commented on SM-1339:
-------------------------------------
A solution would be to build our own implementation of the
ArchetypeGenerationQueryer interface, but without
http://jira.codehaus.org/browse/MNG-2771 being solved or the default
implementations getting a {{<role-hint/>}}, I don't think that's currently
possible.
> Provide better default values when using the archetype catalog
> --------------------------------------------------------------
>
> Key: SM-1339
> URL: https://issues.apache.org/activemq/browse/SM-1339
> Project: ServiceMix
> Issue Type: Improvement
> Components: archetypes
> Reporter: Gert Vanthienen
> Assignee: Gert Vanthienen
> Priority: Minor
>
> With SM-1277, we now have an archetype for creating the project root pom.xml
> file. Afterwards, you can use a simple {{mvn archetype:generate}} to
> generate your SU/SA subprojects. Currently, the interactive project
> generation doesn't propose any default values, as is shown below:
> {noformat}
> Choose archetype:
> 1: remote -> servicemix-bean-service-unit (servicemix-su)
> 2: remote -> servicemix-binding-component (servicemix-se)
> 3: remote -> servicemix-camel-service-unit (camel-jbi-service-unit)
> 4: remote -> servicemix-cxf-bc-service-unit (servicemix-cxf-bc-service-unit)
> 5: remote -> servicemix-cxf-se-service-unit (servicemix-cxf-se-service-unit)
> 6: remote -> servicemix-drools-service-unit (servicemix-drools-service-unit)
> 7: remote -> servicemix-eip-service-unit (servicemix-su)
> 8: remote -> servicemix-embedded-simple (servicemix-su)
> 9: remote -> servicemix-file-poller-service-unit (servicemix-su)
> 10: remote -> servicemix-file-sender-service-unit (servicemix-su)
> 11: remote -> servicemix-ftp-poller-service-unit (servicemix-su)
> 12: remote -> servicemix-ftp-sender-service-unit (servicemix-su)
> 13: remote -> servicemix-http-consumer-service-unit (servicemix-su)
> 14: remote -> servicemix-http-provider-service-unit (servicemix-su)
> 15: remote -> servicemix-jms-consumer-service-unit (servicemix-su)
> 16: remote -> servicemix-jms-provider-service-unit (servicemix-su)
> 17: remote -> servicemix-jsr181-annotated-service-unit
> (servicemix-jsr181-annotated-service-unit)
> 18: remote -> servicemix-jsr181-wsdl-first-service-unit (servicemix-su)
> 19: remote -> servicemix-lwcontainer-service-unit (servicemix-su)
> 20: remote -> servicemix-ode-service-unit (servicemix-su)
> 21: remote -> servicemix-osworkflow-service-unit
> (servicemix-osworkflow-service-unit)
> 22: remote -> servicemix-project-root (servicemix-project-root)
> 23: remote -> servicemix-saxon-xquery-service-unit (servicemix-su)
> 24: remote -> servicemix-saxon-xslt-service-unit (servicemix-su)
> 25: remote -> servicemix-service-assembly (servicemix-sa)
> 26: remote -> servicemix-service-engine (servicemix-se)
> 27: remote -> servicemix-service-unit (servicemix-su)
> 28: remote -> servicemix-shared-library (servicemix-su)
> Choose a number:
> (1/2/3/4/5/6/7/8/9/10/11/12/13/14/15/16/17/18/19/20/21/22/23/24/25/26/27/28):
> 25
> [INFO] snapshot
> org.apache.servicemix.tooling:servicemix-service-assembly:3.2.2-SNAPSHOT:
> checking for updates from apache.snapshots
> Downloading:
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/servicemix/tooling/servicemix-service-assembly/3.2.2-SNAPSHOT/servicemix-service-assembly-3.2.2-20080508.010431-28.jar
> 29K downloaded
> Define value for groupId: :
> Define value for artifactId: :
> Define value for version: 1.0-SNAPSHOT: :
> Define value for package: :
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.