Package org.apache.maven.scm.provider.local.repository

Examples of org.apache.maven.scm.provider.local.repository.LocalScmProviderRepository.addFile()


        List<ScmFile> fileList = new ArrayList<ScmFile>();
        for ( File file : fileSet.getFileList() )
        {
            String path = file.getPath().replace( '\\', '/' );
            localRepo.addFile( path );
            fileList.add( new ScmFile( path, ScmFileStatus.ADDED ) );
        }

        // TODO: Also, ensure it is tested from the update test
        return new AddScmResult( null, fileList );
View Full Code Here


        List<ScmFile> fileList = new ArrayList<ScmFile>();
        for ( File file : fileSet.getFileList() )
        {
            String path = file.getPath().replace( '\\', '/' );
            localRepo.addFile( path );
            fileList.add( new ScmFile( path, ScmFileStatus.ADDED ) );
        }

        // TODO: Also, ensure it is tested from the update test
        return new AddScmResult( null, fileList );
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.