mirror of https://github.com/apache/maven.git
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:
parent
abe5a2ce99
commit
d880a9520a
|
@ -593,7 +593,7 @@ public class MBoot
|
|||
// 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 ..." );
|
||||
|
||||
|
@ -850,7 +850,7 @@ public class MBoot
|
|||
|
||||
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 );
|
||||
|
||||
|
@ -1542,7 +1542,7 @@ public class MBoot
|
|||
artifact = getId() + "-" + getVersion() + ".";
|
||||
}
|
||||
|
||||
if ( "jar".equals( getPackaging() ) || "plugin".equals( getPackaging() ) )
|
||||
if ( "jar".equals( getPackaging() ) || "maven-plugin".equals( getPackaging() ) )
|
||||
{
|
||||
artifact += "jar";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue