hi Konstantin,
it seems i have been mistaken when i told you that everything was fixed.
instead, even when i added the dependency to the plugin, still i am getting
the error....

here's my new pom.xml

*************** pom.xml *******************
   <plugins>
       <plugin>
           <groupId>xdoclet</groupId>
           <artifactId>maven2-xdoclet2-plugin</artifactId>
           <version>2.0.5</version>
           <executions>
               <execution>
                   <id>xdoclet</id>
                   <phase>process-classes</phase>
                   <goals>
                       <goal>xdoclet</goal>
                   </goals>
               </execution>
           </executions>
           <dependencies>
               <dependency>
                   <groupId>xdoclet-plugins</groupId>
                   <artifactId>xdoclet-plugin-hibernate</artifactId>
                   <version>1.0.4-SNAPSHOT</version>
               </dependency>
               <dependency>
                   <groupId>qdox</groupId>
                   <artifactId>qdox</artifactId>
                   <version>1.6.1</version>
               </dependency>
           </dependencies>
           <configuration>
               <configs>
                   <config>
                       <components>
                           <component>
                               <classname>
org.xdoclet.plugin.hibernate.HibernateMappingPlugin</classname>
                                    <params>
                                       <version>3.0</version>
                                       <destdir>${
project.build.outputDirectory}</destdir>
                                    </params>
                           </component>
                       </components>
                   </config>
               </configs>
           </configuration>
        </plugin>

and here'# smy sample java enum

****************** java enum *******************
package bus;

/**
* Test class for Enum
* @author marco
*
*/
public enum Planet {
   MERCURY("test1"),
   PLUTO("TEST2"),
   EARTH("TEST3");

   private String prefix;
   Planet(String prefix){
       this.prefix = prefix;
   }

   public String prefix(){ return prefix; }

   public String toString(){
       return prefix;
   }
}


any more hints?
thanx and sorry if i keep on bothering you ....

regards
marco
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
xdoclet-plugins-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to