Class EclipseUtil

  • All Implemented Interfaces:
    org.codehaus.plexus.logging.LogEnabled

    @Component(role=EclipseUtil.class)
    public class EclipseUtil
    extends org.codehaus.plexus.logging.AbstractLogEnabled
    Version:
    $Id$
    Author:
    ndeloof
    • Constructor Summary

      Constructors 
      Constructor Description
      EclipseUtil()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getProjectName​(org.apache.maven.project.MavenProject project)
      Read the Eclipse project name for .project file.
      • 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

      • EclipseUtil

        public EclipseUtil()
    • Method Detail

      • getProjectName

        public java.lang.String getProjectName​(org.apache.maven.project.MavenProject project)
        Read the Eclipse project name for .project file. Fall back to artifactId on error
        Returns:
        project name in eclipse workspace