It works but it doesn't install jar in my maven repository and when I try to recreate or modify dropwizard-example I can't build/start it because it doesn't find maven libraries
Il giorno giovedì 18 ottobre 2018 20:04:05 UTC+2, Jochen Sch. ha scritto: > > Hi Riccardo, > > I'm not sure what you're doing exactly, but it works for a fresh clone: > > $ git clone -q https://github.com/dropwizard/dropwizard > $ cd dropwizard/ > $ ./mvnw install > [INFO] Scanning for projects... > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Build Order: > [INFO] > [INFO] Dropwizard Project > [pom] > [INFO] Dropwizard Documentation > [jar] > [INFO] Dropwizard BOM > [pom] > [INFO] Dropwizard Utility Classes > [jar] > [INFO] Dropwizard Jackson Support > [jar] > [INFO] Dropwizard Validation Support > [jar] > [INFO] Dropwizard Configuration Support > [jar] > [INFO] Dropwizard Logging Support > [jar] > [INFO] Dropwizard Lifecycle Support > [jar] > [INFO] Dropwizard Metrics Support > [jar] > [INFO] Dropwizard Jersey Support > [jar] > [INFO] Dropwizard Servlet Support > [jar] > [INFO] Dropwizard Jetty Support > [jar] > [INFO] Dropwizard Request Logging Support > [jar] > [INFO] Dropwizard > [jar] > [INFO] Dropwizard Test Helpers > [jar] > [INFO] Dropwizard HTTP Client > [jar] > [INFO] Dropwizard Database Support > [jar] > [INFO] Dropwizard JDBI Support > [jar] > [INFO] Dropwizard JDBI3 Support > [jar] > [INFO] Dropwizard Migrations > [jar] > [INFO] Dropwizard Hibernate Support > [jar] > [INFO] Dropwizard Authentication > [jar] > [INFO] Dropwizard Asset Bundle > [jar] > [INFO] Dropwizard HTTP/2 Support > [jar] > [INFO] Dropwizard Views > [jar] > [INFO] Dropwizard Freemarker Views > [jar] > [INFO] Dropwizard Mustache Views > [jar] > [INFO] Dropwizard Metrics Support for Graphite > [jar] > [INFO] Dropwizard Example Application > [jar] > [INFO] Dropwizard Multipart Form Support > [jar] > [INFO] Dropwizard Archetypes > [pom] > [INFO] Dropwizard Archetype for Simple Java Services > [maven-archetype] > [INFO] Dropwizard Benchmarks > [jar] > [INFO] Dropwizard End-to-end Tests > [jar] > [INFO] Dropwizard JSON logging > [jar] > [INFO] > [INFO] ------------------< io.dropwizard:dropwizard-parent > >------------------- > [INFO] Building Dropwizard Project 2.0.0-rc1-SNAPSHOT > [1/36] > [INFO] --------------------------------[ pom > ]--------------------------------- > [... SNIP ...] > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Dropwizard Project 2.0.0-rc1-SNAPSHOT .............. SUCCESS [02:10 > min] > [INFO] Dropwizard Documentation ........................... SUCCESS [ > 3.040 s] > [INFO] Dropwizard BOM ..................................... SUCCESS [ > 2.387 s] > [INFO] Dropwizard Utility Classes ......................... SUCCESS [ > 11.803 s] > [INFO] Dropwizard Jackson Support ......................... SUCCESS [ > 7.854 s] > [INFO] Dropwizard Validation Support ...................... SUCCESS [ > 7.988 s] > [INFO] Dropwizard Configuration Support ................... SUCCESS [ > 16.505 s] > [INFO] Dropwizard Logging Support ......................... SUCCESS [ > 12.247 s] > [INFO] Dropwizard Lifecycle Support ....................... SUCCESS [ > 6.131 s] > [INFO] Dropwizard Metrics Support ......................... SUCCESS [ > 6.798 s] > [INFO] Dropwizard Jersey Support .......................... SUCCESS [ > 25.576 s] > [INFO] Dropwizard Servlet Support ......................... SUCCESS [ > 10.990 s] > [INFO] Dropwizard Jetty Support ........................... SUCCESS [ > 10.233 s] > [INFO] Dropwizard Request Logging Support ................. SUCCESS [ > 7.555 s] > [INFO] Dropwizard ......................................... SUCCESS [ > 12.272 s] > [INFO] Dropwizard Test Helpers ............................ SUCCESS [ > 19.060 s] > [INFO] Dropwizard HTTP Client ............................. SUCCESS [ > 20.693 s] > [INFO] Dropwizard Database Support ........................ SUCCESS [ > 7.770 s] > [INFO] Dropwizard JDBI Support ............................ SUCCESS [ > 10.299 s] > [INFO] Dropwizard JDBI3 Support ........................... SUCCESS [ > 8.431 s] > [INFO] Dropwizard Migrations .............................. SUCCESS [ > 10.237 s] > [INFO] Dropwizard Hibernate Support ....................... SUCCESS [ > 14.235 s] > [INFO] Dropwizard Authentication .......................... SUCCESS [ > 13.039 s] > [INFO] Dropwizard Asset Bundle ............................ SUCCESS [ > 6.237 s] > [INFO] Dropwizard HTTP/2 Support .......................... SUCCESS [ > 9.297 s] > [INFO] Dropwizard Views ................................... SUCCESS [ > 6.817 s] > [INFO] Dropwizard Freemarker Views ........................ SUCCESS [ > 7.838 s] > [INFO] Dropwizard Mustache Views .......................... SUCCESS [ > 7.358 s] > [INFO] Dropwizard Metrics Support for Graphite ............ SUCCESS [ > 6.001 s] > [INFO] Dropwizard Example Application ..................... SUCCESS [ > 15.827 s] > [INFO] Dropwizard Multipart Form Support .................. SUCCESS [ > 6.343 s] > [INFO] Dropwizard Archetypes .............................. SUCCESS [ > 4.988 s] > [INFO] Dropwizard Archetype for Simple Java Services ...... SUCCESS [ > 48.318 s] > [INFO] Dropwizard Benchmarks .............................. SUCCESS [ > 4.023 s] > [INFO] Dropwizard End-to-end Tests ........................ SUCCESS [ > 11.591 s] > [INFO] Dropwizard JSON logging 2.0.0-rc1-SNAPSHOT ......... SUCCESS [ > 7.819 s] > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESS > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 08:38 min > [INFO] Finished at: 2018-10-18T20:02:07+02:00 > [INFO] > ------------------------------------------------------------------------ > > > Best regards, > Jochen > > Am 18.10.2018 um 09:17 schrieb Riccardo Scarano <[email protected] > <javascript:>>: > > Hi Jochen, > thank your for answer but with mvn install I have this error: > > >> *Downloading from sonatype-nexus-snapshots: >> https://oss.sonatype.org/content/repositories/snapshots/io/dropwizard/dropwizard-parent/2.0.0-rc1-SNAPSHOT/dropwizard-parent-2.0.0-rc1-SNAPSHOT.pom >> >> <https://oss.sonatype.org/content/repositories/snapshots/io/dropwizard/dropwizard-parent/2.0.0-rc1-SNAPSHOT/dropwizard-parent-2.0.0-rc1-SNAPSHOT.pom>* >> *[ERROR] [ERROR] Some problems were encountered while processing the >> POMs:* >> *[FATAL] Non-resolvable parent POM for >> io.dropwizard:dropwizard-bom:[unknown-version]: Could not find artifact >> io.dropwizard:dropwizard-parent:pom:2.0.0-rc1-SNAPSHOT in >> sonatype-nexus-snapshots >> (https://oss.sonatype.org/content/repositories/snapshots >> <https://oss.sonatype.org/content/repositories/snapshots>) @ >> io.dropwizard:dropwizard-bom:[unknown-version], >> C:\Users\ricca\.m2\repository\io\dropwizard\dropwizard-bom\2.0.0-rc1-SNAPSHOT\dropwizard-bom-2.0.0-rc1-SNAPSHOT.pom, >> >> line 5, column 13**[ERROR] 'dependencies.dependency.version' for >> io.dropwizard:dropwizard-util:jar is missing. @ >> io.dropwizard:dropwizard-core:[unknown-version], >> C:\WORK\WS\dropwizard\dropwizard-core\pom.xml, line 27, column 21* > > > > Il giorno mercoledì 17 ottobre 2018 20:08:10 UTC+2, Jochen Sch. ha scritto: >> >> Hi Riccardo, >> >> > How can I get a working dropwizard-example version? >> >> Try running `mvn install` in the root directory of the cloned Dropwizard >> Git repository, so that all projects are being built and installed in your >> local Maven repository. >> >> Dropwizard 2.0.0-rc1-SNAPSHOT hasn't been released yet, so there are no >> artifacts on Maven Central. >> >> Best regards, >> Jochen >> >> > -- > 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] <javascript:>. > For more options, visit https://groups.google.com/d/optout. > > > -- 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.
