[
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-82?page...
]
Kris Beaumont commented on HSEARCH-82:
--------------------------------------
I don't know if it's better to create a seperate issue for this, so I just add it
here and leave it up to others to decide.
I have a multi module Maven build and we're going to add hibernate search to it.
One of my modules is the model which only depends on hibernate annotations.
But now I added hibernate search and it also depends on hibernate, lucene, ..
I would prefer only to depend on the hibernate annotations (compile time) and let my
object module require lucene and hibernate search itself.
After all, if I want to use my model without hibernate search, that's perfectly
possible because the annotations aren't required at runtime, just ignored if they are
not there.
I know a better solution would be to have XML mapping files but we find those tedious to
maintain and hibernate search cannot be configured with mappig files so there we need the
annotations.
So would it be possible for the build to spit out 2 jars:
hibernate-search-annotations.jar
hibernate-search.jar (with the annotations as a dependency ...together with Lucene,
Hibernate, ..)
Migrate from ant to maven2
---------------------------
Key: HSEARCH-82
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-82
Project: Hibernate Search
Issue Type: Task
Reporter: Hardy Ferentschik
Assignee: Hardy Ferentschik
Switch from ant to maven2 as build tool.
Initally just try to build HSearch with maven. Once it works we can see if we can extract
a common HibernateExt parent pom.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira