MNG-2921 Fixing the ejb-client dependency problem introduced by MNG-1577

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@543349 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2007-06-01 01:31:29 +00:00
parent d25dd879f3
commit 82146b83f0
1 changed files with 3 additions and 1 deletions

View File

@ -1663,7 +1663,9 @@ public class MavenProject
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
*/
return ArtifactUtils.copyArtifact(attached);
Artifact resultArtifact=ArtifactUtils.copyArtifact(attached);
resultArtifact.setScope(pluginArtifact.getScope());
return resultArtifact;
}
}
}