Exception in thread “main” java.lang.NoClassDefFoundError: groovy/lang/GroovyObject


(will.not.read.this) #1

I want to run the maven2gradle converter script but I have a configuration issue on win7:

maven2gradle>set | grep _HOME GRADLE_HOME=C:\Program Files\gradle\1.1 GROOVY_HOME=C:\Program Files (x86)\Groovy\Groovy-2.0.1 JAVA_HOME=C:\Program Files (x86)\Java\jre6

maven2gradle>maven2gradle Exception in thread “main” java.lang.NoClassDefFoundError: groovy/lang/GroovyObject at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) Caused by: java.lang.ClassNotFoundException: groovy.lang.GroovyObject at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) … 12 more Could not find the main class: org.gradle.tools.Maven2Gradle. Program will exit.

could you please hustle me to the right direction?

bye Thomas


(Szczepan Faber) #2

Can you tell me how do you run the maven2Gradle converter?

It looks like you’re running the conversion script, which is not maintained by Gradle (https://github.com/jbaruch/maven2gradle)

I suggest to try running the Gradle’s built-in conversion via the bootstrap plugin: http://gradle.org/docs/current/userguide/bootstrap_plugin.html

Hope that helps!


(will.not.read.this) #3

I get an error telling me that gradle does not know plugin maven2gradle:

D:\gradle\test>mvn --version
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: C:\Program Files\apache\maven
Java version: 1.7.0_04, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_04\jre
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
D:\gradle\test>gradle --version
  ------------------------------------------------------------
Gradle 1.1
------------------------------------------------------------
  Gradle build time: Dienstag, 31. Juli 2012 13:24 Uhr UTC
Groovy: 1.8.6
Ant: Apache Ant(TM) version 1.8.4 compiled on May 22 2012
Ivy: 2.2.0
JVM: 1.7.0_04 (Oracle Corporation 23.0-b21)
OS: Windows 7 6.1 amd64
  D:\gradle\test>type build.gradle
apply plugin: 'maven2gradle'
D:\gradle\test>gradle maven2gradle
  FAILURE: Build failed with an exception.
  * Where:
Build file 'D:\gradle\test\build.gradle' line: 1
  * What went wrong:
A problem occurred evaluating root project 'PARAD-Application'.
> Plugin with id 'maven2gradle' not found.
  * Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
  BUILD FAILED
  Total time: 1.868 secs
  D:\gradle\test>gradle maven2gradle --debug
11:03:28.287 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@79845505, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@5ee9f996, org.gradle.logging.internal.JavaUtilLoggingConfigurer@53011788]
11:03:29.026 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@79845505, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@5ee9f996, org.gradle.logging.internal.JavaUtilLoggingConfigurer@53011788]
11:03:29.030 [INFO] [org.gradle.BuildLogger] Starting Build
11:03:29.034 [DEBUG] [org.gradle.BuildLogger] Gradle user home: C:\Users\me\.gradle
11:03:29.035 [DEBUG] [org.gradle.BuildLogger] Current dir: D:\gradle\test
11:03:29.038 [DEBUG] [org.gradle.BuildLogger] Settings file: null
11:03:29.040 [DEBUG] [org.gradle.BuildLogger] Build file: null
11:03:29.055 [DEBUG] [org.gradle.initialization.BuildSourceBuilder] Starting to build the build sources.
11:03:29.079 [DEBUG] [org.gradle.initialization.BuildSourceBuilder] Gradle source dir does not exist. We leave.
11:03:29.100 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found env project properties: []
11:03:29.120 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found system project properties: []
11:03:29.509 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@79845505, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@5ee9f996, org.gradle.logging.in
ternal.JavaUtilLoggingConfigurer@53011788]
11:03:29.539 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@79845505, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@5ee9f996, org.gradle.logging.internal.JavaUtilLoggingConfigurer@53011788]
11:03:29.560 [DEBUG] [org.gradle.initialization.ScriptEvaluatingSettingsProcessor] Timing: Processing settings took: 0.42 secs
11:03:29.582 [INFO] [org.gradle.BuildLogger] Settings evaluated using empty settings script.
11:03:29.721 [DEBUG] [org.gradle.initialization.ProjectPropertySettingBuildLoader] Looking for project properties from: D:\gradle\test\gradle.properties
11:03:29.749 [DEBUG] [org.gradle.initialization.ProjectPropertySettingBuildLoader] project property file does not exists. We continue!
11:03:29.766 [INFO] [org.gradle.BuildLogger] Projects loaded. Root project using build file 'D:\gradle\test\build.gradle'.
11:03:29.782 [INFO] [org.gradle.BuildLogger] Included projects: [root project 'PARAD-Application']
11:03:29.800 [INFO] [org.gradle.configuration.BuildScriptProcessor] Evaluating root project 'PARAD-Application' using build file 'D:\gradle\test\build.gradle'.
11:03:29.827 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on buildscript class cache for buildfile 'D:\gradle\test\build.gradle' (C:\Users\me\.gradle\caches.1\scripts\build_2adf1vrgkq47211egfrdifqclk\ProjectScript\buildscript).
11:03:29.849 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
11:03:29.879 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@79845505, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@5ee9f996, org.gradle.logging.internal.JavaUtilLoggingConfigurer@53011788]
11:03:29.905 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on no_buildscript class cache for build file 'D:\gradle\test\build.gradle' (C:\Users\me\.gradle\caches.1\scripts\build_2adf1vrgkq47211egfrdifqclk\ProjectScript\no_buildscript).
11:03:29.924 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
11:03:30.021 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@79845505, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@5ee9f996, org.gradle.logging.internal.JavaUtilLoggingConfigurer@53011788]
11:03:30.040 [DEBUG] [org.gradle.configuration.BuildScriptProcessor] Timing: Running the build script took 0.224 secs
11:03:30.066 [ERROR] [org.gradle.BuildExceptionReporter]
11:03:30.084 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
11:03:30.103 [ERROR] [org.gradle.BuildExceptionReporter]
11:03:30.115 [ERROR] [org.gradle.BuildExceptionReporter] * Where:
11:03:30.141 [ERROR] [org.gradle.BuildExceptionReporter] Build file 'D:\gradle\test\build.gradle' line: 1
11:03:30.156 [ERROR] [org.gradle.BuildExceptionReporter]
11:03:30.170 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
11:03:30.184 [ERROR] [org.gradle.BuildExceptionReporter] A problem occurred evaluating root project 'PARAD-Application'.
11:03:30.200 [ERROR] [org.gradle.BuildExceptionReporter] > Plugin with id 'maven2gradle' not found.
11:03:30.215 [ERROR] [org.gradle.BuildExceptionReporter]
11:03:30.229 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
11:03:30.244 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.GradleScriptException: A problem occurred evaluating root project 'PARAD-Application'.
11:03:30.261 [ERROR] [org.gradle.BuildExceptionReporter]
      atorg.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:54)
