String packaging = getVariableValueFromObject( mojo, "packaging" ).toString();
for( Iterator iter=attachedArtifacts.iterator(); iter.hasNext(); )
{
AttachedArtifactStub attachedArtifact = ( AttachedArtifactStub ) iter.next();
File deployedArtifact = new File( remoteRepo, "basic-deploy-with-attached-artifacts" + "/" +
attachedArtifact.getGroupId().replace( '.', '/' ) + "/" +
attachedArtifact.getArtifactId() + "/" +
attachedArtifact.getVersion() + "/" + attachedArtifact.getArtifactId() + "-" +
attachedArtifact.getVersion() + "." + packaging );
assertTrue( deployedArtifact.exists() );
}
//check the artifacts in remote repository
List expectedFiles = new ArrayList();