@Test public void toDependencyTest() { BundleDependency bundleDependency = new BundleDependency.Builder().sedBundleDescriptor(bundleDescriptor).setBundleUri(bundleURI).build(); Artifact actualArtifact = ArtifactUtils.toArtifact(bundleDependency); assertArtifactCoordinates(actualArtifact.getArtifactCoordinates(), DEFAULT_ARTIFACT_DESCRIPTOR_TYPE, null); assertThat("Artifact path location is not the expected", actualArtifact.getUri(), equalTo(bundleURI)); }
public static Artifact toArtifact(BundleDependency bundleDependency) { ArtifactCoordinates artifactCoordinates = toArtifactCoordinates(bundleDependency.getDescriptor()); return new Artifact(artifactCoordinates, bundleDependency.getBundleUri()); }
ArtifactUtils { public static Artifact toArtifact(BundleDependency bundleDependency) { ArtifactCoordinates artifactCoordinates = toArtifactCoordinates(bundleDependency.getDescriptor()); return new Artifact(artifactCoordinates, bundleDependency.getBundleUri()); } }
ArtifactUtils { public static Artifact toArtifact(BundleDependency bundleDependency) { ArtifactCoordinates artifactCoordinates = toArtifactCoordinates(bundleDependency.getDescriptor()); return new Artifact(artifactCoordinates, bundleDependency.getBundleUri()); }  }
ArtifactUtils { public static Artifact toArtifact(BundleDependency bundleDependency) { ArtifactCoordinates artifactCoordinates = toArtifactCoordinates(bundleDependency.getDescriptor()); return new Artifact(artifactCoordinates, bundleDependency.getBundleUri()); }  static ArtifactCoordinates toArtifactCoordinates(BundleDescriptor bundleDescriptor); static Artifact toArtifact(BundleDependency bundleDependency); static List<Artifact> toArtifacts(Collection<BundleDependency> dependencies); static boolean isValidMulePlugin(Artifact artifact); static BundleDescriptor toBundleDescriptor(ArtifactCoordinates artifactCoordinates); static BundleDescriptor toBundleDescriptor(Dependency dependency); static List<Artifact> toApplicationModelArtifacts(List<BundleDependency> appDependencies); static List<Artifact> updatePackagesResources(List<Artifact> artifacts); static Artifact updatePackagesResources(Artifact artifact); static List<Artifact> updateArtifactsSharedState(List<BundleDependency> appDependencies, List<Artifact> artifacts,
                                                          Model pomModel); static void updateScopeIfDomain(Artifact artifact); static ArtifactCoordinates getApplicationArtifactCoordinates(Model pomModel, ApplicationGAVModel appGAVModel); static BundleDescriptor getPomProjectBundleDescriptor(ApplicationGAVModel appGAVModel); static BundleDescriptor getBundleDescriptor(ApplicationGAVModel appGAVModel); }
ArtifactUtils { public static Artifact toArtifact(BundleDependency bundleDependency) { ArtifactCoordinates artifactCoordinates = toArtifactCoordinates(bundleDependency.getDescriptor()); return new Artifact(artifactCoordinates, bundleDependency.getBundleUri()); }  static ArtifactCoordinates toArtifactCoordinates(BundleDescriptor bundleDescriptor); static Artifact toArtifact(BundleDependency bundleDependency); static List<Artifact> toArtifacts(Collection<BundleDependency> dependencies); static boolean isValidMulePlugin(Artifact artifact); static BundleDescriptor toBundleDescriptor(ArtifactCoordinates artifactCoordinates); static BundleDescriptor toBundleDescriptor(Dependency dependency); static List<Artifact> toApplicationModelArtifacts(List<BundleDependency> appDependencies); static List<Artifact> updatePackagesResources(List<Artifact> artifacts); static Artifact updatePackagesResources(Artifact artifact); static List<Artifact> updateArtifactsSharedState(List<BundleDependency> appDependencies, List<Artifact> artifacts,
                                                          Model pomModel); static void updateScopeIfDomain(Artifact artifact); static ArtifactCoordinates getApplicationArtifactCoordinates(Model pomModel, ApplicationGAVModel appGAVModel); static BundleDescriptor getPomProjectBundleDescriptor(ApplicationGAVModel appGAVModel); static BundleDescriptor getBundleDescriptor(ApplicationGAVModel appGAVModel);  }