Juan Hernandez has uploaded a new change for review.

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

core: Add JBoss module for vdsbroker

This patch adds a JBoss module for the vdsbroker. 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: I0e9ade27e8f6bd097216199e46161bd7a8610d6b
Signed-off-by: Juan Hernandez <[email protected]>
---
M backend/manager/modules/vdsbroker/pom.xml
A 
backend/manager/modules/vdsbroker/src/main/modules/org/ovirt/engine/core/vdsbroker/main/module.xml
M ear/pom.xml
M packaging/fedora/spec/ovirt-engine.spec.in
4 files changed, 34 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/15/13715/1

diff --git a/backend/manager/modules/vdsbroker/pom.xml 
b/backend/manager/modules/vdsbroker/pom.xml
index 9679ac5..4225d8a 100644
--- a/backend/manager/modules/vdsbroker/pom.xml
+++ b/backend/manager/modules/vdsbroker/pom.xml
@@ -103,6 +103,13 @@
           <argLine>-Djava.endorsed.dirs='${jbossHome}/lib/endorsed'/</argLine>
         </configuration>
       </plugin>
+
+      <!-- Create the JBoss module: -->
+      <plugin>
+        <groupId>org.ovirt.engine</groupId>
+        <artifactId>jboss-modules-maven-plugin</artifactId>
+      </plugin>
+
     </plugins>
   </build>
 
diff --git 
a/backend/manager/modules/vdsbroker/src/main/modules/org/ovirt/engine/core/vdsbroker/main/module.xml
 
b/backend/manager/modules/vdsbroker/src/main/modules/org/ovirt/engine/core/vdsbroker/main/module.xml
new file mode 100644
index 0000000..e453368
--- /dev/null
+++ 
b/backend/manager/modules/vdsbroker/src/main/modules/org/ovirt/engine/core/vdsbroker/main/module.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<module xmlns="urn:jboss:module:1.0" name="org.ovirt.engine.core.vdsbroker">
+
+  <resources>
+    <resource-root path="vdsbroker.jar"/>
+    <resource-root path="vdsbroker-jandex.jar"/>
+  </resources>
+
+  <dependencies>
+    <module name="javax.api"/>
+    <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.scheduler"/>
+    <module name="org.ovirt.engine.core.utils"/>
+  </dependencies>
+
+</module>
diff --git a/ear/pom.xml b/ear/pom.xml
index 90789b9..c580099 100644
--- a/ear/pom.xml
+++ b/ear/pom.xml
@@ -324,6 +324,13 @@
                       <classifier>modules</classifier>
                       <type>zip</type>
                     </artifactItem>
+                    <artifactItem>
+                      <groupId>org.ovirt.engine.core</groupId>
+                      <artifactId>vdsbroker</artifactId>
+                      <version>${engine.version}</version>
+                      <classifier>modules</classifier>
+                      <type>zip</type>
+                    </artifactItem>
                   </artifactItems>
                 </configuration>
               </execution>
diff --git a/packaging/fedora/spec/ovirt-engine.spec.in 
b/packaging/fedora/spec/ovirt-engine.spec.in
index 5b71c16..43249ae 100644
--- a/packaging/fedora/spec/ovirt-engine.spec.in
+++ b/packaging/fedora/spec/ovirt-engine.spec.in
@@ -323,6 +323,7 @@
 
%{engine_jboss_modules}/org/ovirt/engine/core/searchbackend/main/searchbackend.jar
 %{engine_jboss_modules}/org/ovirt/engine/core/tools/main/tools.jar
 %{engine_jboss_modules}/org/ovirt/engine/core/utils/main/utils.jar
+%{engine_jboss_modules}/org/ovirt/engine/core/vdsbroker/main/vdsbroker.jar
 %{restapi_war}/WEB-INF/lib/interface-common-jaxrs.jar
 %{restapi_war}/WEB-INF/lib/restapi-definition.jar
 %{restapi_war}/WEB-INF/lib/restapi-jaxrs.jar


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0e9ade27e8f6bd097216199e46161bd7a8610d6b
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