8 Replies Latest reply on Apr 15, 2011 4:55 AM by befield

    How to obtain an archive from a maven repo?

    Juergen Zimmermann Master

      I want to obtain the JAR for DbUnit from the maven repository. So far I'm using the solution below. Is it the recommended usage or is there another recommendation on using the new API of Alpha 12?


      GenericArchive dbUnitJar = DependencyResolvers.use(MavenDependencyResolver.class)