String () { for (PackagingElement<?> element : myArtifact.getRootElement().getChildren()) { if (element instanceof ArchivePackagingElement) { return myArtifact.getOutputFilePath() + File.separator + ((ArchivePackagingElement)element).getArchiveFileName(); } } return myArtifact.getOutputFilePath(); }