Package org.jboss.forge.project

Examples of org.jboss.forge.project.ProjectModelException


         fireResourceModified();
      }
      catch (IOException e)
      {
         throw new ProjectModelException(e);
      }
      return (T) this;
   }
View Full Code Here


         }
         return false;
      }
      catch (IOException e)
      {
         throw new ProjectModelException(e);
      }
   }
View Full Code Here

         fireTempResourceCreated(result);
         return result;
      }
      catch (IOException e)
      {
         throw new ProjectModelException(e);
      }
   }
View Full Code Here

         }
         return result;
      }
      catch (Exception e)
      {
         throw new ProjectModelException("Unable to resolve an artifact", e);
      }
   }
View Full Code Here

         return new DependencyMetadataImpl(d, results);
      }
      catch (Exception e)
      {
         throw new ProjectModelException("Unable to resolve any artifacts for query [" + query + "]", e);
      }
   }
View Full Code Here

         VersionRangeResult rangeResult = maven.resolveVersionRange(session, rangeRequest);
         return rangeResult;
      }
      catch (Exception e)
      {
         throw new ProjectModelException("Failed to look up versions for [" + dep + "]", e);
      }
   }
View Full Code Here

         request.setResolveDependencies(false);
         return request;
      }
      catch (Exception e)
      {
         throw new ProjectModelException(
                  "Could not create Maven project building request", e);
      }
      finally
      {
         /*
 
View Full Code Here

         return effectiveSettings;
      }
      catch (SettingsBuildingException e)
      {
         throw new ProjectModelException(e);
      }
   }
View Full Code Here

      {
         return getContainer().lookup(type);
      }
      catch (ComponentLookupException e)
      {
         throw new ProjectModelException("Could not look up component of type [" + type.getName() + "]", e);
      }
      finally
      {
         /*
          * We reset the classloader to prevent potential modules bugs if Classwords container changes classloaders on
View Full Code Here

            builder = getContainer().lookup(ProjectBuilder.class);
         }
         catch (Exception e)
         {
            throw new ProjectModelException(
                     "Could not initialize Maven", e);
         }
         finally
         {
            /*
 
View Full Code Here

TOP

Related Classes of org.jboss.forge.project.ProjectModelException

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.