Juan Hernandez has uploaded a new change for review.

Change subject: core: Add JBoss module for bll
......................................................................

core: Add JBoss module for bll

This patch adds a JBoss module for the bll. This module is not yet used,
but it is required by a later change that moves all the EJBs to a single
deployment.

Change-Id: Idb844cd84cad3d15e7a684649bf7159fa7c22788
Signed-off-by: Juan Hernandez <[email protected]>
---
M backend/manager/modules/bll/pom.xml
A 
backend/manager/modules/bll/src/main/modules/org/ovirt/engine/core/bll/main/module.xml
M ear/pom.xml
M packaging/fedora/spec/ovirt-engine.spec.in
4 files changed, 42 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/16/13716/1

diff --git a/backend/manager/modules/bll/pom.xml 
b/backend/manager/modules/bll/pom.xml
index f21118d..ca34f9e 100644
--- a/backend/manager/modules/bll/pom.xml
+++ b/backend/manager/modules/bll/pom.xml
@@ -194,6 +194,13 @@
             </archive>
           </configuration>
         </plugin>
+
+      <!-- Create the JBoss module: -->
+      <plugin>
+        <groupId>org.ovirt.engine</groupId>
+        <artifactId>jboss-modules-maven-plugin</artifactId>
+      </plugin>
+
     </plugins>
   </build>
 </project>
diff --git 
a/backend/manager/modules/bll/src/main/modules/org/ovirt/engine/core/bll/main/module.xml
 
b/backend/manager/modules/bll/src/main/modules/org/ovirt/engine/core/bll/main/module.xml
new file mode 100644
index 0000000..780c691
--- /dev/null
+++ 
b/backend/manager/modules/bll/src/main/modules/org/ovirt/engine/core/bll/main/module.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<module xmlns="urn:jboss:module:1.0" name="org.ovirt.engine.core.bll">
+
+  <resources>
+    <resource-root path="bll.jar"/>
+    <resource-root path="bll-jandex.jar"/>
+  </resources>
+
+  <dependencies>
+    <module name="javax.api"/>
+    <module name="javax.ejb.api"/>
+    <module name="javax.interceptor.api"/>
+    <module name="javax.validation.api"/>
+    <module name="org.apache.commons.lang"/>
+    <module name="org.ovirt.engine.core.common"/>
+    <module name="org.ovirt.engine.core.compat"/>
+    <module name="org.ovirt.engine.core.dal"/>
+    <module name="org.ovirt.engine.core.dependencies"/>
+    <module name="org.ovirt.engine.core.scheduler"/>
+    <module name="org.ovirt.engine.core.searchbackend"/>
+    <module name="org.ovirt.engine.core.utils"/>
+    <module name="org.ovirt.engine.core.vdsbroker"/>
+    <module name="sun.jdk"/>
+  </dependencies>
+
+</module>
diff --git a/ear/pom.xml b/ear/pom.xml
index c580099..9950d3f 100644
--- a/ear/pom.xml
+++ b/ear/pom.xml
@@ -270,6 +270,13 @@
                   <artifactItems>
                     <artifactItem>
                       <groupId>org.ovirt.engine.core</groupId>
+                      <artifactId>bll</artifactId>
+                      <version>${engine.version}</version>
+                      <classifier>modules</classifier>
+                      <type>zip</type>
+                    </artifactItem>
+                    <artifactItem>
+                      <groupId>org.ovirt.engine.core</groupId>
                       <artifactId>dependencies</artifactId>
                       <version>${engine.version}</version>
                       <classifier>modules</classifier>
diff --git a/packaging/fedora/spec/ovirt-engine.spec.in 
b/packaging/fedora/spec/ovirt-engine.spec.in
index 43249ae..c42a3c6 100644
--- a/packaging/fedora/spec/ovirt-engine.spec.in
+++ b/packaging/fedora/spec/ovirt-engine.spec.in
@@ -316,6 +316,7 @@
 %{engine_ear}/bll.jar
 %{engine_ear}/lib/vdsbroker.jar
 %{engine_ear}/scheduler.jar
+%{engine_jboss_modules}/org/ovirt/engine/core/bll/main/bll.jar
 %{engine_jboss_modules}/org/ovirt/engine/core/common/main/common.jar
 %{engine_jboss_modules}/org/ovirt/engine/core/compat/main/compat.jar
 %{engine_jboss_modules}/org/ovirt/engine/core/dal/main/dal.jar


--
To view, visit http://gerrit.ovirt.org/13716
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idb844cd84cad3d15e7a684649bf7159fa7c22788
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to