Examples of DefaultMetadata


Examples of org.sonatype.aether.util.metadata.DefaultMetadata

        throws IOException, MetadataTransferException
    {
        String expectedContent = "Dies ist ein Test.";
        File srcFile = TestFileUtils.createTempFile( expectedContent );

        DefaultMetadata metadata = new DefaultMetadata( "test", "artId1", "1", "jar", Nature.RELEASE_OR_SNAPSHOT );
        MetadataUpload up = new MetadataUpload( metadata, srcFile );
        FileRepositoryWorker worker = new FileRepositoryWorker( up, repository, session );
        worker.setFileProcessor( TestFileProcessor.INSTANCE );
        worker.run();
        if ( up.getException() != null )
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.