Package aQute.bnd.maven.support
Class MavenEntry
java.lang.Object
aQute.bnd.maven.support.MavenEntry
- All Implemented Interfaces:
Closeable,AutoCloseable
An entry (a group/artifact) in the maven cache in the .m2/repository
directory. It provides methods to get the pom and the artifact.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()This is the method to get the POM for a cached entry.protected PropertiesAnswer the properties, loading if needed.voidremove()
-
Method Details
-
getArtifactFile
-
getPom
This is the method to get the POM for a cached entry.- Parameters:
urls- The allowed URLs- Returns:
- a CachedPom for this maven entry
- Throws:
Exception- If something goes haywire
-
getProperties
Answer the properties, loading if needed. -
getArtifact
- Throws:
Exception
-
getPomFile
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
remove
public void remove()
-