Package org.eclipse.tycho.pomless
Class TychoAggregatorMapping
- java.lang.Object
-
- org.eclipse.tycho.pomless.AbstractTychoMapping
-
- org.eclipse.tycho.pomless.TychoAggregatorMapping
-
- All Implemented Interfaces:
org.apache.maven.model.io.ModelReader
,org.sonatype.maven.polyglot.mapping.Mapping
@Component(role=org.sonatype.maven.polyglot.mapping.Mapping.class, hint="tycho-aggregator") public class TychoAggregatorMapping extends AbstractTychoMapping
-
-
Field Summary
-
Fields inherited from class org.eclipse.tycho.pomless.AbstractTychoMapping
container, logger
-
-
Constructor Summary
Constructors Constructor Description TychoAggregatorMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getPackaging()
protected File
getPrimaryArtifact(File dir)
float
getPriority()
protected void
initModel(org.apache.maven.model.Model model, Reader artifactReader, File artifactFile)
protected boolean
isValidLocation(String location)
-
Methods inherited from class org.eclipse.tycho.pomless.AbstractTychoMapping
accept, findParent, getBuildProperties, getFlavour, getPomVersion, getPrimaryArtifactCharset, getReader, getRealArtifactFile, getWriter, locatePom, locatePomReference, read, read, read
-
-
-
-
Method Detail
-
isValidLocation
protected boolean isValidLocation(String location)
- Specified by:
isValidLocation
in classAbstractTychoMapping
-
getPrimaryArtifact
protected File getPrimaryArtifact(File dir)
- Specified by:
getPrimaryArtifact
in classAbstractTychoMapping
-
getPackaging
protected String getPackaging()
- Specified by:
getPackaging
in classAbstractTychoMapping
-
initModel
protected void initModel(org.apache.maven.model.Model model, Reader artifactReader, File artifactFile) throws org.apache.maven.model.io.ModelParseException, IOException
- Specified by:
initModel
in classAbstractTychoMapping
- Throws:
org.apache.maven.model.io.ModelParseException
IOException
-
getPriority
public float getPriority()
- Specified by:
getPriority
in interfaceorg.sonatype.maven.polyglot.mapping.Mapping
- Overrides:
getPriority
in classAbstractTychoMapping
-
-