It is eclipse issue. I usually just ignore that errors in .target editor and go directly to eclipse preferences and configure target platform. If it has problems in preferences use "Reload" button. If it fails, push "Edit" and wait until target platform entries get resolved. If you really want to contribute to jboss-hibernate tools, I would suggest you to do for next eclipse Mars release development stream. Latest Mars target platform is available from 4.50.x branch.
Denis, thank you for your answer and your advice.
By now, I've been able to successfully work with 4.42.x version. For some reason it hasn't got such errors. However I'' checkout 4.50.x as you advise.
Denis, practically everything is great with 4.50.x branch. All dependencies from MANIFEST files were resolved, except two:
I've even launch the Application, but it has lots of FrameworkEvent ERRORs connected with these plugins.
unfortunately it is expected behavior.
Your first option is just remove those two bundles from eclipse workspace. They contain form based editor for mapping (.hbm.xml) and other hibernate related .xml files. But do not remove them from local filesystem if you want maven build to work.
Second option if to fork http://github.com/jbosstools/jbosstools-base.git, clone it to local filesystem and import all bundles form jbosstools-base/foundation/plugins and jbosstools-base/common/plugins into eclipse workspace as well..
It is better to use latest the greatest for now, because we're probably not going to release any updates for 4.2.x stream.
For hibernate it means using Eclipse Mars M6 as dev environment and JBoss Tools sources listed below:
1. Target platform definition from 4.50.x branch
2. JBoss Tools Base module from master branch https://github.com/jbosstools/jbosstools-base/tree/master
3. JBoss Tools Hibernate module from master branch https://github.com/jbosstools/jbosstools-hibernate/tree/master
Denis, thanks a lot. I've got rid of the errors.
If it is a well-known common problem, maybe it's better to document it somewhere?