use of org.eclipse.tycho.p2.repository.MavenRepositoryCoordinates in project tycho by eclipse.
the class GAVArtifactDescriptorTest method testDeserializationWithClassifierAndExt.
@Test
public void testDeserializationWithClassifierAndExt() {
ArtifactDescriptor input = createP2Descriptor();
setGAVProperties(input);
input.setProperty("maven-classifier", OTHER_CLASSIFIER);
input.setProperty("maven-extension", OTHER_EXTENSION);
subject = new GAVArtifactDescriptor(input);
assertThat(subject.getMavenCoordinates(), is(new MavenRepositoryCoordinates(TEST_GAV, OTHER_CLASSIFIER, OTHER_EXTENSION)));
}
Aggregations