Package org.apache.maven.project
Class ExtensionDescriptorBuilder
java.lang.Object
org.apache.maven.project.ExtensionDescriptorBuilder
Creates an extension descriptor from some XML stream.
- Author:
- Benjamin Bentmann
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionExtracts the extension descriptor (if any) from the specified JAR file.build(InputStream is) 
- 
Constructor Details- 
ExtensionDescriptorBuilderpublic ExtensionDescriptorBuilder()
 
- 
- 
Method Details- 
getExtensionDescriptorLocation- Since:
- 3.3.0
 
- 
buildExtracts the extension descriptor (if any) from the specified JAR file.- Parameters:
- extensionJar- The JAR file or directory to extract the descriptor from, must not be- null.
- Returns:
- The extracted descriptor or nullif no descriptor was found.
- Throws:
- IOException- If the descriptor is present but could not be parsed.
 
- 
build- Throws:
- IOException
- Since:
- 3.3.0
 
 
-