11:03:30.276 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:127)
11:03:30.297 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.configuration.BuildScriptProcessor.evaluate(BuildScriptProcessor.java:38)
11:03:30.310 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.configuration.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:43)
11:03:30.325 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:463)
11:03:30.338 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:75)
11:03:30.352 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.configuration.ProjectEvaluationConfigurer.execute(ProjectEvaluationConfigurer.java:23)
11:03:30.365 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.configuration.ProjectEvaluationConfigurer.execute(ProjectEvaluationConfigurer.java:21)
11:03:30.378 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.configuration.DefaultBuildConfigurer$1.execute(DefaultBuildConfigurer.java:38)
11:03:30.390 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.configuration.DefaultBuildConfigurer$1.execute(DefaultBuildConfigurer.java:35)
11:03:30.403 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.project.AbstractProject.configure(AbstractProject.java:439)
11:03:30.416 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.project.AbstractProject.allprojects(AbstractProject.java:434)
11:03:30.429 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)
11:03:30.442 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:139)
11:03:30.455 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:110)
11:03:30.467 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:78)
11:03:30.480 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:38)
11:03:30.494 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.exec.InProcessGradleLauncherActionExecuter.execute(InProcessGradleLauncherActionExecuter.java:39)
11:03:30.507 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.exec.InProcessGradleLauncherActionExecuter.execute(InProcessGradleLauncherActionExecuter.java:25)
11:03:30.519 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:50)
11:03:30.538 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.ActionAdapter.execute(ActionAdapter.java:30)
11:03:30.550 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.ActionAdapter.execute(ActionAdapter.java:22)
11:03:30.560 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:200)
11:03:30.572 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:173)
11:03:30.583 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
11:03:30.597 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:138)
11:03:30.609 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
11:03:30.622 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
11:03:30.636 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.Main.doAction(Main.java:48)
11:03:30.648 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
11:03:30.661 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.Main.main(Main.java:39)
11:03:30.675 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:50)
11:03:30.686 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32)
11:03:30.699 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.GradleMain.main(GradleMain.java:26)
11:03:30.711 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: org.gradle.api.plugins.UnknownPluginException: Plugin with id 'maven2gradle' not found.
11:03:30.723 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.plugins.DefaultPluginRegistry.getTypeForId(DefaultPluginRegistry.java:89)
11:03:30.737 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.plugins.DefaultProjectsPluginContainer.getTypeForId(DefaultProjectsPluginContainer.java:102)
11:03:30.755 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.plugins.DefaultProjectsPluginContainer.apply(DefaultProjectsPluginContainer.java:37)
11:03:30.768 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyPlugin(DefaultObjectConfigurationAction.java:101)
11:03:30.781 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$200(DefaultObjectConfigurationAction.java:32)
11:03:30.794 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$3.run(DefaultObjectConfigurationAction.java:72)
11:03:30.808 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:114)
11:03:30.821 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.project.AbstractProject.apply(AbstractProject.java:841)
11:03:30.833 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.Project$apply.call(Unknown Source)
11:03:30.843 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.project.ProjectScript.apply(ProjectScript.groovy:34)
11:03:30.855 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.Script$apply.callCurrent(Unknown Source)
11:03:30.866 [ERROR] [org.gradle.BuildExceptionReporter]
      at build_2adf1vrgkq47211egfrdifqclk.run(D:\gradle\test\build.gradle:1)
11:03:30.878 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:52)
11:03:30.889 [ERROR] [org.gradle.BuildExceptionReporter]
      ... 33 more
11:03:30.899 [ERROR] [org.gradle.BuildExceptionReporter]
11:03:30.911 [LIFECYCLE] [org.gradle.BuildResultLogger]
11:03:30.922 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
11:03:30.933 [LIFECYCLE] [org.gradle.BuildResultLogger]
11:03:30.944 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 3.078 secs
11:03:30.970 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on no_buildscript class cache for build file 'D:\gradle\test\build.gradle' (C:\Users\me\.gradle\caches.1\scripts\build_2adf1vrgkq47211egfrdifqclk\ProjectScript\no_buildscript).
11:03:30.983 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on buildscript class cache for build file 'D:\gradle\test\build.gradle' (C:\Users\me\.gradle\caches.1\scripts\build_2adf1vrgkq47211egfrdifqclk\ProjectScript\buildscript).
11:03:31.000 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@79845505, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@5ee9f996, org.gradle.logging.internal.JavaUtilLoggingConfigurer@53011788]
  D:\gradle\test>

