Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions biz.aQute.bndlib.tests/test/test/MavenTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -171,24 +171,6 @@ public void testMavenRepo1() throws Exception {
assertEquals("com.springsource.org.apache.commons.beanutils-1.6.1.jar", file.getName());
}

@Test
public void testMavenx() throws Exception {
Maven maven = new Maven(null);
CachedPom pom = maven.getPom("javax.xml.bind", "com.springsource.javax.xml.bind", "2.2.0",
new URI("https://repository.springsource.com/maven/bundles/release"),
new URI("https://repository.springsource.com/maven/bundles/external"));
// Pom pom = maven.getPom("javax.xml.ws",
// "com.springsource.javax.xml.ws", "2.1.1", new
// URL("https://repository.springsource.com/maven/bundles/release"), new
// URL("https://repository.springsource.com/maven/bundles/external"));
System.err.println(pom.getGroupId() + " + " + pom.getArtifactId() + "-" + pom.getVersion());

System.err.println(pom.getDependencies(Pom.Scope.compile));

File artifact = pom.getArtifact();
System.err.println(artifact);
}

/**
* Test the pom parser which will turn the pom into a set of properties,
* which will make it actually readable according to some.
Expand Down
Loading