321322323324325326327328
} return file.createNewFile(); } catch (IOException e) { throw new ProjectModelException(e); } }
334335336337338339340341
{ return (T) createFrom(File.createTempFile("forgetemp", "")); } catch (IOException e) { throw new ProjectModelException(e); } }
149150151152153154155156
tempFile.delete(); return createFrom(tempFile); } catch (IOException e) { throw new ProjectModelException(e); } }
838485868788899091
builder = container.lookup(ProjectBuilder.class); } catch (Exception e) { throw new ProjectModelException( "Could not initialize Maven", e); } }
135136137138139140141142143
request.setResolveDependencies(false); return request; } catch (Exception e) { throw new ProjectModelException( "Could not create Maven project building request", e); } }
164165166167168169170171
return effectiveSettings; } catch (SettingsBuildingException e) { throw new ProjectModelException(e); } }
386387388389390391392393
VersionRangeResult rangeResult = maven.resolveVersionRange(session, rangeRequest); return rangeResult; } catch (Exception e) { throw new ProjectModelException("Failed to look up versions for [" + dep + "]", e); } }
185186187188189190191192193
} } } catch (ComponentLookupException e) { throw new ProjectModelException("Error in dependency resolution container", e); } return result; }
236237238239240241242243
} return result; } catch (Exception e) { throw new ProjectModelException("Unable to resolve an artifact", e); } }
278279280281282283284285
return new DependencyMetadataImpl(d, results); } catch (Exception e) { throw new ProjectModelException("Unable to resolve any artifacts for query [" + query + "]", e); } }