On 02/28/2011 07:09 AM, Benjamin Bentmann wrote:
Fixed in trunk by now.

Rev 1075309, which seems to be included in 3.0.3 final. Suggestion for 
tightening up RepositoryUtils.getLayout a bit:

1. Call repo.getLayout() outside the try block, since that is not expected to 
give an error. It is used twice anyway.

2. Catch AbstractMethodError, rather than LinkageError which could hide 
unrelated issues.

Cleaner would have been to introduce ArtifactRepositoryLayout3 (?) with the 
getId() method; then a simple instanceof check would suffice. But I guess it is 
too late for that.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to