All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.maven.plugin.eclipse.writers.AbstractEclipseResourceWriter Maven / Gradle / Ivy

Go to download

The Eclipse Plugin is used to generate Eclipse IDE files (.project, .classpath and the .settings folder) from a POM.

There is a newer version: 2.10
Show newest version
/**
 * 
 */
package org.apache.maven.plugin.eclipse.writers;

import java.io.File;

import org.apache.maven.plugin.ide.IdeDependency;
import org.apache.maven.plugin.logging.Log;
import org.apache.maven.project.MavenProject;

/**
 * Common base class for all Eclipse Writers.
 * 
 * @author Rahul Thakur
 * @version $Id: AbstractEclipseResourceWriter.java 390686 2006-04-01 15:39:33Z fgiust $
 */
public abstract class AbstractEclipseResourceWriter
{

    private Log log;

    private File eclipseProjectDir;

    private MavenProject project;

    protected IdeDependency[] deps;

    /**
     * @param log
     * @param eclipseProjectDir
     * @param project
     */
    public AbstractEclipseResourceWriter( Log log, File eclipseProjectDir, MavenProject project, IdeDependency[] deps )
    {
        this.log = log;
        this.eclipseProjectDir = eclipseProjectDir;
        this.project = project;
        this.deps = deps;
    }

    /**
     * @return the eclipseProjectDir
     */
    public File getEclipseProjectDirectory()
    {
        return eclipseProjectDir;
    }

    /**
     * @return the log
     */
    public Log getLog()
    {
        return log;
    }

    /**
     * @return the project
     */
    public MavenProject getProject()
    {
        return project;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy