diff --git a/maven-plugins/maven-jar-plugin/src/main/java/org/apache/maven/plugin/jar/JarInstallMojo.java b/maven-plugins/maven-jar-plugin/src/main/java/org/apache/maven/plugin/jar/JarInstallMojo.java index 8e09c01a44..fe75d74836 100644 --- a/maven-plugins/maven-jar-plugin/src/main/java/org/apache/maven/plugin/jar/JarInstallMojo.java +++ b/maven-plugins/maven-jar-plugin/src/main/java/org/apache/maven/plugin/jar/JarInstallMojo.java @@ -75,7 +75,7 @@ public class JarInstallMojo Artifact pomArtifact = new DefaultArtifact( project.getGroupId(), project.getArtifactId(), project.getVersion(), - project.getType() ); + "pom" ); artifactInstaller.install( project.getFile(), pomArtifact, localRepository );