Version 3 (modified by 16 years ago) ( diff ) | ,
---|
Option 1 Put the Hibernate mapping files in the same package as the entity class. This would be in geonetwork-domain-ebxml jar file.
Option 2 Put the Hibernate mapping files in config package in the project geonetwork-dao-ebxml. Maven will then put it in the geonetwork-dao-ebxml jar file.
Choice for Option 2. Initially option 1 was implemented. From the point of view of Maven this worked fine on Windows XP and Linux Ubuntu. Unfortunately Hudson triggering Maven did not package the hibernate mapping files. Option 2 works as well under Hudson.
I do not understand why option 1 was not working. The curious thing is that in the end it is always Maven, not Hudson. Because Hudson uses Maven to build the artefact. It may be due to the fact that jibx is used in geonetwork-domain-ebxml.
Status: geonetwork-dao-ebxml\src\main\resources\org\geonetwork\domain\ebxml\informationmodel\provenance\EmailAddress.hbm.xml has been put in the location according option 2. The rest still needs to be moved.
What version of Linux is used for the Hudson server?