[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-1120) Create and provide a JBoss AS 7 module to use Hibernate Search in applications

Randall Hauch (JIRA) noreply at atlassian.com
Wed May 9 14:27:11 EDT 2012


    [ https://hibernate.onjira.com/browse/HSEARCH-1120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46582#comment-46582 ] 

Randall Hauch commented on HSEARCH-1120:
----------------------------------------

ModeShape creates a '{{org.hibernate.search-engine}}' module that is intended to mirror the '{{org.hibernate:hibernate-search-engine}}' Maven artifact. ModeShape actually uses the "{{4.1}}" slot of the module, so that it does not interfere with the Hibernate Search's official modules that will likely use the "{{main}}" slot. 

The [module.xml|https://github.com/ModeShape/modeshape/blob/master/deploy/jbossas/kit/jboss-as7/modules/org/hibernate/search-engine/4.1/module.xml] depends on:

* AS7.1's existing 'org.hibernate' module for the {{hibernate-commons-annotations}} JAR,
* a new '{{org.apache.lucene}}' module also created by ModeShape, with the few JARs that ModeShape currently requires; note the '{{org.apache.lucene}}'
* other AS7.1 existing modules for logging, JTA, JGroups

ModeShape uses a Maven assembly to build the ZIP file that can be unzipped into an AS7 installation, and several other modules are defined (in addition to the '{{org.hibernate.search-engine}}' module); see the [assembly descriptor|https://github.com/ModeShape/modeshape/blob/master/deploy/jbossas/assembly/kit-as7.xml] for details, and in particular [this section|https://github.com/ModeShape/modeshape/blob/master/deploy/jbossas/assembly/kit-as7.xml#L226] for the Hibernate Search engine module. The only annoying part is having to use variables for the transitive dependencies.

> Create and provide a JBoss AS 7 module to use Hibernate Search in applications
> ------------------------------------------------------------------------------
>
>                 Key: HSEARCH-1120
>                 URL: https://hibernate.onjira.com/browse/HSEARCH-1120
>             Project: Hibernate Search
>          Issue Type: New Feature
>            Reporter: Emmanuel Bernard
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list