I am new to maven and I am currently creating a plugin for exporting 
data from the database using Maven 1.x. To acheive this I use octopus. I 
have included the dependencies in the project.xml. I am able to load 
the classes of the octopus Jar in the project base directory, But when I 
go out of the project base directory, I am not able to load the classes 
I get the exception 
 [java] [ERROR] Could not find org.webdocwf.util.loader.Loader. Make 
sure you have it in your classpath.
  I have included the following dependency in the project.xml of the 
plugin project. 
    <dependency>
      <groupId>octopus</groupId>
      <artifactId>octopus</artifactId>
      <version>3.0.1</version>
      <url/>
 <properties>
   <classloader>root</classloader> 
   </properties>
    </dependency>
  I have the following in the plugin.jelly 
   <ant:java classname="org.webdocwf.util.loader.Loader">
      <classpath refid="maven.dependency.classpath"/>
  
I would assume the plugin should work in any directory and not only in 
the project base directory. Can anyone help me to figure out the 
problem
  
Thanks,
Devi


                
---------------------------------
Yahoo! Photos
 Ring in the New Year with Photo Calendars. Add photos, events, holidays, 
whatever.

Reply via email to