### Question:
BrooklynMavenArtifacts { public static String hostedUrl(String subgroupUnderIoBrooklyn, String artifactId, String packaging) { return MavenRetriever.hostedUrl(artifact(subgroupUnderIoBrooklyn, artifactId, packaging)); }  static MavenArtifact jar(String artifactId); static MavenArtifact artifact(String subgroupUnderIoBrooklyn, String artifactId, String packaging); static MavenArtifact artifact(String subgroupUnderIoBrooklyn, String artifactId, String packaging, String classifier); static String localUrlForJar(String artifactId); static String localUrl(String subgroupUnderIoBrooklyn, String artifactId, String packaging); static String hostedUrlForJar(String artifactId); static String hostedUrl(String subgroupUnderIoBrooklyn, String artifactId, String packaging);  }### Answer:
@Test(groups="Integration") public void testHistoricHosted() { String snapshot = MavenRetriever.hostedUrl(MavenArtifact.fromCoordinate("org.apache.brooklyn:brooklyn-utils-common:jar:0.7.0-SNAPSHOT")); log.info("Sample snapshot URL is: "+snapshot); checkValidArchive(snapshot); ResourceUtils.create(this).checkUrlExists(snapshot); String release = MavenRetriever.hostedUrl(MavenArtifact.fromCoordinate("io.brooklyn:brooklyn-utils-common:jar:0.6.0")); log.info("Sample release URL is: "+release); checkValidArchive(release); }