aQute.bnd.maven.support.CachedPom Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bndlib Show documentation
Show all versions of bndlib Show documentation
The bndlib project is a general library to be used with OSGi bundles. It contains
lots of cool functionality that calculates dependencies, etc.
package aQute.bnd.maven.support;
import java.io.*;
import java.net.*;
public class CachedPom extends Pom {
final MavenEntry maven;
CachedPom(MavenEntry mavenEntry, URI repo) throws Exception {
super(mavenEntry.maven, mavenEntry.getPomFile(), repo);
this.maven = mavenEntry;
}
@Override
public File getArtifact() throws Exception {
return maven.getArtifact();
}
}