how do I fix that?

bye Thomas


(will.not.read.this) #4

I get an error telling me that gradle does not know plugin maven2gradle:

D:\gradle\test>mvn --version
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: C:\Program Files\apache\maven
Java version: 1.7.0_04, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_04\jre
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
D:\gradle\test>gradle --version
  ------------------------------------------------------------
Gradle 1.1
------------------------------------------------------------
  Gradle build time: Dienstag, 31. Juli 2012 13:24 Uhr UTC
Groovy: 1.8.6
Ant: Apache Ant(TM) version 1.8.4 compiled on May 22 2012
Ivy: 2.2.0
JVM: 1.7.0_04 (Oracle Corporation 23.0-b21)
OS: Windows 7 6.1 amd64
  D:\gradle\test>type build.gradle
apply plugin: 'maven2gradle'
D:\gradle\test>gradle maven2gradle
  FAILURE: Build failed with an exception.
  * Where:
Build file 'D:\gradle\test\build.gradle' line: 1
  * What went wrong:
A problem occurred evaluating root project 'PARAD-Application'.
> Plugin with id 'maven2gradle' not found.
  * Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
  BUILD FAILED
  Total time: 1.868 secs
  D:\gradle\test>gradle maven2gradle --debug
11:03:28.287 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@79845505, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@5ee9f996, org.gradle.logging.internal.JavaUtilLoggingConfigurer@53011788]
11:03:29.026 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@79845505, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@5ee9f996, org.gradle.logging.internal.JavaUtilLoggingConfigurer@53011788]
11:03:29.030 [INFO] [org.gradle.BuildLogger] Starting Build
11:03:29.034 [DEBUG] [org.gradle.BuildLogger] Gradle user home: C:\Users\me\.gradle
11:03:29.035 [DEBUG] [org.gradle.BuildLogger] Current dir: D:\gradle\test
11:03:29.038 [DEBUG] [org.gradle.BuildLogger] Settings file: null
11:03:29.040 [DEBUG] [org.gradle.BuildLogger] Build file: null
11:03:29.055 [DEBUG] [org.gradle.initialization.BuildSourceBuilder] Starting to build the build sources.
11:03:29.079 [DEBUG] [org.gradle.initialization.BuildSourceBuilder] Gradle source dir does not exist. We leave.
11:03:29.100 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found env project properties: []
11:03:29.120 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found system project properties: []
11:03:29.509 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@79845505, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@5ee9f996, org.gradle.logging.internal.JavaUtilLoggingConfigurer@53011788]
11:03:29.539 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@79845505, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@5ee9f996, org.gradle.logging.internal.JavaUtilLoggingConfigurer@53011788]
11:03:29.560 [DEBUG] [org.gradle.initialization.ScriptEvaluatingSettingsProcessor] Timing: Processing settings took: 0.42 secs
11:03:29.582 [INFO] [org.gradle.BuildLogger] Settings evaluated using empty settings script.
11:03:29.721 [DEBUG] [org.gradle.initialization.ProjectPropertySettingBuildLoader] Looking for project properties from: D:\gradle\test\gradle.properties
11:03:29.749 [DEBUG] [org.gradle.initialization.ProjectPropertySettingBuildLoader] project property file does not exists. We continue!
11:03:29.766 [INFO] [org.gradle.BuildLogger] Projects loaded. Root project using build file 'D:\gradle\test\build.gradle'.
11:03:29.782 [INFO] [org.gradle.BuildLogger] Included projects: [root project 'PARAD-Application']
11:03:29.800 [INFO] [org.gradle.configuration.BuildScriptProcessor] Evaluating root project 'PARAD-Application' using build file 'D:\gradle\test\build.gradle'.
11:03:29.827 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on buildscript class cache for buildfile 'D:\gradle\test\build.gradle' (C:\Users\me\.gradle\caches.1\scripts\build_2adf1vrgkq47211egfrdifqclk\ProjectScript\buildscript).
11:03:29.849 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
11:03:29.879 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@79845505, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@5ee9f996, org.gradle.logging.internal.JavaUtilLoggingConfigurer@53011788]
11:03:29.905 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on no_buildscript class cache for build file 'D:\gradle\test\build.gradle' (C:\Users\me\.gradle\caches.1\scripts\build_2adf1vrgkq47211egfrdifqclk\ProjectScript\no_buildscript).
11:03:29.924 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
11:03:30.021 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@79845505, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@5ee9f996, org.gradle.logging.internal.JavaUtilLoggingConfigurer@53011788]
11:03:30.040 [DEBUG] [org.gradle.configuration.BuildScriptProcessor] Timing: Running the build script took 0.224 secs
11:03:30.066 [ERROR] [org.gradle.BuildExceptionReporter]
11:03:30.084 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
11:03:30.103 [ERROR] [org.gradle.BuildExceptionReporter]
11:03:30.115 [ERROR] [org.gradle.BuildExceptionReporter] * Where:
11:03:30.141 [ERROR] [org.gradle.BuildExceptionReporter] Build file 'D:\gradle\test\build.gradle' line: 1
11:03:30.156 [ERROR] [org.gradle.BuildExceptionReporter]
11:03:30.170 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
11:03:30.184 [ERROR] [org.gradle.BuildExceptionReporter] A problem occurred evaluating root project 'PARAD-Application'.
11:03:30.200 [ERROR] [org.gradle.BuildExceptionReporter] > Plugin with id 'maven2gradle' not found.
11:03:30.215 [ERROR] [org.gradle.BuildExceptionReporter]
11:03:30.229 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
11:03:30.244 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.GradleScriptException: A problem occurred evaluating root project 'PARAD-Application'.
11:03:30.261 [ERROR] [org.gradle.BuildExceptionReporter]
      atorg.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:54)
11:03:30.276 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:127)
11:03:30.297 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.configuration.BuildScriptProcessor.evaluate(BuildScriptProcessor.java:38)
11:03:30.310 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.configuration.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:43)
11:03:30.325 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:463)
11:03:30.338 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:75)
11:03:30.352 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.configuration.ProjectEvaluationConfigurer.execute(ProjectEvaluationConfigurer.java:23)
11:03:30.365 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.configuration.ProjectEvaluationConfigurer.execute(ProjectEvaluationConfigurer.java:21)
11:03:30.378 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.configuration.DefaultBuildConfigurer$1.execute(DefaultBuildConfigurer.java:38)
11:03:30.390 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.configuration.DefaultBuildConfigurer$1.execute(DefaultBuildConfigurer.java:35)
11:03:30.403 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.project.AbstractProject.configure(AbstractProject.java:439)
11:03:30.416 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.project.AbstractProject.allprojects(AbstractProject.java:434)
11:03:30.429 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)
11:03:30.442 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:139)
11:03:30.455 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:110)
11:03:30.467 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:78)
11:03:30.480 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:38)
11:03:30.494 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.exec.InProcessGradleLauncherActionExecuter.execute(InProcessGradleLauncherActionExecuter.java:39)
11:03:30.507 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.exec.InProcessGradleLauncherActionExecuter.execute(InProcessGradleLauncherActionExecuter.java:25)
11:03:30.519 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:50)
11:03:30.538 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.ActionAdapter.execute(ActionAdapter.java:30)
11:03:30.550 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.ActionAdapter.execute(ActionAdapter.java:22)
11:03:30.560 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:200)
11:03:30.572 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:173)
11:03:30.583 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
11:03:30.597 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:138)
11:03:30.609 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
11:03:30.622 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
11:03:30.636 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.Main.doAction(Main.java:48)
11:03:30.648 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
11:03:30.661 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.Main.main(Main.java:39)
11:03:30.675 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:50)
11:03:30.686 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32)
11:03:30.699 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.GradleMain.main(GradleMain.java:26)
11:03:30.711 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: org.gradle.api.plugins.UnknownPluginException: Plugin with id 'maven2gradle' not found.
11:03:30.723 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.plugins.DefaultPluginRegistry.getTypeForId(DefaultPluginRegistry.java:89)
11:03:30.737 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.plugins.DefaultProjectsPluginContainer.getTypeForId(DefaultProjectsPluginContainer.java:102)
11:03:30.755 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.plugins.DefaultProjectsPluginContainer.apply(DefaultProjectsPluginContainer.java:37)
11:03:30.768 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyPlugin(DefaultObjectConfigurationAction.java:101)
11:03:30.781 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$200(DefaultObjectConfigurationAction.java:32)
11:03:30.794 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$3.run(DefaultObjectConfigurationAction.java:72)
11:03:30.808 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:114)
11:03:30.821 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.project.AbstractProject.apply(AbstractProject.java:841)
11:03:30.833 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.Project$apply.call(Unknown Source)
11:03:30.843 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.project.ProjectScript.apply(ProjectScript.groovy:34)
11:03:30.855 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.Script$apply.callCurrent(Unknown Source)
11:03:30.866 [ERROR] [org.gradle.BuildExceptionReporter]
      at build_2adf1vrgkq47211egfrdifqclk.run(D:\gradle\test\build.gradle:1)
11:03:30.878 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:52)
11:03:30.889 [ERROR] [org.gradle.BuildExceptionReporter]
      ... 33 more
11:03:30.899 [ERROR] [org.gradle.BuildExceptionReporter]
11:03:30.911 [LIFECYCLE] [org.gradle.BuildResultLogger]
11:03:30.922 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
11:03:30.933 [LIFECYCLE] [org.gradle.BuildResultLogger]
11:03:30.944 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 3.078 secs
11:03:30.970 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on no_buildscript class cache for build file 'D:\gradle\test\build.gradle' (C:\Users\me\.gradle\caches.1\scripts\build_2adf1vrgkq47211egfrdifqclk\ProjectScript\no_buildscript).
11:03:30.983 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on buildscript class cache for build file 'D:\gradle\test\build.gradle' (C:\Users\me\.gradle\caches.1\scripts\build_2adf1vrgkq47211egfrdifqclk\ProjectScript\buildscript).
11:03:31.000 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@79845505, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@5ee9f996, org.gradle.logging.internal.JavaUtilLoggingConfigurer@53011788]
  D:\gradle\test>

how do I fix that?

bye Thomas


(will.not.read.this) #5

I get an error telling me that gradle does not know plugin maven2gradle:

D:\gradle\test>mvn --version
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: C:\Program Files\apache\maven
Java version: 1.7.0_04, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_04\jre
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
D:\gradle\test>gradle --version
  ------------------------------------------------------------
Gradle 1.1
------------------------------------------------------------
  Gradle build time: Dienstag, 31. Juli 2012 13:24 Uhr UTC
