question: public void upload ( final InputStream in , String artifact , String version , String fileName , Properties props ) throws IOException { props . put ( FILE_NAME_PROPERTY , fileName ) ; props . put ( VERSION_PROPERTY , version ) ; props . put ( ARTIFACT_PROPERTY , artifact ) ; storeProperties ( artifact , version , props ) ; try ( OutputStream out = newOutputStream ( getArtifact ( artifact , version , fileName ) ) ) { IOUtils . copyLarge ( in , out ) ; } finally { in . close ( ) ; } }
target:  Uploads artifact into the repository.