<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><a href="http://mvnrepository.com">http://mvnrepository.com</a>&nbsp;is a good site for figuring out this sort of thing. In this case I think you are probably after the aether-api artefact:&nbsp;<a href="http://mvnrepository.com/artifact/org.sonatype.aether/aether-api/1.12">http://mvnrepository.com/artifact/org.sonatype.aether/aether-api/1.12</a></div><div><br></div><div>Stuart</div><br><div><div>On 26/07/2011, at 5:51 AM, Scott Marlow wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On 07/15/2011 08:50 AM, Karel Piwko wrote:<br><blockquote type="cite">Hi All,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">see comments inline.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Karel<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On Fri, 2011-07-15 at 01:19 -0400, Scott Marlow wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">We already include org.hibernate:hibernate-core:jar:4.0.0.Beta1 and I<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">want to test against org.hibernate:hibernate-core:jar:3.6.4.Final.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">It is possible that the org.hibernate:hibernate-core:jar:3.6.4.Final<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">artifact will not be in the local maven repo, when the unit test starts.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"> &nbsp;&nbsp;If the ShrinkWrap maven resolver would download it into the local<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">maven cache, we should get good enough performance (similar to if the<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">artifact was downloaded during the build).<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite">MavenDependencyResolver will act exactly that way, if the local<br></blockquote><blockquote type="cite">repository contains the artifact, it will be fetched from there, if not<br></blockquote><blockquote type="cite">remote repositories will be touched.<br></blockquote><br>I tried calling <br>"DependencyResolvers.use(MavenDependencyResolver.class).artifact("org.hibernate:hibernate-core:3.6.5.Final").resolveAs(GenericArchive.class)" <br>from an existing AS7 testsuite test but got a CNFE on class <br>org.sonatype.aether.resolution.ArtifactResolutionException.<br><br>as7/tools/maven/lib/aether-api-1.9.jar seems to have this class. &nbsp;Which <br>pom.xml do I need to update for ShrinkWrap to have access to aester api?<br><br>Thanks,<br>Scott<br>_______________________________________________<br>jboss-as7-dev mailing list<br><a href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/jboss-as7-dev<br></div></blockquote></div><br></body></html>