Groovy: 1.8.6
Ant: Apache Ant(TM) version 1.8.4 compiled on May 22 2012
Ivy: 2.2.0
JVM: 1.7.0_04 (Oracle Corporation 23.0-b21)
OS: Windows 7 6.1 amd64
  D:\gradle\test>type build.gradle
apply plugin: 'maven2gradle'
D:\gradle\test>gradle maven2gradle
  FAILURE: Build failed with an exception.
  * Where:
Build file 'D:\gradle\test\build.gradle' line: 1
  * What went wrong:
A problem occurred evaluating root project 'PARAD-Application'.
> Plugin with id 'maven2gradle' not found.
  * Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
  BUILD FAILED
  Total time: 1.868 secs
  D:\gradle\test>gradle maven2gradle --debug
11:03:28.287 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@79845505, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@5ee9f996, org.gradle.logging.internal.JavaUtilLoggingConfigurer@53011788]
11:03:29.026 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@79845505, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@5ee9f996, org.gradle.logging.internal.JavaUtilLoggingConfigurer@53011788]
11:03:29.030 [INFO] [org.gradle.BuildLogger] Starting Build
11:03:29.034 [DEBUG] [org.gradle.BuildLogger] Gradle user home: C:\Users\me\.gradle
11:03:29.035 [DEBUG] [org.gradle.BuildLogger] Current dir: D:\gradle\test
11:03:29.038 [DEBUG] [org.gradle.BuildLogger] Settings file: null
11:03:29.040 [DEBUG] [org.gradle.BuildLogger] Build file: null
11:03:29.055 [DEBUG] [org.gradle.initialization.BuildSourceBuilder] Starting to build the build sources.
11:03:29.079 [DEBUG] [org.gradle.initialization.BuildSourceBuilder] Gradle source dir does not exist. We leave.
11:03:29.100 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found env project properties: []
11:03:29.120 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found system project properties: []
11:03:29.509 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@79845505, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@5ee9f996, org.gradle.logging.internal.JavaUtilLoggingConfigurer@53011788]
11:03:29.539 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@79845505, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@5ee9f996, org.gradle.logging.internal.JavaUtilLoggingConfigurer@53011788]
11:03:29.560 [DEBUG] [org.gradle.initialization.ScriptEvaluatingSettingsProcessor] Timing: Processing settings took: 0.42 secs
11:03:29.582 [INFO] [org.gradle.BuildLogger] Settings evaluated using empty settings script.
11:03:29.721 [DEBUG] [org.gradle.initialization.ProjectPropertySettingBuildLoader] Looking for project properties from: D:\gradle\test\gradle.properties
11:03:29.749 [DEBUG] [org.gradle.initialization.ProjectPropertySettingBuildLoader] project property file does not exists. We continue!
11:03:29.766 [INFO] [org.gradle.BuildLogger] Projects loaded. Root project using build file 'D:\gradle\test\build.gradle'.
11:03:29.782 [INFO] [org.gradle.BuildLogger] Included projects: [root project 'PARAD-Application']
11:03:29.800 [INFO] [org.gradle.configuration.BuildScriptProcessor] Evaluating root project 'PARAD-Application' using build file 'D:\gradle\test\build.gradle'.
11:03:29.827 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on buildscript class cache for buildfile 'D:\gradle\test\build.gradle' (C:\Users\me\.gradle\caches.1\scripts\build_2adf1vrgkq47211egfrdifqclk\ProjectScript\buildscript).
11:03:29.849 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
11:03:29.879 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@79845505, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@5ee9f996, org.gradle.logging.internal.JavaUtilLoggingConfigurer@53011788]
11:03:29.905 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on no_buildscript class cache for build file 'D:\gradle\test\build.gradle' (C:\Users\me\.gradle\caches.1\scripts\build_2adf1vrgkq47211egfrdifqclk\ProjectScript\no_buildscript).
11:03:29.924 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired.
11:03:30.021 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@79845505, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@5ee9f996, org.gradle.logging.internal.JavaUtilLoggingConfigurer@53011788]
11:03:30.040 [DEBUG] [org.gradle.configuration.BuildScriptProcessor] Timing: Running the build script took 0.224 secs
11:03:30.066 [ERROR] [org.gradle.BuildExceptionReporter]
11:03:30.084 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
11:03:30.103 [ERROR] [org.gradle.BuildExceptionReporter]
11:03:30.115 [ERROR] [org.gradle.BuildExceptionReporter] * Where:
11:03:30.141 [ERROR] [org.gradle.BuildExceptionReporter] Build file 'D:\gradle\test\build.gradle' line: 1
11:03:30.156 [ERROR] [org.gradle.BuildExceptionReporter]
11:03:30.170 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
11:03:30.184 [ERROR] [org.gradle.BuildExceptionReporter] A problem occurred evaluating root project 'PARAD-Application'.
11:03:30.200 [ERROR] [org.gradle.BuildExceptionReporter] > Plugin with id 'maven2gradle' not found.
11:03:30.215 [ERROR] [org.gradle.BuildExceptionReporter]
11:03:30.229 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
11:03:30.244 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.GradleScriptException: A problem occurred evaluating root project 'PARAD-Application'.
11:03:30.261 [ERROR] [org.gradle.BuildExceptionReporter]
      atorg.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:54)
