Details
-
Wish
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.0
-
None
-
None
Description
Now if we build devtools with maven 3.0.3, a compilation error will throw in module "plugins/org.apache.geronimo.runtime.common" like this:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project org.apache.geronimo.runtime.common: Compilation failure: Compilation failure:
[ERROR] /home/forrestxm/src/asf/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/src/main/java/org/apache/geronimo/runtime/common/log/Logger.java:[21,31] package org.eclipse.core.runtime does not exist
[ERROR]
[ERROR] /home/forrestxm/src/asf/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/src/main/java/org/apache/geronimo/runtime/common/log/Logger.java:[22,31] package org.eclipse.core.runtime does not exist
[ERROR]
[ERROR] /home/forrestxm/src/asf/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/src/main/java/org/apache/geronimo/runtime/common/log/Logger.java:[23,31] package org.eclipse.core.runtime does not exist
[ERROR]
[ERROR] /home/forrestxm/src/asf/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/src/main/java/org/apache/geronimo/runtime/common/log/Logger.java:[24,25] package org.osgi.framework does not exist
[ERROR]
[ERROR] /home/forrestxm/src/asf/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/src/main/java/org/apache/geronimo/runtime/common/log/Logger.java:[26,28] cannot find symbol
[ERROR] symbol: class Plugin
[ERROR] public class Logger extends Plugin{
[ERROR]
[ERROR] /home/forrestxm/src/asf/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/src/main/java/org/apache/geronimo/runtime/common/log/Logger.java:[27,16] cannot find symbol
[ERROR] symbol : class ILog
[ERROR] location: class org.apache.geronimo.runtime.common.log.Logger
[ERROR]
[ERROR] /home/forrestxm/src/asf/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/src/main/java/org/apache/geronimo/runtime/common/log/Logger.java:[44,19] cannot find symbol
[ERROR] symbol : class BundleContext
[ERROR] location: class org.apache.geronimo.runtime.common.log.Logger
[ERROR]
[ERROR] /home/forrestxm/src/asf/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/src/main/java/org/apache/geronimo/runtime/common/log/Logger.java:[52,18] cannot find symbol
[ERROR] symbol : class BundleContext
[ERROR] location: class org.apache.geronimo.runtime.common.log.Logger
[ERROR]
[ERROR] /home/forrestxm/src/asf/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/src/main/java/org/apache/geronimo/runtime/common/log/Logger.java:[33,9] cannot find symbol
[ERROR] symbol : variable super
[ERROR] location: class org.apache.geronimo.runtime.common.log.Logger
[ERROR]
[ERROR] /home/forrestxm/src/asf/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/src/main/java/org/apache/geronimo/runtime/common/log/Logger.java:[30,1] method does not override or implement a method from a supertype
[ERROR]
[ERROR] /home/forrestxm/src/asf/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/src/main/java/org/apache/geronimo/runtime/common/log/Logger.java:[39,2] cannot find symbol
[ERROR] symbol : variable super
[ERROR] location: class org.apache.geronimo.runtime.common.log.Logger
[ERROR]
[ERROR] /home/forrestxm/src/asf/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/src/main/java/org/apache/geronimo/runtime/common/log/Logger.java:[36,1] method does not override or implement a method from a supertype
[ERROR]
[ERROR] /home/forrestxm/src/asf/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/src/main/java/org/apache/geronimo/runtime/common/log/Logger.java:[46,2] cannot find symbol
[ERROR] symbol : variable super
[ERROR] location: class org.apache.geronimo.runtime.common.log.Logger
[ERROR]
[ERROR] /home/forrestxm/src/asf/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/src/main/java/org/apache/geronimo/runtime/common/log/Logger.java:[47,28] cannot find symbol
[ERROR] symbol : method getLog()
[ERROR] location: class org.apache.geronimo.runtime.common.log.Logger
[ERROR]
[ERROR] /home/forrestxm/src/asf/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/src/main/java/org/apache/geronimo/runtime/common/log/Logger.java:[43,1] method does not override or implement a method from a supertype
[ERROR]
[ERROR] /home/forrestxm/src/asf/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/src/main/java/org/apache/geronimo/runtime/common/log/Logger.java:[54,2] cannot find symbol
[ERROR] symbol : variable super
[ERROR] location: class org.apache.geronimo.runtime.common.log.Logger
[ERROR]
[ERROR] /home/forrestxm/src/asf/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/src/main/java/org/apache/geronimo/runtime/common/log/Logger.java:[51,1] method does not override or implement a method from a supertype
[ERROR]
[ERROR] /home/forrestxm/src/asf/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/src/main/java/org/apache/geronimo/runtime/common/log/Logger.java:[63,28] cannot find symbol
[ERROR] symbol : method getLog()
[ERROR] location: class org.apache.geronimo.runtime.common.log.Logger
[ERROR]
[ERROR] /home/forrestxm/src/asf/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.runtime.common/src/main/java/org/apache/geronimo/runtime/common/log/Logger.java:[64,14] cannot find symbol
[ERROR] symbol : class Status
[ERROR] location: class org.apache.geronimo.runtime.common.log.Logger
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project org.apache.geronimo.runtime.common: Compilation failure
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failure
at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
... 19 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :org.apache.geronimo.runtime.common