Created
October 19, 2014 11:27
-
-
Save lordofthejars/a1f6e580ebc898b748fa 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); | |
| for(JavaArchive hibernateDep: javaArchives) { | |
| javaArchive.merge(hibernateDep); | |
| } | |
| return javaArchive; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment