Skip to content

Commit

Permalink
[#1633] Fix deployment problems with Hibernate 6 integration on Wildf…
Browse files Browse the repository at this point in the history
…ly 27
  • Loading branch information
beikov committed Nov 21, 2022
1 parent 96ad2f7 commit 346b8bf
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Changes that happened in releases
* Always treat flat views for embeddable types as updates to support partial flushing
* Fix QUERY flushing issues with MappingSingular attributes
* Fix support for entity functions in DML statements
* Fix deployment problems with Hibernate 6 integration on Wildfly 27

### Backwards-incompatible changes

Expand Down
21 changes: 21 additions & 0 deletions integration/hibernate-6.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,27 @@
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<archive>
<manifestEntries>
<!-- Newer Wildfly versions don't export the commons annotations module anymore, so we need an explicit dependency -->
<Dependencies>org.hibernate.commons-annotations</Dependencies>
</manifestEntries>
</archive>
</configuration>
<executions>
<execution>
<id>default-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 346b8bf

Please sign in to comment.