123124125126127128129130131132133
try { ResourceImpl resource = ( ResourceImpl ) dmh.createResource( file.toURI().toURL() ); if ( resource != null ) { repository.addResource( resource ); doTemplate( mavenRepoUri, file, resource ); log.info( "Adding resource: " + file ); } else {