TIMETRACKER: mvn install failed because of: Embedded error: org/apache/log4j/Logger

Description

mvn -e install

[INFO] [andromda:run {execution: default}]
[INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------ [INFO] Error running AndroMDA

Embedded error: org/apache/log4j/Logger
[INFO] ------------------------------------------------------------------------ [INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error running AndroMDA
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:583)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:499)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:478)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:330)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:291)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error running AndroMD
A
at org.andromda.maven.plugin.AbstractAndroMDAMojo.execute(AbstractAndroM
DAMojo.java:116)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:451)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:558)
... 16 more
Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Logger
at org.andromda.core.common.AndroMDALogger.<clinit>(AndroMDALogger.java:
29)
at org.andromda.maven.plugin.AbstractAndroMDAMojo.execute(AbstractAndroM
DAMojo.java:92)
... 18 more
[INFO] ------------------------------------------------------------------------ [INFO] Total time: 11 seconds
[INFO] Finished at: Thu Aug 20 11:24:12 CEST 2009
[INFO] Final Memory: 11M/22M
[INFO] ------------------------------------------------------------------------

Environment

TimeTracker: 1.0-SNAPSHOT
Maven version: 2.0.9
Java version: 1.5.0_16
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"

Assignee

Former user

Reporter

Joe Rotten

Labels

None

Fix versions

Affects versions

Priority

Major
Configure