project = pb.buildFromRepository(artifact, remoteRepos, localRepo,
project = projectBuilder.buildFromRepository(artifact, remoteRepos, localRepo,
	private Collection resolveArtifact(Artifact artifact, Stack dependencies)			throws ArtifactResolutionException, ArtifactNotFoundException {		MavenProject project = null;		try {			project = pb.buildFromRepository(artifact, remoteRepos, localRepo,					true);		} catch (ProjectBuildingException e) {			getLog().warn(					"Unable to determine packaging for dependency : "							+ artifact.getArtifactId() + " assuming jar");		}		if (project != null) {				if (getDeployablePackagingTypes().contains(project.getPackaging())) {				getLog().debug(						"Checking for dependency from project "								+ project.getArtifactId());				JbiDeployableArtifact deployableArtifact = resolveDeploymentPackage(						project, artifact);				if (!dependencies.contains(deployableArtifact)) {					getLog().debug(							"Adding dependency from project "									+ project.getArtifactId());					dependencies.push(deployableArtifact);				}			}		}		return dependencies;	}