Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
---
 Signed-off-by: github-actions <[email protected]>

Signed-off-by: github-actions <[email protected]>
  • Loading branch information
github-actions committed Jan 7, 2025
1 parent 1fb6873 commit e2a5b6b
Showing 1 changed file with 0 additions and 18 deletions.
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

0 comments on commit e2a5b6b

Please sign in to comment.