Package org.jboss.forge.project

Examples of org.jboss.forge.project.ProjectModelException


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


      {
         return (T) createFrom(File.createTempFile("forgetemp", ""));
      }
      catch (IOException e)
      {
         throw new ProjectModelException(e);
      }
   }
View Full Code Here

         tempFile.delete();
         return createFrom(tempFile);
      }
      catch (IOException e)
      {
         throw new ProjectModelException(e);
      }
   }
View Full Code Here

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

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

         return effectiveSettings;
      }
      catch (SettingsBuildingException e)
      {
         throw new ProjectModelException(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

            }
         }
      }
      catch (ComponentLookupException e)
      {
         throw new ProjectModelException("Error in dependency resolution container", e);
      }
      return result;
   }
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

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.