[forge-issues] [JBoss JIRA] (FORGE-2239) project-new - Cannot create a new project from-archetype-catalog

Claus Ibsen (JIRA) issues at jboss.org
Mon Feb 16 10:59:49 EST 2015


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

Claus Ibsen commented on FORGE-2239:
------------------------------------

So I created this class in the camel forge commands, and when i install the camel-addon it doesnt use my catalog factory
https://github.com/fabric8io/fabric8/blob/master/forge-addons/camel/src/main/java/io/fabric8/forge/camel/commands/project/CamelArchetypeCatalogFactory.java#L34


> project-new - Cannot create a new project from-archetype-catalog
> ----------------------------------------------------------------
>
>                 Key: FORGE-2239
>                 URL: https://issues.jboss.org/browse/FORGE-2239
>             Project: Forge
>          Issue Type: Bug
>         Environment: Using a vanilla Forge 2.14.0 from the command line
>            Reporter: Claus Ibsen
>
> I try to create a new project, and select [7] to select from maven archetype catalog, but the values for catalog and archetype cannot be entered. I am not sure how its supposed to work.
> Here is what I did
> {code}
> [forge-distribution-2.14.0.Final]$ project-new
> ***INFO*** Required inputs not satisfied, entering interactive mode
> ? Project name:  muydemo
> ? Top level package [org.muydemo]:
> ? Version [1.0.0-SNAPSHOT]:
> ? Final name:
> ? Project location [/opt/forge-distribution-2.14.0.Final]:
> [0] (x) war
> [1] ( ) jar
> [2] ( ) parent
> [3] ( ) addon
> [4] ( ) ear
> [5] ( ) resource-jar
> [6] ( ) from-archetype
> [7] ( ) from-archetype-catalog
> Press <ENTER> to confirm, or <CTRL>+C to cancel.
> ? Project type: [0-7] 7
> [0] (x) Maven
> Press <ENTER> to confirm, or <CTRL>+C to cancel.
> ? Build system: [0]
> ***ERROR*** Catalog must be specified.
> ***ERROR*** Archetype must be specified.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the forge-issues mailing list