Sound like you encounter http://jira.codehaus.org/browse/MDEP-6
Could you please patch it to your local install and see if it works? -D On 6/13/06, Gautham Pamu <[EMAIL PROTECTED]> wrote:
Hi Dan, I downloaded the maven-dependency plugin and tried to use it, it giving following error. I got the same error with mvn 2.0.3 and 2.0.4 version. Does this plugin works with maven 2.0.3/4 versions ? What is the workaround for this plugin Thanks Gautham Pamu [INFO] [dependency:copy-dependencies {execution: copy-dependencies}] [debug] Including Transitive Dependencies. [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] org.apache.maven.project.artifact.ActiveProjectArtifactincompatible with org.apache.maven.artifact.DefaultArtifact [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.ClassCastException: org.apache.maven.project.artifact.ActiveProjectArt ifact incompatible with org.apache.maven.artifact.DefaultArtifact at org.apache.maven.plugin.dependency.CopyDependenciesMojo.execute (CopyD ependenciesMojo.java:64) at org.apache.maven.plugin.DefaultPluginManager.executeMojo (DefaultPlugi nManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (Defa ultLifecycleExecutor.java:534) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle ( DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal (Defau ltLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures ( DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts( DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute (DefaultLi fecycleExecutor.java:140) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl. java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAcces sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) 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: 13 seconds [INFO] Finished at: Tue Jun 13 10:48:17 CDT 2006 [INFO] Final Memory: 6M/20M [INFO] ------------------------------------------------------------------------ On 6/5/06, dan tran <[EMAIL PROTECTED]> wrote: > > I would like to suggest that we stop using depend-maven-plugin and move > forward with maven-dependency-plugin at Apache > > > http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-dependency-plugin > > > We definitely dont want to have concurrent development of > dependency-maven-plugin ( at mojo) and maven-dependency-plugin. > > I have committed bunch of enhancements only at apache since the > migragration > of mojo to apache > > -Dan > > > > On 6/5/06, Eugeny N Dzhurinsky <[EMAIL PROTECTED]> wrote: > > > > There was an issue in the plugin, thjanks to <kenney> from > > [EMAIL PROTECTED] > > > > svn co > https://svn.codehaus.org/mojo/trunk/mojo/dependency-maven-pluginand > > then `mvn install' did the trick. > > -- > > Eugene N Dzhurinsky > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > -- -Gautham Pamu