Having upgraded to WildFly 14.0.0.Final using HomeBrew on macOS High Sierra I am upgrading my Hibernate ORM for MongoDB, OGM.
I have downloaded the required feature pack: hibernate-search-jbossmodules-orm-5.10.4.Final.zip
Put the: wildfly-feature-pack.xml in my project root.
<?xml version='1.0' encoding='UTF-8'?>
<feature-pack xmlns="urn:wildfly:feature-pack:1.1">
<dependencies>
<artifact name="org.hibernate:hibernate-search-jbossmodules-engine"/>
<artifact name="org.hibernate:hibernate-orm-jbossmodules"/>
</dependencies>
<artifact-versions>
<artifact groupId="org.hibernate" artifactId="hibernate-orm-jbossmodules" version="5.3.6.Final" extension="zip"/>
<artifact groupId="org.hibernate" artifactId="hibernate-search-jbossmodules-engine" version="5.10.4.Final" extension="zip"/>
<artifact groupId="org.hibernate" artifactId="hibernate-search-jsr352-core" version="5.10.4.Final"/>
<artifact groupId="org.hibernate" artifactId="hibernate-search-jsr352-jberet" version="5.10.4.Final"/>
<artifact groupId="org.hibernate" artifactId="hibernate-search-orm" version="5.10.4.Final"/>
<artifact groupId="org.wildfly" artifactId="wildfly-feature-pack" version="12.0.0.Final" extension="zip"/>
</artifact-versions>
</feature-pack>
Changed:
<artifact groupId="org.wildfly" artifactId="wildfly-feature-pack" version="12.0.0.Final" extension="zip"/>
to:
<artifact groupId="org.wildfly" artifactId="wildfly-feature-pack" version="14.0.0.Final" extension="zip"/>
When I run my Gradle build: gradle provision
I get:
MacBook-Pro:NOTiFYwell NOTiFY$ gradle provision
> Task :provision FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':provision'.
> Invalid XML in configuration file /Users/NOTiFY/IdeaProjects/NOTiFYwell/wildfly-feature-pack.xml : ParseError at [row,col]:[3,52]
Message: Unexpected element '{urn:wildfly:feature-pack:1.1}feature-pack'
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 0s
Any ideas?