Package org.sonatype.maven.polyglot
Class PolyglotModelManager
- java.lang.Object
-
- org.sonatype.maven.polyglot.PolyglotModelManager
-
@Component(role=PolyglotModelManager.class) public class PolyglotModelManager extends Object
Manages the mapping for polyglot model support.- Since:
- 0.7
- Author:
- Jason Dillon
-
-
Constructor Summary
Constructors Constructor Description PolyglotModelManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMapping(Mapping mapping)
String
determineFlavourFromPom(File dir)
File
findPom(File dir)
Properties
getEnhancementPropertiesFor(Map<String,?> options)
String
getFlavourFor(Map<String,?> options)
org.apache.maven.model.io.ModelReader
getReaderFor(Map<String,?> options)
List<Mapping>
getSortedMappings()
org.apache.maven.model.io.ModelWriter
getWriterFor(Map<String,?> options)
-
-
-
Field Detail
-
log
@Requirement protected org.codehaus.plexus.logging.Logger log
-
mappings
@Requirement(role=Mapping.class) protected List<Mapping> mappings
-
-
Method Detail
-
addMapping
public void addMapping(Mapping mapping)
-
getEnhancementPropertiesFor
public Properties getEnhancementPropertiesFor(Map<String,?> options)
-
-