Package org.eclipse.tycho.pomless
Class TychoRepositoryMapping
- java.lang.Object
-
- org.eclipse.tycho.pomless.AbstractTychoMapping
-
- org.eclipse.tycho.pomless.AbstractXMLTychoMapping
-
- org.eclipse.tycho.pomless.TychoRepositoryMapping
-
- 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="eclipse-repository") public class TychoRepositoryMapping extends AbstractXMLTychoMapping
Responsible for parsing eclipse-repository artifacts (updatesites, catgory.xml)
-
-
Field Summary
Fields Modifier and Type Field Description static String
PACKAGING
-
Fields inherited from class org.eclipse.tycho.pomless.AbstractTychoMapping
container, logger
-
-
Constructor Summary
Constructors Constructor Description TychoRepositoryMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getPackaging()
protected File
getPrimaryArtifact(File projectRoot)
protected void
initModelFromXML(org.apache.maven.model.Model model, Element xml, File artifactFile)
protected boolean
isValidLocation(String location)
-
Methods inherited from class org.eclipse.tycho.pomless.AbstractXMLTychoMapping
getRequiredXMLAttributeValue, getXMLAttributeValue, initModel
-
Methods inherited from class org.eclipse.tycho.pomless.AbstractTychoMapping
accept, findParent, getBuildProperties, getFlavour, getPomVersion, getPrimaryArtifactCharset, getPriority, getReader, getRealArtifactFile, getWriter, locatePom, locatePomReference, read, read, read
-
-
-
-
Field Detail
-
PACKAGING
public static final String PACKAGING
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPackaging
protected String getPackaging()
- Specified by:
getPackaging
in classAbstractTychoMapping
-
initModelFromXML
protected void initModelFromXML(org.apache.maven.model.Model model, Element xml, File artifactFile) throws org.apache.maven.model.io.ModelParseException, IOException
- Specified by:
initModelFromXML
in classAbstractXMLTychoMapping
- Throws:
org.apache.maven.model.io.ModelParseException
IOException
-
isValidLocation
protected boolean isValidLocation(String location)
- Specified by:
isValidLocation
in classAbstractTychoMapping
-
getPrimaryArtifact
protected File getPrimaryArtifact(File projectRoot)
- Specified by:
getPrimaryArtifact
in classAbstractTychoMapping
-
-