From 79ddf714e805d6d8aec60c94f6cc3690e2582545 Mon Sep 17 00:00:00 2001 From: John Dennis Casey Date: Fri, 28 Oct 2005 20:19:14 +0000 Subject: [PATCH] Changed to set the project-artifact's file when the archival is complete. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@329283 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/maven/plugin/coreit/PackagingMojo.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/PackagingMojo.java b/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/PackagingMojo.java index 9c38731088..846cfa4d14 100644 --- a/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/PackagingMojo.java +++ b/maven-core-it-plugin/src/main/java/org/apache/maven/plugin/coreit/PackagingMojo.java @@ -70,6 +70,8 @@ public class PackagingMojo // TODO: improve error handling throw new MojoExecutionException( "Error assembling JAR", e ); } + + project.getArtifact().setFile( jarFile ); } }