Class EmbeddedMavenModelExposer
- java.lang.Object
-
- org.codehaus.plexus.logging.AbstractLogEnabled
-
- org.apache.maven.shared.jar.identification.exposers.EmbeddedMavenModelExposer
-
- All Implemented Interfaces:
JarIdentificationExposer
,org.codehaus.plexus.logging.LogEnabled
public class EmbeddedMavenModelExposer extends org.codehaus.plexus.logging.AbstractLogEnabled implements JarIdentificationExposer
Exposer that examines a JAR file for any embedded Maven metadata for identification.
-
-
Constructor Summary
Constructors Constructor Description EmbeddedMavenModelExposer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
expose(JarIdentification identification, JarAnalyzer jarAnalyzer)
Expose metadata during the identification process.
-
-
-
Method Detail
-
expose
public void expose(JarIdentification identification, JarAnalyzer jarAnalyzer)
Description copied from interface:JarIdentificationExposer
Expose metadata during the identification process.- Specified by:
expose
in interfaceJarIdentificationExposer
- Parameters:
identification
- the identification record to populate with the exposed metadatajarAnalyzer
- the JAR to obtain the information from. Should be treated as read only, with the exception of caching the metadata if it would be identical when run over the same file again.
-
-