11:03:30.276 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:127)
11:03:30.297 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.configuration.BuildScriptProcessor.evaluate(BuildScriptProcessor.java:38)
11:03:30.310 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.configuration.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:43)
11:03:30.325 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:463)
11:03:30.338 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:75)
11:03:30.352 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.configuration.ProjectEvaluationConfigurer.execute(ProjectEvaluationConfigurer.java:23)
11:03:30.365 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.configuration.ProjectEvaluationConfigurer.execute(ProjectEvaluationConfigurer.java:21)
11:03:30.378 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.configuration.DefaultBuildConfigurer$1.execute(DefaultBuildConfigurer.java:38)
11:03:30.390 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.configuration.DefaultBuildConfigurer$1.execute(DefaultBuildConfigurer.java:35)
11:03:30.403 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.project.AbstractProject.configure(AbstractProject.java:439)
11:03:30.416 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.project.AbstractProject.allprojects(AbstractProject.java:434)
11:03:30.429 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)
11:03:30.442 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:139)
11:03:30.455 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:110)
11:03:30.467 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:78)
11:03:30.480 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:38)
11:03:30.494 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.exec.InProcessGradleLauncherActionExecuter.execute(InProcessGradleLauncherActionExecuter.java:39)
11:03:30.507 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.exec.InProcessGradleLauncherActionExecuter.execute(InProcessGradleLauncherActionExecuter.java:25)
11:03:30.519 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:50)
11:03:30.538 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.ActionAdapter.execute(ActionAdapter.java:30)
11:03:30.550 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.ActionAdapter.execute(ActionAdapter.java:22)
11:03:30.560 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:200)
11:03:30.572 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:173)
11:03:30.583 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
11:03:30.597 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:138)
11:03:30.609 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
11:03:30.622 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
11:03:30.636 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.Main.doAction(Main.java:48)
11:03:30.648 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
11:03:30.661 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.Main.main(Main.java:39)
11:03:30.675 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:50)
11:03:30.686 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32)
11:03:30.699 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.launcher.GradleMain.main(GradleMain.java:26)
11:03:30.711 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: org.gradle.api.plugins.UnknownPluginException: Plugin with id 'maven2gradle' not found.
11:03:30.723 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.plugins.DefaultPluginRegistry.getTypeForId(DefaultPluginRegistry.java:89)
11:03:30.737 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.plugins.DefaultProjectsPluginContainer.getTypeForId(DefaultProjectsPluginContainer.java:102)
11:03:30.755 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.plugins.DefaultProjectsPluginContainer.apply(DefaultProjectsPluginContainer.java:37)
11:03:30.768 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyPlugin(DefaultObjectConfigurationAction.java:101)
11:03:30.781 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$200(DefaultObjectConfigurationAction.java:32)
11:03:30.794 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$3.run(DefaultObjectConfigurationAction.java:72)
11:03:30.808 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:114)
11:03:30.821 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.project.AbstractProject.apply(AbstractProject.java:841)
11:03:30.833 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.Project$apply.call(Unknown Source)
11:03:30.843 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.internal.project.ProjectScript.apply(ProjectScript.groovy:34)
11:03:30.855 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.api.Script$apply.callCurrent(Unknown Source)
11:03:30.866 [ERROR] [org.gradle.BuildExceptionReporter]
      at build_2adf1vrgkq47211egfrdifqclk.run(D:\gradle\test\build.gradle:1)
11:03:30.878 [ERROR] [org.gradle.BuildExceptionReporter]
      at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:52)
11:03:30.889 [ERROR] [org.gradle.BuildExceptionReporter]
      ... 33 more
11:03:30.899 [ERROR] [org.gradle.BuildExceptionReporter]
11:03:30.911 [LIFECYCLE] [org.gradle.BuildResultLogger]
11:03:30.922 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
11:03:30.933 [LIFECYCLE] [org.gradle.BuildResultLogger]
11:03:30.944 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 3.078 secs
11:03:30.970 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on no_buildscript class cache for build file 'D:\gradle\test\build.gradle' (C:\Users\me\.gradle\caches.1\scripts\build_2adf1vrgkq47211egfrdifqclk\ProjectScript\no_buildscript).
11:03:30.983 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on buildscript class cache for build file 'D:\gradle\test\build.gradle' (C:\Users\me\.gradle\caches.1\scripts\build_2adf1vrgkq47211egfrdifqclk\ProjectScript\buildscript).
11:03:31.000 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@79845505, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@5ee9f996, org.gradle.logging.internal.JavaUtilLoggingConfigurer@53011788]
  D:\gradle\test>

how can I fix that?

bye Thomas


(will.not.read.this) #6

This forum reminds me why I hate javascript abusing websites!

I cant get the post looking like I want it.

So here is the stachtrace again without the code tags: I get an error telling me that gradle does not know plugin maven2gradle:

D:\gradle\test>mvn --version Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100) Maven home: C:\Program Files\apache\maven Java version: 1.7.0_04, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.7.0_04\jre Default locale: de_DE, platform encoding: Cp1252 OS name: “windows 7”, version: “6.1”, arch: “amd64”, family: “windows” D:\gradle\test>gradle --version

------------------------------------------------------------ Gradle 1.1 ------------------------------------------------------------

Gradle build time: Dienstag, 31. Juli 2012 13:24 Uhr UTC Groovy: 1.8.6 Ant: Apache Ant™ version 1.8.4 compiled on May 22 2012 Ivy: 2.2.0 JVM: 1.7.0_04 (Oracle Corporation 23.0-b21) OS: Windows 7 6.1 amd64

D:\gradle\test>type build.gradle apply plugin: ‘maven2gradle’ D:\gradle\test>gradle maven2gradle

