@Test
public void deployAndRunSnapshotTests()
throws Exception
{
// deploy releases
Gav simpleJarGav =
new Gav("nexus3615", "simpleJar", "1.0.1-SNAPSHOT", null, "jar", 1, System.currentTimeMillis(), null,
false, null, false, null);
deployGav(simpleJarGav, REPO_TEST_HARNESS_SNAPSHOT_REPO);
downloadAndVerify(simpleJarGav, REPO_TEST_HARNESS_SNAPSHOT_REPO);
Gav withClassifierGav =
new Gav("nexus3615", "simpleJar", "1.0.1-SNAPSHOT", "classifier", "jar", 2, System.currentTimeMillis(),
null, false, null, false, null);
deployGav(withClassifierGav, REPO_TEST_HARNESS_SNAPSHOT_REPO);
downloadAndVerify(withClassifierGav, REPO_TEST_HARNESS_SNAPSHOT_REPO);
Gav withExtentionGav =
new Gav("nexus3615", "simpleJar", "1.0.1-SNAPSHOT", null, "extention", 3, System.currentTimeMillis(),
null, false, null, false, null);
deployGav(withExtentionGav, REPO_TEST_HARNESS_SNAPSHOT_REPO);
downloadAndVerify(withExtentionGav, REPO_TEST_HARNESS_SNAPSHOT_REPO);
Gav withClassifierAndExtentionGav =
new Gav("nexus3615", "simpleJar", "1.0.1-SNAPSHOT", "classifier", "extention", 4,
System.currentTimeMillis(), null, false, null, false, null);
deployGav(withClassifierAndExtentionGav, REPO_TEST_HARNESS_SNAPSHOT_REPO);
downloadAndVerify(withClassifierAndExtentionGav, REPO_TEST_HARNESS_SNAPSHOT_REPO);
}