Package org.eclipse.tycho.pomless
Class TychoModelReader
- java.lang.Object
-
- org.sonatype.maven.polyglot.io.ModelReaderSupport
-
- org.eclipse.tycho.pomless.TychoModelReader
-
- All Implemented Interfaces:
org.apache.maven.model.io.ModelReader
@Component(role=org.apache.maven.model.io.ModelReader.class, hint="tycho") public class TychoModelReader extends org.sonatype.maven.polyglot.io.ModelReaderSupport
Tycho POM model reader. Deduces maven model artifactId and version from OSGi manifest Bundle-SymbolicName and Bundle-Version headers or feature.xml id and version attributes. Assumes parent pom is located in parent directory (from which groupId is inherited). Bundles with Bundle-SymbolicName ending with ".tests" will be assigned packaging type "eclipse-test-plugin".
-
-
Constructor Summary
Constructors Constructor Description TychoModelReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.maven.model.Model
read(Reader input, Map<String,?> options)
-
-
-
Method Detail
-
read
public org.apache.maven.model.Model read(Reader input, Map<String,?> options) throws IOException, org.apache.maven.model.io.ModelParseException
- Throws:
IOException
org.apache.maven.model.io.ModelParseException
-
-