Hibernate3-maven-plugin

Hi all, i 've used :

org.codehaus.mojo
hibernate3-maven-plugin
2.2

to create hbm.xml for mapping hr (oracle database) and i get the following files:

       > <value>/hibernate/it/hr/model/Pippo.hbm.xml</value>
       <value>/hibernate/it/hr/model/Countries.hbm.xml</value>
       <value>/hibernate/it/hr/model/Departments.hbm.xml</value>
       <value>/hibernate/it/hr/model/EmpDetailsView.hbm.xml</value>
       <value>/hibernate/it/hr/model/Employees.hbm.xml</value>
        <value>/hibernate/it/hr/model/JobHistory.hbm.xml</value> 
       <value>/hibernate/it/hr/model/Jobs.hbm.xml</value>
       <value>/hibernate/it/hr/model/Locations.hbm.xml</value>
       <value>/hibernate/it/hr/model/Regions.hbm.xml</value>

in the file JobHistory.hbm.xml there is:

<composite-id name="id" class="it.hr.model.JobHistoryId">
           <key-property name="employeeId" type="int">
               <column name="EMPLOYEE_ID" precision="6" scale="0" />
           </key-property>
           <key-property name="startDate" type="date">
               <column name="START_DATE" length="7" />
           </key-property>
</composite-id>

automaticaly created by the plugin;
but when i run the application :

Exception in thread “main” org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sessionFactory’ defined in class path resource [database/Hibernate.xml]: Invocation of init method failed; nested exception is org.hibernate.MappingException: component class not found: it.hr.model.JobHistoryId

Is this a bug in the plugin ? it is necessary to indicate some parameter when calling mvn hibernate3:hbm2hbmxml?

thanks
Francesco