HHH-12321 Separate the Wildfly module for ByteByddy to make it private API
This commit is contained in:
parent
8f670c5f81
commit
fb0957fa12
|
@ -31,6 +31,7 @@ ext {
|
|||
|
||||
// "10" for WildFly 10.x, "11" for 11.x, etc
|
||||
wildFlyMajorVersion = project.wildflyVersion.split( '\\.' )[0]
|
||||
bytebuddyVersion = project.byteBuddyVersion
|
||||
artifactClassifier = "wildfly-${wildFlyMajorVersion}-dist"
|
||||
wildFlyInstallDir = "$rootProject.buildDir/wildfly"
|
||||
fpackStagingDir = file( "target/featurepack" ) //Target build directory for the Feature Pack
|
||||
|
@ -70,6 +71,7 @@ featurepack {
|
|||
variables['slot'] = rootProject.hibernateVersion
|
||||
// Just the minor ORM version, e.g. "5.3"; Is used as an alias for the exact version
|
||||
variables['minorSlot'] = rootProject.hibernateMajorMinorVersion
|
||||
variables['bytebuddySlot'] = bytebuddyVersion
|
||||
//Dependency on another Feature Pack:
|
||||
dependency "org.wildfly:wildfly-feature-pack:${project.wildflyVersion}" // It will assume it is "zip" by default
|
||||
}
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
~ Hibernate, Relational Persistence for Idiomatic Java
|
||||
~
|
||||
~ License: GNU Lesser General Public License (LGPL), version 2.1 or later.
|
||||
~ See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
|
||||
-->
|
||||
<module xmlns="urn:jboss:module:1.3" name="net.bytebuddy" slot="${bytebuddySlot}">
|
||||
<resources>
|
||||
<artifact name="${net.bytebuddy:byte-buddy}"/>
|
||||
</resources>
|
||||
</module>
|
|
@ -9,7 +9,6 @@
|
|||
<resources>
|
||||
<artifact name="${org.hibernate:hibernate-core}"/>
|
||||
<artifact name="${org.hibernate:hibernate-envers}"/>
|
||||
<artifact name="${net.bytebuddy:byte-buddy}"/>
|
||||
</resources>
|
||||
|
||||
<dependencies>
|
||||
|
@ -30,5 +29,6 @@
|
|||
<module name="org.javassist" export="true"/>
|
||||
<module name="org.hibernate.commons-annotations"/>
|
||||
<module name="org.hibernate.orm.jipijapa-hibernate5" services="import" slot="${slot}"/>
|
||||
<module name="net.bytebuddy" slot="${bytebuddySlot}" />
|
||||
</dependencies>
|
||||
</module>
|
||||
|
|
Loading…
Reference in New Issue