[forge-dev] [JBoss JIRA] Commented: (SEAMFORGE-3) Create project from Maven archetype

Dan Allen (JIRA) jira-events at lists.jboss.org
Mon Apr 11 17:38:33 EDT 2011


    [ https://issues.jboss.org/browse/SEAMFORGE-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594891#comment-12594891 ] 

Dan Allen commented on SEAMFORGE-3:
-----------------------------------

Fantastic. Keep in mind that archetypes are very much a means to an end. What I'm most interested in is the end. The end is having a ready-made project for experimenting with CDI, JPA, JSF, JAX-RS, Bean Validation, EJB-lite and Arquillian. In fact, having to maintain the archetypes using a reverse engineering of the project is a real pain. Hopefully the helps give you an idea of where to place focus.

I should also mention that the archetypes have been extremely popular in trainings because minimal effort gives students a lot of early success.

> Create project from Maven archetype
> -----------------------------------
>
>                 Key: SEAMFORGE-3
>                 URL: https://issues.jboss.org/browse/SEAMFORGE-3
>             Project: Seam Forge
>          Issue Type: Feature Request
>            Reporter: Dan Allen
>            Assignee: Rodney Russ
>            Priority: Minor
>
> Since the catalog of Maven archetypes is substantial, and the archetype plugin interface is so abysmal, Forge could benefit from being a stand-in replacement to archetype:generate. A command in Forge to create a new project from a Maven archetype would certainly offer a nice complement to the more basic "new-project" command. It could just be an additional flag to the new-project command, such as:
> new-project --named MyProject --fromArchetype org.jboss.weld.archetypes:jboss-javaee6-webapp
> Using the interactive prompts, you may be able to provide a list of archetypes, perhaps w/ a filtering mechanism. You could also just do a best guess based on what's found in the catalog.
> new-project --named MyProject --fromArchetype jboss-javaee6-webapp
> You could just delegate to Maven by building up the "mvn archetype:generate" command from Forge. Long term we could consider emulating the archetype:generate plugin so as just to consume the projects that are out there already w/o any linkage to Maven.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-dev mailing list