DefaultDependencyDescriptor dd = new DefaultDependencyDescriptor(mrid, false);
dd.addIncludeRule("default", new DefaultIncludeRule(new ArtifactId(mrid.getModuleId(),
"nanning-profiler", "jar", "jar"), ExactPatternMatcher.INSTANCE, null));
dd.addIncludeRule("default", new DefaultIncludeRule(new ArtifactId(mrid.getModuleId(),
"nanning-trace", "jar", "jar"), ExactPatternMatcher.INSTANCE, null));
ResolvedModuleRevision rmr = resolver.getDependency(dd, _data);
assertNotNull(rmr);
assertEquals(mrid, rmr.getId());
DefaultArtifact profiler = new DefaultArtifact(mrid, rmr.getPublicationDate(),
"nanning-profiler", "jar", "jar");
DefaultArtifact trace = new DefaultArtifact(mrid, rmr.getPublicationDate(),
"nanning-trace", "jar", "jar");
DownloadReport report = resolver.download(new Artifact[] {profiler, trace},
downloadOptions());
assertNotNull(report);