Package org.eclipse.maven.core.exception

Examples of org.eclipse.maven.core.exception.ResourceNotFoundException


  public static String resolveJavaHome() throws ResourceNotFoundException {
    String jdk = resolveResourcePath(PreferencesConstants.JAVA_HOME);
   
    if (jdk == null || jdk.isEmpty())
      throw new ResourceNotFoundException(
          "You must define the path to the jdk.");
   
    return jdk;
  }
View Full Code Here


  }

  public static String resolveMavenHome() throws ResourceNotFoundException {
    String m2 = resolveResourcePath(PreferencesConstants.MAVEN_HOME);
    if (m2 == null || m2.isEmpty())
      throw new ResourceNotFoundException(
          "You must define the path to maven home.");
    return m2;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.maven.core.exception.ResourceNotFoundException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.