George Gastaldi created FORGE-1340:
--------------------------------------
Summary: MavenContainer should return exceptions stored in the Aether result
objects
Key: FORGE-1340
URL:
https://issues.jboss.org/browse/FORGE-1340
Project: Forge
Issue Type: Feature Request
Components: Build Tools - Maven
Affects Versions: 2.0.0.Beta3
Reporter: George Gastaldi
Fix For: 2.x Future
The exceptions available in the Aether result classes should be returned when the Aether
API is used.
The best solution is to create a Result object .
This includes MavenAddonDependencyResolver in furnace-manager and the maven addon.
{quote}
<gastaldi> we should break the API
<gastaldi> but I am unsure if those exceptions shouldn't be just logged or
thrown up the stack
<vineetreynolds> gastaldi, Hmm I think they need to stored
<gastaldi> because they shouldn't impact in the usage I guess
<vineetreynolds> Not logged or thrown
<gastaldi> you mean like the Result objects in Aether?
<vineetreynolds> The choice on whether and when to throw should be decided by some
other class
<vineetreynolds> gastaldi, Yes
<vineetreynolds> I dont think we should use the Result object in Aether directly
though
<gastaldi> of course not
<gastaldi> but we should have our own Result object perhaps
<vineetreynolds> Better to create our own abstraction otherwise every change in
Aether would affect us
<vineetreynolds> Yes
<gastaldi> :P this is going to be nasty
<gastaldi> but doable
{quote}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira