public class ArtifactModel extends Object
Model
.
The Model
is designed as an unserialized version of the pom.xml but the same pom can be associated to several
different artifacts (with different classifier and type). packaging
is only the default type.
Constructor and Description |
---|
ArtifactModel(org.apache.maven.model.Model model) |
Modifier and Type | Method and Description |
---|---|
String |
getClassifier() |
org.apache.maven.model.Model |
getModel() |
String |
getType() |
void |
setClassifier(String classifier) |
void |
setType(String type) |
public ArtifactModel(org.apache.maven.model.Model model)
model
- the Maven Model
public String getClassifier()
public void setClassifier(String classifier)
classifier
- the classifierpublic String getType()
public void setType(String type)
type
- the typepublic org.apache.maven.model.Model getModel()
Model
Copyright © 2004–2021 XWiki. All rights reserved.