When selecting the compile goal, the console says:
...
[INFO] resources:resources
[INFO] Using default encoding to copy filtered resources.
[INFO] compiler:compile
Compiling 2 source files to D:\my\target\directory
[ERROR] mojo-execute : compiler:compile
Diagnosis: Compilation failure
FATAL ERROR: Error executing Maven for a project
[ERROR] project-execute : my.module.mymodule:jar:1.0-SNAPSHOT (
task-segment: [compile] )
Diagnosis: Compilation failure
FATAL ERROR: Error executing Maven for a project
org.apache.maven.BuildFailureException: Compilation failure
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:555)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(
DefaultLifecycleExecutor.java:475)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:454)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(
DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:273)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:140)
at org.apache.maven.embedder.MavenEmbedder.execute(
MavenEmbedder.java:441)
at org.apache.maven.embedder.MavenEmbedder.execute(
MavenEmbedder.java:382)
at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:68)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation
failure
at org.apache.maven.plugin.AbstractCompilerMojo.execute(
AbstractCompilerMojo.java:505)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:111
)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:412)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:534)
... 8 more
thanks in advance
Brigitte
"Marco Mistroni" <[EMAIL PROTECTED]> schrieb am 01.12.2006 13:53:20:
> Hello..
> works fine for me... what's the error you are receiving?
>
> regards
> marco
>
> On 12/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
> >
> > Is there anyone there in the universer who is (successfully) using
eclipse
> > 3.x and the m2eclipse plugin even for later goals like package,
install,
> > .... ???
> >
> > I tryed to use it in the following way: select the pom.xml in the
package
> > explorer then in context menu "run as ...", then "Maven build..." .
Early
> > goals work well, like generate sources or process resources. From
> > "compile"
> > on it doesn't work any more. But: On command line it works fine.
> >
> > cheers
> > Brigitte
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]