Package aQute.maven.provider
Class POM
java.lang.Object
aQute.maven.provider.POM
- All Implemented Interfaces:
IPom
Parser and placeholder for POM information.
-
Nested Class Summary
Nested classes/interfaces inherited from interface aQute.maven.api.IPom
IPom.Dependency -
Constructor Summary
ConstructorsConstructorDescriptionPOM()POM(MavenRepository repo, File file) POM(MavenRepository repo, File file, boolean ignoreIfParentAbsent) POM(MavenRepository repo, InputStream in) POM(MavenRepository repo, InputStream in, boolean ignoreParentIfAbsent) POM(MavenRepository repo, Document doc) POM(MavenRepository repo, Document doc, boolean ignoreIfParentAbsent) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetDependencies(MavenScope scope, boolean transitive) getDependencies(MavenScope scope, boolean transitive, boolean dependencyManagement) getDependencies(EnumSet<MavenScope> scope, boolean transitive) getDependencies(EnumSet<MavenScope> scope, boolean transitive, boolean dependencyManagement) inthashCode()booleanbooleanstatic POMparse(MavenRepository repo, File file) toString()
-
Constructor Details
-
Method Details
-
parse
- Throws:
Exception
-
getRevision
- Specified by:
getRevisionin interfaceIPom
-
getPackaging
- Specified by:
getPackagingin interfaceIPom
-
binaryArchive
- Specified by:
binaryArchivein interfaceIPom
-
getDependencies
public Map<Program,IPom.Dependency> getDependencies(MavenScope scope, boolean transitive) throws Exception - Specified by:
getDependenciesin interfaceIPom- Throws:
Exception
-
getDependencies
public Map<Program,IPom.Dependency> getDependencies(MavenScope scope, boolean transitive, boolean dependencyManagement) throws Exception - Specified by:
getDependenciesin interfaceIPom- Throws:
Exception
-
getDependencies
public Map<Program,IPom.Dependency> getDependencies(EnumSet<MavenScope> scope, boolean transitive, boolean dependencyManagement) throws Exception - Throws:
Exception
-
getDependencies
public Map<Program,IPom.Dependency> getDependencies(EnumSet<MavenScope> scope, boolean transitive) throws Exception - Throws:
Exception
-
getParent
-
toString
-
hashCode
public int hashCode() -
equals
-
isPomOnly
public boolean isPomOnly() -
hasValidGAV
public boolean hasValidGAV()- Specified by:
hasValidGAVin interfaceIPom
-