Package org.eclipse.tycho.pomless
Class TychoTargetMapping
- java.lang.Object
-
- org.eclipse.tycho.pomless.AbstractTychoMapping
-
- org.eclipse.tycho.pomless.AbstractXMLTychoMapping
-
- org.eclipse.tycho.pomless.TychoTargetMapping
-
- 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-target-definition") public class TychoTargetMapping extends AbstractXMLTychoMapping
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPACKAGINGprivate static java.lang.StringTARGET_EXTENSION-
Fields inherited from class org.eclipse.tycho.pomless.AbstractTychoMapping
container, logger
-
-
Constructor Summary
Constructors Constructor Description TychoTargetMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetPackaging()protected java.io.FilegetPrimaryArtifact(java.io.File dir)protected voidinitModelFromXML(org.apache.maven.model.Model model, org.w3c.dom.Element xml, java.io.File artifactFile)protected booleanisValidLocation(java.lang.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
-
TARGET_EXTENSION
private static final java.lang.String TARGET_EXTENSION
- See Also:
- Constant Field Values
-
PACKAGING
public static final java.lang.String PACKAGING
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPackaging
protected java.lang.String getPackaging()
- Specified by:
getPackagingin classAbstractTychoMapping
-
isValidLocation
protected boolean isValidLocation(java.lang.String location)
- Specified by:
isValidLocationin classAbstractTychoMapping
-
getPrimaryArtifact
protected java.io.File getPrimaryArtifact(java.io.File dir)
- Specified by:
getPrimaryArtifactin classAbstractTychoMapping
-
initModelFromXML
protected void initModelFromXML(org.apache.maven.model.Model model, org.w3c.dom.Element xml, java.io.File artifactFile) throws org.apache.maven.model.io.ModelParseException, java.io.IOException- Specified by:
initModelFromXMLin classAbstractXMLTychoMapping- Throws:
org.apache.maven.model.io.ModelParseExceptionjava.io.IOException
-
-