Elliotte Rusty Harold created MSTAGE-27:
-------------------------------------------

             Summary: DefaultRepositoryCopier throws unclassified runtime 
exceptions that should be checked exceptions
                 Key: MSTAGE-27
                 URL: https://issues.apache.org/jira/browse/MSTAGE-27
             Project: Maven Stage Plugin
          Issue Type: Bug
            Reporter: Elliotte Rusty Harold


protected List<String> scanForArtifactPaths( ArtifactRepository repository )
 {
 try
 {
 Wagon wagon = wagonManager.getWagon( repository.getProtocol() );
 Repository artifactRepository = new Repository( repository.getId(), 
repository.getUrl() );
 wagon.connect( artifactRepository );
 List<String> collected = new ArrayList<String>();
 scan( wagon, "/", collected );
 wagon.disconnect();

return collected;

}
 catch ( UnsupportedProtocolException e )
 {
 throw new RuntimeException( e );
 }
 catch ( ConnectionException e )
 {
 throw new RuntimeException( e );
 }
 catch ( AuthenticationException e )
 {
 throw new RuntimeException( e );
 }
 }



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to