-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 
Author Message
 Post subject: Please add download of modules for WildFly Swarm.
PostPosted: Wed May 24, 2017 10:59 pm 
Beginner
Beginner

Joined: Sun Mar 05, 2006 12:16 am
Posts: 31
Currently the modules is with resource-root and jars included.

Would be great with the one uses by WildFly Swarm uses artifact instead of resources-root.


Top
 Profile  
 
 Post subject: Re: Please add download of modules for WildFly Swarm.
PostPosted: Thu May 25, 2017 3:38 am 
Hibernate Team
Hibernate Team

Joined: Thu Sep 11, 2014 2:50 am
Posts: 1628
Location: Romania
Can you elaborate the request? I have no idea what you are talking about.


Top
 Profile  
 
 Post subject: Re: Please add download of modules for WildFly Swarm.
PostPosted: Sat May 27, 2017 5:52 am 
Beginner
Beginner

Joined: Sun Mar 05, 2006 12:16 am
Posts: 31
vlad wrote:
Can you elaborate the request? I have no idea what you are talking about.


Currently, the modules for Hibernate is for use in normal WildFly. The module.xml is like below. And also with jars.
Code:
<?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="org.hibernate" slot="5.2.10.Final">
    <resources>
        <resource-root path="hibernate-core-5.2.10.Final.jar"/>
        <resource-root path="hibernate-envers-5.2.10.Final.jar"/>
        <resource-root path="javassist-3.20.0-GA.jar"/>
        <resource-root path="byte-buddy-1.6.6.jar"/>
    </resources>

    <dependencies>
        <module name="com.fasterxml.classmate"/>
        <module name="javax.api"/>
        <module name="javax.annotation.api"/>
        <module name="javax.enterprise.api"/>
        <module name="javax.persistence.api"/>
        <module name="javax.transaction.api"/>
        <module name="javax.validation.api"/>
        <module name="javax.xml.bind.api"/>
        <module name="org.antlr"/>
        <module name="org.dom4j"/>
        <module name="org.jboss.as.jpa.spi"/>
        <module name="org.jboss.jandex"/>
        <module name="org.jboss.logging"/>
        <module name="org.jboss.vfs"/>
        <module name="org.hibernate.commons-annotations"/>
        <module name="org.hibernate.infinispan" services="import" optional="true" slot="5.2.10.Final"/>
        <module name="org.hibernate.jipijapa-hibernate5" services="import" slot="5.2.10.Final"/>
    </dependencies>
</module>


And for WildFly Swarm, it only needs the module like below. With artifact instead of resource-root
Code:
<?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="org.hibernate" slot="5.2.10.Final">
    <resources>
        <artifact name="org.hibernate:hibernate-core:5.2.10.Final"/>
        <artifact name="org.hibernate:hibernate-envers:5.2.10.Final"/>
        <artifact name="org.javassist:javassist:3.20.0-GA"/>
        <artifact name="net.bytebuddy:byte-buddy:1.6.6"/>
    </resources>

    <dependencies>
        <module name="com.fasterxml.classmate"/>
        <module name="javax.api"/>
        <module name="javax.annotation.api"/>
        <module name="javax.enterprise.api"/>
        <module name="javax.persistence.api"/>
        <module name="javax.transaction.api"/>
        <module name="javax.validation.api"/>
        <module name="javax.xml.bind.api"/>
        <module name="org.antlr"/>
        <module name="org.dom4j"/>
        <module name="org.jboss.as.jpa.spi"/>
        <module name="org.jboss.jandex"/>
        <module name="org.jboss.logging"/>
        <module name="org.jboss.vfs"/>
        <module name="org.hibernate.commons-annotations"/>
        <module name="org.hibernate.infinispan" services="import" optional="true" slot="5.2.10.Final"/>
        <module name="org.hibernate.jipijapa-hibernate5" services="import" slot="5.2.10.Final"/>
    </dependencies>
</module>



Top
 Profile  
 
 Post subject: Re: Please add download of modules for WildFly Swarm.
PostPosted: Sat May 27, 2017 1:07 pm 
Hibernate Team
Hibernate Team

Joined: Thu Sep 11, 2014 2:50 am
Posts: 1628
Location: Romania
Are you talking about hibernate-orm-modules on the Hibernate repository, or about the Wildfly distribution and their choice of Hibernate?


Top
 Profile  
 
 Post subject: Re: Please add download of modules for WildFly Swarm.
PostPosted: Sun May 28, 2017 12:32 am 
Beginner
Beginner

Joined: Sun Mar 05, 2006 12:16 am
Posts: 31
vlad wrote:
Are you talking about hibernate-orm-modules on the Hibernate repository, or about the Wildfly distribution and their choice of Hibernate?


Yes. I'm talking about hibernate-orm-modules. Currently, it's the one with resource-root and jars.


Top
 Profile  
 
 Post subject: Re: Please add download of modules for WildFly Swarm.
PostPosted: Sun May 28, 2017 12:41 am 
Beginner
Beginner

Joined: Sun Mar 05, 2006 12:16 am
Posts: 31
And also, why does the modules use two different way to pack?
The hibernate-orm-modules, hibernate-ogm-modules, hibernate-search-modules are using maven-assembly-plugin to pack.
The hiberante-validator-modules is using patch-gen-maven-plugin to generate a patch.

It would be great if all the modules provide 3 type of modules pack, one for normal hibernate with resource-root and jars using maven-assembly-plugin, one for WildFly Swarm with artifact only using maven-assembly-plugin and one for WildFly patch using patch-gen-maven-plugin.


Top
 Profile  
 
 Post subject: Re: Please add download of modules for WildFly Swarm.
PostPosted: Sun May 28, 2017 2:44 am 
Hibernate Team
Hibernate Team

Joined: Thu Sep 11, 2014 2:50 am
Posts: 1628
Location: Romania
You should open a Jira issue for this.


Top
 Profile  
 
 Post subject: Re: Please add download of modules for WildFly Swarm.
PostPosted: Sat Jun 03, 2017 9:54 am 
Beginner
Beginner

Joined: Sun Mar 05, 2006 12:16 am
Posts: 31
vlad wrote:
You should open a Jira issue for this.


https://hibernate.atlassian.net/browse/HHH-11777
I created an issue.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 8 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.