put plugins in the right place

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163580 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-03-16 06:55:36 +00:00
parent abe5a2ce99
commit d880a9520a
1 changed files with 4 additions and 4 deletions

View File

@ -593,7 +593,7 @@ public class MBoot
// Plugin descriptor generation // Plugin descriptor generation
// ---------------------------------------------------------------------- // ----------------------------------------------------------------------
if ( reader.type != null && reader.type.equals( "plugin" ) ) if ( reader.type != null && reader.type.equals( "maven-plugin" ) )
{ {
System.out.println( "Generating maven plugin descriptor ..." ); System.out.println( "Generating maven plugin descriptor ..." );
@ -850,7 +850,7 @@ public class MBoot
String groupId = reader.groupId; String groupId = reader.groupId;
File jar = new File( repoLocal, "/" + groupId + "/plugins/" + artifactId + "-" + version + ".jar" ); File jar = new File( repoLocal, "/" + groupId + "/maven-plugins/" + artifactId + "-" + version + ".jar" );
System.out.println( "Installing Plugin: " + jar ); System.out.println( "Installing Plugin: " + jar );
@ -1542,7 +1542,7 @@ public class MBoot
artifact = getId() + "-" + getVersion() + "."; artifact = getId() + "-" + getVersion() + ".";
} }
if ( "jar".equals( getPackaging() ) || "plugin".equals( getPackaging() ) ) if ( "jar".equals( getPackaging() ) || "maven-plugin".equals( getPackaging() ) )
{ {
artifact += "jar"; artifact += "jar";
} }
@ -1651,4 +1651,4 @@ public class MBoot
return this.directory; return this.directory;
} }
} }
} }