org.apache.maven.plugin.eclipse.writers
Class EclipseClasspathWriter

java.lang.Object
  extended by org.apache.maven.plugin.eclipse.writers.AbstractEclipseWriter
      extended by org.apache.maven.plugin.eclipse.writers.EclipseClasspathWriter
All Implemented Interfaces:
EclipseWriter

public class EclipseClasspathWriter
extends AbstractEclipseWriter

Writes eclipse .classpath file.

Version:
$Id: EclipseClasspathWriter.java 779829 2009-05-29 03:41:15Z baerrach $
Author:
Trygve Laugstøl, Kenney Westerhof, Fabrizio Giustina

Field Summary
protected static java.lang.String M2_REPO
          Eclipse build path variable M2_REPO
 
Fields inherited from class org.apache.maven.plugin.eclipse.writers.AbstractEclipseWriter
config, log
 
Constructor Summary
EclipseClasspathWriter()
           
 
Method Summary
protected  void addDependency(org.codehaus.plexus.util.xml.XMLWriter writer, IdeDependency dep)
           
 void write()
          Main method that should be implemented by the writer to do the work.
 
Methods inherited from class org.apache.maven.plugin.eclipse.writers.AbstractEclipseWriter
init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

M2_REPO

protected static final java.lang.String M2_REPO
Eclipse build path variable M2_REPO

See Also:
Constant Field Values
Constructor Detail

EclipseClasspathWriter

public EclipseClasspathWriter()
Method Detail

write

public void write()
           throws org.apache.maven.plugin.MojoExecutionException
Description copied from interface: EclipseWriter
Main method that should be implemented by the writer to do the work.

Throws:
org.apache.maven.plugin.MojoExecutionException
See Also:
EclipseWriter.write()

addDependency

protected void addDependency(org.codehaus.plexus.util.xml.XMLWriter writer,
                             IdeDependency dep)
                      throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2002-2009 The Apache Software Foundation. All Rights Reserved.