String fullTargetPath = "../" + this.getProject().getArtifactId() + "." + getProductExtension(); if (this.hasContentsFolder()) { fullTargetPath = fullTargetPath + File.separator + "Contents"; } fullTargetPath = fullTargetPath + File.separator + targetPath;
String fullTargetPath = this.getFullTargetPath(targetPath);
	private Resource createResources(String[] resourcesInclude,			String[] resourcesExclude, String directory, String targetPath) {		Resource resource = new Resource();		resource.setDirectory(this.getProjectFolder() + directory);		if (resourcesInclude != null) {			for (int i = 0; i < resourcesInclude.length; i++) {				String string = resourcesInclude[i];				resource.addInclude(string);			}		}		if (resourcesExclude != null) {			for (int i = 0; i < resourcesExclude.length; i++) {				String string = resourcesExclude[i];				resource.addExclude(string);			}			resource.addExclude("build/**");			resource.addExclude("dist/**");			resource.addExclude("target/**");		}		String fullTargetPath = "../" + this.getProject().getArtifactId() + "."				+ getProductExtension();		if (this.hasContentsFolder()) {			fullTargetPath = fullTargetPath + File.separator + "Contents";		}		fullTargetPath = fullTargetPath + File.separator + targetPath;		resource.setTargetPath(fullTargetPath);		return resource;	}