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 1672304 2015-04-09 12:04:28Z khmarbaise $
Author:
Trygve Laugstøl, Kenney Westerhof, Fabrizio Giustina

Field Summary
protected static 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(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 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 MojoExecutionException
Description copied from interface: EclipseWriter
Main method that should be implemented by the writer to do the work.

Throws:
MojoExecutionException
See Also:
EclipseWriter.write()

addDependency

protected void addDependency(XMLWriter writer,
                             IdeDependency dep)
                      throws MojoExecutionException
Throws:
MojoExecutionException


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