Is there a basic stack-starter archetype?
-
- New Member
- Posts: 4
- Joined: Tue Feb 01, 2011 1:56 pm
Is there a basic stack-starter archetype?
I'd like to initialize projects from the command-line using an archetype - what would that be for the basic stack-starter defaults?
-
- Member
- Posts: 101
- Joined: Mon Mar 29, 2010 3:11 pm
- Location: Utah, USA
-
- New Member
- Posts: 4
- Joined: Tue Feb 01, 2011 1:56 pm
I'd rather type
(for some values that generate the same result as the default selections from the jnlp)
than use the stack-starter jnlp.
If I'm not making sense it's OK. I'm almost done creating my own archetype and I can just use that.
Code: Select all
mvn archetype:generate -DgroupId=org.sonatype.mavenbook -DartifactId=quickstart -Dversion=1.0-SNAPSHOT -DpackageName=org.sonatype.mavenbook -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.0 -DinteractiveMode=false
than use the stack-starter jnlp.
If I'm not making sense it's OK. I'm almost done creating my own archetype and I can just use that.
-
- Church Employee
- Posts: 14
- Joined: Wed Mar 11, 2009 5:32 pm
- Location: Herriman, UT, US
We did have a Maven Archetype a long time ago, but switched to the current Stack Starter because it allowed projects to be configured much better out of the box. Is there a specific reason you don't want to use the stack starter web start application?
We do have an experimental way of running the stack starter in a headless way that will generate a project from a properties file (one is generated when you run Stack Starter). I can give you more information on that if it would be helpful.
We do have an experimental way of running the stack starter in a headless way that will generate a project from a properties file (one is generated when you run Stack Starter). I can give you more information on that if it would be helpful.
- Spencer Uresk
Java Stack Team
Java Stack Team
-
- New Member
- Posts: 4
- Joined: Tue Feb 01, 2011 1:56 pm