Hi Mike,

It looks like the archetype prompts for groupId, artifactId, version, and 
package in addition to name (documented at the link you posted).

The groupId, artifactId, and version (gav) make up the project's maven 
coordinates[0]. They identify your project's jar in a maven repository.

groupId - usually a reverse ordered domain name for your company/org/you. 
eg com.example.subgroup. The groupId is used to organize your project's jar 
files in a maven repository -- for a sample project the value you put here 
won't matter much, except that the groupId is used as the default value for 
the package.
artifactId - usually used to name the jar file. eg: myapp or test-service
version - for a toy project, the default value of 1.0-SNAPSHOT is probably 
fine

By default, the generated pom will use ${artifactId}-${version}.jar as the 
name of your jar file when built, eg myapp-1.0-SNAPSHOT.jar

package - The java package/directory to put your code in. Usually matches 
the groupId. For example, if you specify a package of "com.example.stuff", 
the archetype will generate classes in the src/main/java/com/example/stuff 
directory with a `package com.example.stuff;` line at the top.

I believe the other parameters are filled in for you, so you probably don't 
need to worry about them.

Does that help?
 
-Dimas

[0] https://maven.apache.org/pom.html#Maven_Coordinates

On Thursday, April 13, 2017 at 2:32:55 PM UTC-4, [email protected] wrote:
>
> Hello,
>
> I'm a developer with no backend experience and am trying to pickup some 
> backend development. I've been following the Dropwizard 'Getting Started' 
> tutorial here: http://www.dropwizard.io/1.1.0/docs/getting-started.html. 
> I am using the dropwizard-archetype option for creating the initial 
> project. I had a question around that step specifically. Is there any 
> documentation or info about the various parameters that it prompts you for?
>
> I can see that the dropwizard-archetype page (
> https://github.com/dropwizard/dropwizard/tree/master/dropwizard-archetypes) 
> mentions just 1 note about the $name parameter... but thats about it. I 
> know I could do digging through the dropwizard-archetype src to try to 
> figure this out... but as I haven't worked much with these sorts of 
> projects so its hard to figure out what these things are. So I'm curious if 
> there exists some high-level overview of what these various parameters set 
> (aka a nice overview of some of the standard "names" in dropwizard 
> projects)?
>
> Sincerely,
>
> Mike Z. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to