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 TypeMethodDescriptionvoid
close()
This is the method to get the POM for a cached entry.protected Properties
Answer the properties, loading if needed.void
remove()
-
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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
remove
public void remove()
-