[ 
http://issues.apache.org/jira/browse/CACTUS-214?page=comments#action_66622 ]
     
Felipe Leme commented on CACTUS-214:
------------------------------------

Ok, I got the solution: adding a <ant:pathelement 
location="${plugin.getDependencyPath('cargo:cargo')}"/> tag to Cactus's 
classpath.

So, my question now is: can I go ahead and add this Cargo dependency? Should 
the plugin depend on Cargo? Vincent/Magnus, any comment?

-- Felipe


> Add Cargo dependencies
> ----------------------
>
>          Key: CACTUS-214
>          URL: http://issues.apache.org/jira/browse/CACTUS-214
>      Project: Cactus
>         Type: Bug
>   Components: Maven Integration
>     Versions: 1.8
>     Reporter: Felipe Leme
>     Priority: Blocker
>      Fix For: 1.8

>
> When I tried to use the current Cactus plugin from CVS, I got the following 
> error (after running maven -X):
> java.lang.NoClassDefFoundError: org/codehaus/cargo/module/webapp/WarArchive
>         at java.lang.Class.getDeclaredConstructors0(Native Method)
>         at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)
>         at java.lang.Class.getDeclaredConstructors(Class.java:1177)
>         at 
> org.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.ja
> va:484)
>         at 
> org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)
>         at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:208)
> I tried to fix it adding Cargo's jar:
>     <dependency>
>       <groupId>cargo</groupId>
>       <artifactId>cargo</artifactId>
>       <version>0.5</version>
>     </dependency>
> But the exception persisted; I guess it's missing some Cargo dependency, but 
> I don't know which one (and I haven't had the time to look at the 
> WarArchive.java to figure it out).
> -- Felipe

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to