Package org.eclipse.tycho.pomless
Class TychoBundleMapping
- java.lang.Object
-
- org.eclipse.tycho.pomless.AbstractTychoMapping
-
- org.eclipse.tycho.pomless.TychoBundleMapping
-
- 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-plugin") public class TychoBundleMapping extends AbstractTychoMapping
-
-
Field Summary
Fields Modifier and Type Field Description static StringMANIFEST_MF_MARKERstatic StringPACKAGING-
Fields inherited from class org.eclipse.tycho.pomless.AbstractTychoMapping
container, logger
-
-
Constructor Summary
Constructors Constructor Description TychoBundleMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetPackaging()protected FilegetPrimaryArtifact(File dir)protected FilegetRealArtifactFile(File polyglotArtifactFile)protected voidinitModel(org.apache.maven.model.Model model, Reader artifactReader, File artifactFile)protected booleanisValidLocation(String location)-
Methods inherited from class org.eclipse.tycho.pomless.AbstractTychoMapping
accept, findParent, getBuildProperties, getFlavour, getPomVersion, getPrimaryArtifactCharset, getPriority, getReader, getWriter, locatePom, locatePomReference, read, read, read
-
-
-
-
Field Detail
-
PACKAGING
public static final String PACKAGING
- See Also:
- Constant Field Values
-
MANIFEST_MF_MARKER
public static final String MANIFEST_MF_MARKER
- See Also:
- Constant Field Values
-
-
Method Detail
-
isValidLocation
protected boolean isValidLocation(String location)
- Specified by:
isValidLocationin classAbstractTychoMapping
-
getPrimaryArtifact
protected File getPrimaryArtifact(File dir)
- Specified by:
getPrimaryArtifactin classAbstractTychoMapping
-
getPackaging
protected String getPackaging()
- Specified by:
getPackagingin 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:
initModelin classAbstractTychoMapping- Throws:
org.apache.maven.model.io.ModelParseExceptionIOException
-
getRealArtifactFile
protected File getRealArtifactFile(File polyglotArtifactFile)
- Overrides:
getRealArtifactFilein classAbstractTychoMapping
-
-