]
George Gastaldi updated FORGE-2580:
-----------------------------------
Issue Type: Enhancement (was: Task)
Stack field should be disabled for certain project types
--------------------------------------------------------
Key: FORGE-2580
URL:
https://issues.jboss.org/browse/FORGE-2580
Project: Forge
Issue Type: Enhancement
Affects Versions: 3.0.0.Beta2
Reporter: Claus Ibsen
Assignee: George Gastaldi
Fix For: 3.0.0.Beta3
In beta2 the project-new command now asks about build system (see below).
Because its JEE related asking about JEE6 and JEE7 what does it do? And is there a way to
turn it off. Its IMHO important for forge to be "neutral" and not impose
something like JEE on users that do not want this.
As I chose from archetype / archetype-catalog. I just want project-new to create the
maven project 100% from the maven archetype and not do "extra stuff" about JEE.
{code}
[workspace]$ project-new
***INFO*** Required inputs not satisfied, entering interactive mode
* Project name: foo
? Top level package [org.foo]:
? Version [1.0.0-SNAPSHOT]:
? Final name:
? Project location [/Users/davsclaus/Documents/workspace]:
[0] (x) war
[1] ( ) jar
[2] ( ) parent
[3] ( ) addon
[4] ( ) resource-jar
[5] ( ) ear
[6] ( ) from-archetype
[7] ( ) from-archetype-catalog
[8] ( ) generic
Press <ENTER> to confirm, or <CTRL>+C to cancel.
* Project type: [0-8] 7
[0] (x) Maven
Press <ENTER> to confirm, or <CTRL>+C to cancel.
* Build system: [0] 0
[0] ( ) JAVA_EE_7
[1] ( ) JAVA_EE_6
[2] ( ) NONE
Press <ENTER> to confirm, or <CTRL>+C to cancel.
? Stack (The technology stack to be used in this project): [0-2] 2
[0] ( ) camel
[1] ( ) fabric8
{code}