From 13f95996f1dd59ec0b5a7d71cbe5d6c6743c89aa Mon Sep 17 00:00:00 2001 From: Brett Leslie Porter Date: Thu, 31 Mar 2005 11:27:16 +0000 Subject: [PATCH] add idea plugin git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163729 13f79535-47bb-0310-9956-ffa450edef68 --- maven-mboot2/src/main/java/MBoot.java | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/maven-mboot2/src/main/java/MBoot.java b/maven-mboot2/src/main/java/MBoot.java index a60c7830cd..4038129faf 100644 --- a/maven-mboot2/src/main/java/MBoot.java +++ b/maven-mboot2/src/main/java/MBoot.java @@ -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() );