[ https://issues.apache.org/jira/browse/MSTAGE-27?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sylwester Lachiewicz closed MSTAGE-27. -------------------------------------- Resolution: Won't Do > 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 > Priority: Major > > 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.20.10#820010)