FAILURE: Build failed with an exception.

  • Where: Build file ‘D:\gradle\test\build.gradle’ line: 1

  • What went wrong: A problem occurred evaluating root project ‘PARAD-Application’. > Plugin with id ‘maven2gradle’ not found.

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 1.868 secs

D:\gradle\test>gradle maven2gradle --debug 11:03:28.287 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@79845505, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@5ee9f996, org.gradle.logging.internal.JavaUtilLoggingConfigurer@53011788] 11:03:29.026 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@79845505, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@5ee9f996, org.gradle.logging.internal.JavaUtilLoggingConfigurer@53011788] 11:03:29.030 [INFO] [org.gradle.BuildLogger] Starting Build 11:03:29.034 [DEBUG] [org.gradle.BuildLogger] Gradle user home: C:\Users\me.gradle 11:03:29.035 [DEBUG] [org.gradle.BuildLogger] Current dir: D:\gradle\test 11:03:29.038 [DEBUG] [org.gradle.BuildLogger] Settings file: null 11:03:29.040 [DEBUG] [org.gradle.BuildLogger] Build file: null 11:03:29.055 [DEBUG] [org.gradle.initialization.BuildSourceBuilder] Starting to build the build sources. 11:03:29.079 [DEBUG] [org.gradle.initialization.BuildSourceBuilder] Gradle source dir does not exist. We leave. 11:03:29.100 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found env project properties: [] 11:03:29.120 [DEBUG] [org.gradle.initialization.DefaultGradlePropertiesLoader] Found system project properties: [] 11:03:29.509 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@79845505, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@5ee9f996, org.gradle.logging.internal.JavaUtilLoggingConfigurer@53011788] 11:03:29.539 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@79845505, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@5ee9f996, org.gradle.logging.internal.JavaUtilLoggingConfigurer@53011788] 11:03:29.560 [DEBUG] [org.gradle.initialization.ScriptEvaluatingSettingsProcessor] Timing: Processing settings took: 0.42 secs 11:03:29.582 [INFO] [org.gradle.BuildLogger] Settings evaluated using empty settings script. 11:03:29.721 [DEBUG] [org.gradle.initialization.ProjectPropertySettingBuildLoader] Looking for project properties from: D:\gradle\test\gradle.properties 11:03:29.749 [DEBUG] [org.gradle.initialization.ProjectPropertySettingBuildLoader] project property file does not exists. We continue! 11:03:29.766 [INFO] [org.gradle.BuildLogger] Projects loaded. Root project using build file ‘D:\gradle\test\build.gradle’. 11:03:29.782 [INFO] [org.gradle.BuildLogger] Included projects: [root project ‘PARAD-Application’] 11:03:29.800 [INFO] [org.gradle.configuration.BuildScriptProcessor] Evaluating root project ‘PARAD-Application’ using build file ‘D:\gradle\test\build.gradle’. 11:03:29.827 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on buildscript class cache for buildfile ‘D:\gradle\test\build.gradle’ (C:\Users\me.gradle\caches\1.1\scripts\build_2adf1vrgkq47211egfrdifqclk\ProjectScript\buildscript). 11:03:29.849 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired. 11:03:29.879 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@79845505, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@5ee9f996, org.gradle.logging.internal.JavaUtilLoggingConfigurer@53011788] 11:03:29.905 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on no_buildscript class cache for build file ‘D:\gradle\test\build.gradle’ (C:\Users\me.gradle\caches\1.1\scripts\build_2adf1vrgkq47211egfrdifqclk\ProjectScript\no_buildscript). 11:03:29.924 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired. 11:03:30.021 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@79845505, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@5ee9f996, org.gradle.logging.internal.JavaUtilLoggingConfigurer@53011788] 11:03:30.040 [DEBUG] [org.gradle.configuration.BuildScriptProcessor] Timing: Running the build script took 0.224 secs 11:03:30.066 [ERROR] [org.gradle.BuildExceptionReporter] 11:03:30.084 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception. 11:03:30.103 [ERROR] [org.gradle.BuildExceptionReporter] 11:03:30.115 [ERROR] [org.gradle.BuildExceptionReporter] * Where: 11:03:30.141 [ERROR] [org.gradle.BuildExceptionReporter] Build file ‘D:\gradle\test\build.gradle’ line: 1 11:03:30.156 [ERROR] [org.gradle.BuildExceptionReporter] 11:03:30.170 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong: 11:03:30.184 [ERROR] [org.gradle.BuildExceptionReporter] A problem occurred evaluating root project ‘PARAD-Application’. 11:03:30.200 [ERROR] [org.gradle.BuildExceptionReporter] > Plugin with id ‘maven2gradle’ not found. 11:03:30.215 [ERROR] [org.gradle.BuildExceptionReporter] 11:03:30.229 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is: 11:03:30.244 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.GradleScriptException: A problem occurred evaluating root project ‘PARAD-Application’. 11:03:30.261 [ERROR] [org.gradle.BuildExceptionReporter]

