add idea plugin

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163729 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-03-31 11:27:16 +00:00
parent f1d1446a50
commit 13f95996f1
1 changed files with 13 additions and 10 deletions

View File

@ -84,7 +84,7 @@ public class MBoot
String[] pluginBuilds = new String[]{"maven-plugins/maven-assemble-plugin", "maven-plugins/maven-clean-plugin",
"maven-plugins/maven-compiler-plugin", "maven-plugins/maven-deploy-plugin",
"maven-plugins/maven-ejb-plugin", /*"maven-plugins/maven-idea-plugin",*/
"maven-plugins/maven-ejb-plugin", "maven-plugins/maven-idea-plugin",
"maven-plugins/maven-install-plugin", "maven-plugins/maven-jar-plugin",
"maven-plugins/maven-plugin-plugin", "maven-plugins/maven-resources-plugin",
"maven-plugins/maven-surefire-plugin", "maven-plugins/maven-war-plugin"};
@ -686,9 +686,10 @@ private void createToolsClassLoader()
File f = new File( repoLocal, dependency );
if ( !f.exists() )
{
throw new FileNotFoundException(
"Missing dependency: " + dependency +
( !online ? "; run again online" : "; there was a problem downloading it earlier" ) );
throw new FileNotFoundException( "Missing dependency: " + dependency +
( !online
? "; run again online"
: "; there was a problem downloading it earlier" ) );
}
cl.addURL( f.toURL() );
@ -705,9 +706,10 @@ private void addPluginGeneratorDependencies()
File f = new File( repoLocal, dependency );
if ( !f.exists() )
{
throw new FileNotFoundException(
"Missing dependency: " + dependency +
( !online ? "; run again online" : "; there was a problem downloading it earlier" ) );
throw new FileNotFoundException( "Missing dependency: " + dependency +
( !online
? "; run again online"
: "; there was a problem downloading it earlier" ) );
}
cl.addURL( f.toURL() );
@ -739,9 +741,10 @@ private void generateSources( String model, String mode, String dir, String mode
File f = new File( repoLocal, dependency );
if ( !f.exists() )
{
throw new FileNotFoundException(
"Missing dependency: " + dependency +
( !online ? "; run again online" : "; there was a problem downloading it earlier" ) );
throw new FileNotFoundException( "Missing dependency: " + dependency +
( !online
? "; run again online"
: "; there was a problem downloading it earlier" ) );
}
modelloClassLoader.addURL( f.toURL() );