org.apache.ivy.plugins.parser.m2
public final class PomModuleDescriptorParser extends Object implements ModuleDescriptorParser
The configurations used in the generated module descriptor mimics the behavior defined by maven 2
scopes, as documented here:
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
The PomModuleDescriptorParser use a PomDomReader to read the pom, and the
PomModuleDescriptorBuilder to write the ivy module descriptor using the info read by the
PomDomReader.
Method Summary | |
---|---|
boolean | accept(Resource res) |
static PomModuleDescriptorParser | getInstance() |
Artifact | getMetadataArtifact(ModuleRevisionId mrid, Resource res) |
String | getType() |
ModuleDescriptor | parseDescriptor(ParserSettings ivySettings, URL descriptorURL, boolean validate) |
ModuleDescriptor | parseDescriptor(ParserSettings ivySettings, URL descriptorURL, Resource res, boolean validate) |
void | toIvyFile(InputStream is, Resource res, File destFile, ModuleDescriptor md) |
String | toString() |