Importing dropwizard-core 2.1.0-SNAPSHOT into maven

32 views
Skip to first unread message

Aaron Carson

unread,
Jun 7, 2020, 7:23:50 PM6/7/20
to dropwizard-user
Hello, I am following the Dropwizard tutorial here: https://www.dropwizard.io/en/latest/getting-started.html and am having trouble importing the most recent version 2.1.0-SNAPSHOT into my pom in Intellij.

Looking on https://mvnrepository.com/artifact/io.dropwizard/dropwizard-core I see this version is not listed.  Is there another Maven repo I need to add to resolve this version off of?  Or am I missing something else?

Jochen Schalanda

unread,
Jun 8, 2020, 4:24:59 AM6/8/20
to dropwiz...@googlegroups.com
Hi Aaron,

you can either build the SNAPSHOT artifacts yourself by running `./mvnw install` in the root directory of the Dropwizard repository or add the Sonatype snapshot repository to your own build:


Looking on https://mvnrepository.com/artifact/io.dropwizard/dropwizard-core I see this version is not listed.  Is there another Maven repo I need to add to resolve this version off of?  Or am I missing something else?

There are only release builds on Maven Central and no SNAPSHOT builds.

Cheers,
Jochen

Aaron Carson

unread,
Jun 8, 2020, 2:12:32 PM6/8/20
to dropwizard-user
https://github.com/dropwizard/dropwizard/blob/v2.0.10/pom.xml#L234-L244 
Thank you!  The above lines added to my pom fixed the issue.
Reply all
Reply to author
Forward
0 new messages