The following document contains the results of PMD's CPD 5.0.5.
File | Line |
---|---|
org/apache/maven/scm/provider/local/command/checkin/LocalCheckInCommand.java | 55 |
org/apache/maven/scm/provider/local/command/update/LocalUpdateCommand.java | 59 |
if ( version != null && StringUtils.isNotEmpty( version.getName() ) ) { throw new ScmException( "The local scm doesn't support tags." ); } File root = new File( repository.getRoot() ); String module = repository.getModule(); File source = new File( root, module ); File baseDestination = fileSet.getBasedir(); if ( !baseDestination.exists() ) { throw new ScmException( "The working directory doesn't exist (" + baseDestination.getAbsolutePath() + ")." ); } if ( !root.exists() ) { throw new ScmException( "The base directory doesn't exist (" + root.getAbsolutePath() + ")." ); } if ( !source.exists() ) { throw new ScmException( "The module directory doesn't exist (" + source.getAbsolutePath() + ")." ); } |