atorg.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:54) 11:03:30.276 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:127) 11:03:30.297 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.configuration.BuildScriptProcessor.evaluate(BuildScriptProcessor.java:38) 11:03:30.310 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.configuration.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:43) 11:03:30.325 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:463) 11:03:30.338 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:75) 11:03:30.352 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.configuration.ProjectEvaluationConfigurer.execute(ProjectEvaluationConfigurer.java:23) 11:03:30.365 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.configuration.ProjectEvaluationConfigurer.execute(ProjectEvaluationConfigurer.java:21) 11:03:30.378 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.configuration.DefaultBuildConfigurer$1.execute(DefaultBuildConfigurer.java:38) 11:03:30.390 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.configuration.DefaultBuildConfigurer$1.execute(DefaultBuildConfigurer.java:35) 11:03:30.403 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.api.internal.project.AbstractProject.configure(AbstractProject.java:439) 11:03:30.416 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.api.internal.project.AbstractProject.allprojects(AbstractProject.java:434) 11:03:30.429 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35) 11:03:30.442 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:139) 11:03:30.455 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:110) 11:03:30.467 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:78) 11:03:30.480 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:38) 11:03:30.494 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.launcher.exec.InProcessGradleLauncherActionExecuter.execute(InProcessGradleLauncherActionExecuter.java:39) 11:03:30.507 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.launcher.exec.InProcessGradleLauncherActionExecuter.execute(InProcessGradleLauncherActionExecuter.java:25) 11:03:30.519 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:50) 11:03:30.538 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.launcher.cli.ActionAdapter.execute(ActionAdapter.java:30) 11:03:30.550 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.launcher.cli.ActionAdapter.execute(ActionAdapter.java:22) 11:03:30.560 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:200) 11:03:30.572 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:173) 11:03:30.583 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169) 11:03:30.597 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:138) 11:03:30.609 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33) 11:03:30.622 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22) 11:03:30.636 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.launcher.Main.doAction(Main.java:48) 11:03:30.648 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45) 11:03:30.661 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.launcher.Main.main(Main.java:39) 11:03:30.675 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:50) 11:03:30.686 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32) 11:03:30.699 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.launcher.GradleMain.main(GradleMain.java:26) 11:03:30.711 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: org.gradle.api.plugins.UnknownPluginException: Plugin with id ‘maven2gradle’ not found. 11:03:30.723 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.api.internal.plugins.DefaultPluginRegistry.getTypeForId(DefaultPluginRegistry.java:89) 11:03:30.737 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.api.internal.plugins.DefaultProjectsPluginContainer.getTypeForId(DefaultProjectsPluginContainer.java:102) 11:03:30.755 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.api.internal.plugins.DefaultProjectsPluginContainer.apply(DefaultProjectsPluginContainer.java:37) 11:03:30.768 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.applyPlugin(DefaultObjectConfigurationAction.java:101) 11:03:30.781 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.access$200(DefaultObjectConfigurationAction.java:32) 11:03:30.794 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction$3.run(DefaultObjectConfigurationAction.java:72) 11:03:30.808 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.api.internal.plugins.DefaultObjectConfigurationAction.execute(DefaultObjectConfigurationAction.java:114) 11:03:30.821 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.api.internal.project.AbstractProject.apply(AbstractProject.java:841) 11:03:30.833 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.api.Project$apply.call(Unknown Source) 11:03:30.843 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.api.internal.project.ProjectScript.apply(ProjectScript.groovy:34) 11:03:30.855 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.api.Script$apply.callCurrent(Unknown Source) 11:03:30.866 [ERROR] [org.gradle.BuildExceptionReporter]

at build_2adf1vrgkq47211egfrdifqclk.run(D:\gradle\test\build.gradle:1) 11:03:30.878 [ERROR] [org.gradle.BuildExceptionReporter]

at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:52) 11:03:30.889 [ERROR] [org.gradle.BuildExceptionReporter]

… 33 more 11:03:30.899 [ERROR] [org.gradle.BuildExceptionReporter] 11:03:30.911 [LIFECYCLE] [org.gradle.BuildResultLogger] 11:03:30.922 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED 11:03:30.933 [LIFECYCLE] [org.gradle.BuildResultLogger] 11:03:30.944 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 3.078 secs 11:03:30.970 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on no_buildscript class cache for build file ‘D:\gradle\test\build.gradle’ (C:\Users\me.gradle\caches\1.1\scripts\build_2adf1vrgkq47211egfrdifqclk\ProjectScript\no_buildscript). 11:03:30.983 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on buildscript class cache for build file ‘D:\gradle\test\build.gradle’ (C:\Users\me.gradle\caches\1.1\scripts\build_2adf1vrgkq47211egfrdifqclk\ProjectScript\buildscript). 11:03:31.000 [DEBUG] [org.gradle.logging.internal.DefaultLoggingConfigurer] Finished configuring with level: DEBUG, configurers: [org.gradle.logging.internal.OutputEventRenderer@79845505, org.gradle.logging.internal.logback.LogbackLoggingConfigurer@5ee9f996, org.gradle.logging.internal.JavaUtilLoggingConfigurer@53011788]

D:\gradle\test>

how can I fix that?

bye Thomas


(Luke Daley) #7

Hi Thomas,

I’ve had to remove your replies as they were too long for this forum software to deal with. It’s a known issue and we are working with the provider to get it fixed. We apologise for the inconvenience.

Can you please repost the debug log using a paste service such as http://pastie.org/ or https://gist.github.com/.


(will.not.read.this) #8

Hi Luke,

OK.

So here is the next try:

When I run greadle to convert my existing maven build following instructions in http://gradle.org/docs/current/userguide/bootstrap_plugin.html I get an error telling me that gradle does not know plugin maven2gradle:

http://pastie.org/4746020

how can I fix that?

bye Thomas


(Luke Daley) #9

You’re using Gradle 1.1. This plugin was added in 1.2.


(will.not.read.this) #10

Oh, I missed the release of 1.2 6 days ago…

bye Thomas