Created
October 19, 2014 11:31
-
-
Save lordofthejars/cc82b73c4945522a7dac to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private static JavaArchive mergeHibernate(JavaArchive javaArchive) { | |
| JavaArchive[] javaArchives = Maven.resolver().resolve("org.hibernate:hibernate-entitymanager:4.2.15.Final").withTransitivity().as(JavaArchive.class); | |
| Arrays.stream(javaArchives).forEach(javaArchive::merge); | |
| return javaArchive; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment