org.apache.maven.model.converter
Class PomV3ToV4Translator

java.lang.Object
  extended by org.apache.maven.model.converter.PomV3ToV4Translator
All Implemented Interfaces:
ModelConverter

public class PomV3ToV4Translator
extends Object
implements ModelConverter

Author:
jdcasey
Plexus component:
role:
"org.apache.maven.model.converter.ModelConverter"

Field Summary
 
Fields inherited from interface org.apache.maven.model.converter.ModelConverter
ROLE
 
Constructor Summary
PomV3ToV4Translator()
           
 
Method Summary
 List getWarnings()
           
 Model translate(org.apache.maven.model.v3_0_0.Model v3Model)
           
 void validateV4Basics(Model model, String groupId, String artifactId, String version, String packaging)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PomV3ToV4Translator

public PomV3ToV4Translator()
Method Detail

translate

public Model translate(org.apache.maven.model.v3_0_0.Model v3Model)
                throws PomTranslationException
Specified by:
translate in interface ModelConverter
Throws:
PomTranslationException

validateV4Basics

public void validateV4Basics(Model model,
                             String groupId,
                             String artifactId,
                             String version,
                             String packaging)
Specified by:
validateV4Basics in interface ModelConverter

getWarnings

public List getWarnings()
Specified by:
getWarnings in interface ModelConverter


Copyright © 2002–2013 The Apache Software Foundation. All rights reserved.