org.apache.maven.model.converter
Class Maven1Converter

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.apache.maven.model.converter.Maven1Converter
All Implemented Interfaces:
org.codehaus.plexus.logging.LogEnabled

public class Maven1Converter
extends org.codehaus.plexus.logging.AbstractLogEnabled

Converts a Maven 1 project.xml (v3 pom) to a Maven 2 pom.xml (v4 pom).

Version:
$Id: Maven1Converter.java 1379502 2012-08-31 16:43:35Z struberg $
Author:
Fabrizio Giustina, Dennis Lundberg
Plexus component:
role:
"org.apache.maven.model.converter.Maven1Converter"

Constructor Summary
Maven1Converter()
           
 
Method Summary
 void addListener(ConverterListener listener)
           
 void execute()
           
 File getBasedir()
           
 File getOutputdir()
           
 String getProjectFileName()
           
 void setBasedir(File basedir)
           
 void setOutputdir(File outputdir)
           
 void setProjectFile(File projectFile)
           
 void setProjectFileName(String projectFileName)
           
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Maven1Converter

public Maven1Converter()
Method Detail

execute

public void execute()
             throws ProjectConverterException
Throws:
ProjectConverterException

getBasedir

public File getBasedir()

setBasedir

public void setBasedir(File basedir)

getProjectFileName

public String getProjectFileName()

setProjectFileName

public void setProjectFileName(String projectFileName)

setProjectFile

public void setProjectFile(File projectFile)

getOutputdir

public File getOutputdir()

setOutputdir

public void setOutputdir(File outputdir)

addListener

public void addListener(ConverterListener listener)


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