String groupId = "";
for ( Iterator iter = attachedArtifacts.iterator(); iter.hasNext(); )
{
AttachedArtifactStub0 attachedArtifact = (AttachedArtifactStub0) iter.next();
groupId = dotToSlashReplacer( attachedArtifact.getGroupId() );
File installedArtifact = new File( getBasedir(), LOCAL_REPO + groupId + "/" +
attachedArtifact.getArtifactId() + "/" + attachedArtifact.getVersion() + "/" +
attachedArtifact.getArtifactId() + "-" + attachedArtifact.getVersion() + "." + packaging );
assertTrue( installedArtifact.exists() );
}
}