Skip to content

Commit

Permalink
OGM-803 Change usage of modules as included within WildFly 9
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanne committed May 11, 2015
1 parent 9e3d549 commit 876d07a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 2 additions & 0 deletions documentation/manual/pom.xml
Expand Up @@ -91,6 +91,8 @@
<hibernate-orm-version>${hibernateVersion}</hibernate-orm-version>
<hibernate-search-version>${hibernateSearchVersion}</hibernate-search-version>
<hibernate-search-module-slot>${hibernate-search.module.slot}</hibernate-search-module-slot>
<hibernate-search-major-minor-version>${hibernate-search-major-minor-version}</hibernate-search-major-minor-version>
<hibernate-search-full-module-id>${hibernate-search-full-module-id}</hibernate-search-full-module-id>
<infinispan-version>${infinispanVersion}</infinispan-version>
<jboss-jta-version>${jbossjtaVersion}</jboss-jta-version>
<mongodb-version>${mongodbVersion}</mongodb-version>
Expand Down
Expand Up @@ -384,7 +384,7 @@ https://docs.jboss.org/author/display/WFLY8/Class+Loading+in+WildFly[WildFly doc

The Hibernate OGM module does not include the Hibernate Search module, so this will need to be downloaded separately.

The Hibernate Search documentation has a similar section describing the details: http://docs.jboss.org/hibernate/search/{hibernate-search-module-slot}/reference/en-US/html/search-configuration.html#_update_and_activate_latest_hibernate_search_version_in_wildfly[Update and activate latest Hibernate Search version in WildFly].
The Hibernate Search documentation has a similar section describing the details: http://docs.jboss.org/hibernate/search/{hibernate-search-major-minor-version}/reference/en-US/html/search-configuration.html#_update_and_activate_latest_hibernate_search_version_in_wildfly[Update and activate latest Hibernate Search version in WildFly].

If your application needs to use both Hibernate OGM and Hibernate Search, your MANIFEST.MF will look like:

Expand All @@ -393,6 +393,6 @@ If your application needs to use both Hibernate OGM and Hibernate Search, your M
[source]
[subs="verbatim,attributes"]
----
org.hibernate:ogm services, org.hibernate.ogm.couchdb services, org.hibernate.search.orm:{hibernate-search-module-slot} services
org.hibernate:ogm services, org.hibernate.ogm.couchdb services, {hibernate-search-full-module-id} services
----
====
2 changes: 1 addition & 1 deletion modules/wildfly/pom.xml
Expand Up @@ -21,7 +21,7 @@

<properties>
<hibernate.hql.module.slot>${hibernateParserVersion}</hibernate.hql.module.slot>
<infinispan.module.slot>ispn-7.2</infinispan.module.slot>
<infinispan.module.slot>main</infinispan.module.slot>
</properties>

<dependencies>
Expand Down
6 changes: 5 additions & 1 deletion pom.xml
Expand Up @@ -62,7 +62,11 @@
<!-- Since we require users to import a specific Hibernate Search module explicitly,
all integration tests need to know which version that shall be.
So the property needs to be defined in the global parent pom -->
<hibernate-search.module.slot>5.2</hibernate-search.module.slot>
<hibernate-search.module.slot>main</hibernate-search.module.slot>
<!-- Following might not match the slot, for example when 'main' is being used. Needed in docs URL rendering. -->
<hibernate-search-major-minor-version>5.2</hibernate-search-major-minor-version>
<!-- For documentation, to omit the slot when not needed: -->
<hibernate-search-full-module-id>org.hibernate.search.orm</hibernate-search-full-module-id>
</properties>

<!-- Only for management of test-scoped dependencies; All other dependencies (which are exposed to users) are
Expand Down

0 comments on commit 876d07a

Please sign in to comment.