jira-importer commented on issue #132: URL: https://github.com/apache/maven-war-plugin/issues/132#issuecomment-2967844702
**[Richard Sand](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rsand2)** commented 1. Eclipse Workspace Patch 1.0 #P maven-war-plugin Index: src/main/java/org/apache/maven/plugin/war/packaging/WarProjectPackagingTask.java --- --- src/main/java/org/apache/maven/plugin/war/packaging/WarProjectPackagingTask.java (revision 1515694) +++ src/main/java/org/apache/maven/plugin/war/packaging/WarProjectPackagingTask.java (working copy) @@ -21,6 +21,7 @@ import java.io.File; import java.io.IOException; +import java.util.HashSet; import org.apache.maven.model.Resource; import org.apache.maven.plugin.MojoExecutionException; @@ -192,6 +193,11 @@ ArtifactsPackagingTask task = new ArtifactsPackagingTask( context.getProject().getArtifacts(), currentProjectOverlay ); task.performPackaging( context ); + + @SuppressWarnings( { "unchecked", "rawtypes" } ) + ArtifactsPackagingTask task2 = new ArtifactsPackagingTask(new HashSet(context.getProject().getAttachedArtifacts() ), + currentProjectOverlay ); + task2.performPackaging( context ); } /** -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org