HI, 

I could't able to create proper repository and define pom.xml, settings.xml.

So please let me know how to create sample project management using
maven2.x.

So please send proper documentation.

I am getting the following error while executing this command : mvn clean
install


Thanks in advance.
Thanks
Ravinder

-----Original Message-----
From: Steven_maven [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 18, 2008 6:45 PM
To: [EMAIL PROTECTED]
Subject: Fatal Error on pluggin clean


I try to realize a mvn clean on my projetcs and i get this error message :
I have realy no idea what the cause could be ?

Could you please help me giving some idea ?

Thx a lot for your help


[FATAL ERROR] org.apache.maven.plugin.clean.CleanMojo#execute() caused a
linkage error (java.lang.NoClassDefFoundError) and may be out-of-date. Check
the realms:
[FATAL ERROR] Plugin realm =
app0.child-container[org.apache.maven.plugins:maven-clean-plugin]
urls[0] =
file:/home/XXX/.m2/repository/org/apache/maven/plugins/maven-clean-plugin/2.
2/maven-clean-plugin-2.2.jar
urls[1] =
file:/home/XXX/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-ut
ils-1.1.jar
urls[2] =
file:/home/XXX/.m2/repository/org/apache/maven/shared/file-management/1.2/fi
le-management-1.2.jar
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/devel/maven/current/lib/maven-2.0.9-uber.jar
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] org/apache/maven/shared/io/logging/MessageSink
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError:
org/apache/maven/shared/io/logging/MessageSink
        at
org.apache.maven.plugin.clean.CleanMojo.execute(CleanMojo.java:171)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManage
r.java:451)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife
cycleExecutor.java:558)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:499)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifec
ycleExecutor.java:478)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFail
ures(DefaultLifecycleExecutor.java:330)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Defa
ultLifecycleExecutor.java:291)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle
Executor.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(DelegatingMethodAccessorImpl
.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)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Wed Jun 18 12:37:23 CEST 2008
[INFO] Final Memory: 6M/68M
[INFO]
------------------------------------------------------------------------

-- 
View this message in context:
http://www.nabble.com/Fatal-Error-on-pluggin-clean-tp17982413p17982413.html
Sent from the Maven - Issues mailing list archive at Nabble.com.


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to