Juan Hernandez has uploaded a new change for review.

Change subject: core: Include annotations indexes in JBoss modules
......................................................................

core: Include annotations indexes in JBoss modules

Currently we don't have annotation indexes in the libraries of the
project, adding them reduces a bit the needed for deployment and
allows deployment of EJBs inside modules.

Change-Id: Id8873ee7140518d8de17d4667444b75f4121e80f
Signed-off-by: Juan Hernandez <[email protected]>
---
M backend/manager/dependencies/pom.xml
M 
backend/manager/modules/common/src/main/modules/org/ovirt/engine/core/common/main/module.xml
M 
backend/manager/modules/compat/src/main/modules/org/ovirt/engine/core/compat/main/module.xml
M 
backend/manager/modules/dal/src/main/modules/org/ovirt/engine/core/dal/main/module.xml
M 
backend/manager/modules/searchbackend/src/main/modules/org/ovirt/engine/core/searchbackend/main/module.xml
M 
backend/manager/modules/utils/src/main/modules/org/ovirt/engine/core/utils/main/module.xml
M 
backend/manager/tools/src/main/modules/org/ovirt/engine/core/tools/main/module.xml
7 files changed, 16 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/13/13713/1

diff --git a/backend/manager/dependencies/pom.xml 
b/backend/manager/dependencies/pom.xml
index 12fdde3..c5f7e86 100644
--- a/backend/manager/dependencies/pom.xml
+++ b/backend/manager/dependencies/pom.xml
@@ -171,6 +171,16 @@
 
     <plugins>
 
+        <!-- We don't want to generate annotation indexes for the
+             dependencies: -->
+        <plugin>
+          <groupId>org.ovirt.engine</groupId>
+          <artifactId>jboss-modules-maven-plugin</artifactId>
+          <configuration>
+            <generateJandex>false</generateJandex>
+          </configuration>
+        </plugin>
+
         <plugin>
           <groupId>org.ovirt.engine</groupId>
           <artifactId>jboss-modules-maven-plugin</artifactId>
diff --git 
a/backend/manager/modules/common/src/main/modules/org/ovirt/engine/core/common/main/module.xml
 
b/backend/manager/modules/common/src/main/modules/org/ovirt/engine/core/common/main/module.xml
index 59f830b..9d96b82 100644
--- 
a/backend/manager/modules/common/src/main/modules/org/ovirt/engine/core/common/main/module.xml
+++ 
b/backend/manager/modules/common/src/main/modules/org/ovirt/engine/core/common/main/module.xml
@@ -4,6 +4,7 @@
 
    <resources>
      <resource-root path="common.jar"/>
+     <resource-root path="common-jandex.jar"/>
    </resources>
 
    <dependencies>
diff --git 
a/backend/manager/modules/compat/src/main/modules/org/ovirt/engine/core/compat/main/module.xml
 
b/backend/manager/modules/compat/src/main/modules/org/ovirt/engine/core/compat/main/module.xml
index cc52a86..da136a2 100644
--- 
a/backend/manager/modules/compat/src/main/modules/org/ovirt/engine/core/compat/main/module.xml
+++ 
b/backend/manager/modules/compat/src/main/modules/org/ovirt/engine/core/compat/main/module.xml
@@ -4,6 +4,7 @@
 
    <resources>
      <resource-root path="compat.jar"/>
+     <resource-root path="compat-jandex.jar"/>
    </resources>
 
    <dependencies>
diff --git 
a/backend/manager/modules/dal/src/main/modules/org/ovirt/engine/core/dal/main/module.xml
 
b/backend/manager/modules/dal/src/main/modules/org/ovirt/engine/core/dal/main/module.xml
index 3ebd787..2840c73 100644
--- 
a/backend/manager/modules/dal/src/main/modules/org/ovirt/engine/core/dal/main/module.xml
+++ 
b/backend/manager/modules/dal/src/main/modules/org/ovirt/engine/core/dal/main/module.xml
@@ -4,6 +4,7 @@
 
    <resources>
      <resource-root path="dal.jar"/>
+     <resource-root path="dal-jandex.jar"/>
    </resources>
 
    <dependencies>
diff --git 
a/backend/manager/modules/searchbackend/src/main/modules/org/ovirt/engine/core/searchbackend/main/module.xml
 
b/backend/manager/modules/searchbackend/src/main/modules/org/ovirt/engine/core/searchbackend/main/module.xml
index 56ed52a..3de04cd 100644
--- 
a/backend/manager/modules/searchbackend/src/main/modules/org/ovirt/engine/core/searchbackend/main/module.xml
+++ 
b/backend/manager/modules/searchbackend/src/main/modules/org/ovirt/engine/core/searchbackend/main/module.xml
@@ -4,6 +4,7 @@
 
    <resources>
      <resource-root path="searchbackend.jar"/>
+     <resource-root path="searchbackend-jandex.jar"/>
    </resources>
 
    <dependencies>
diff --git 
a/backend/manager/modules/utils/src/main/modules/org/ovirt/engine/core/utils/main/module.xml
 
b/backend/manager/modules/utils/src/main/modules/org/ovirt/engine/core/utils/main/module.xml
index 723b5b2..85e336c 100644
--- 
a/backend/manager/modules/utils/src/main/modules/org/ovirt/engine/core/utils/main/module.xml
+++ 
b/backend/manager/modules/utils/src/main/modules/org/ovirt/engine/core/utils/main/module.xml
@@ -4,6 +4,7 @@
 
    <resources>
      <resource-root path="utils.jar"/>
+     <resource-root path="utils-jandex.jar"/>
    </resources>
 
    <dependencies>
diff --git 
a/backend/manager/tools/src/main/modules/org/ovirt/engine/core/tools/main/module.xml
 
b/backend/manager/tools/src/main/modules/org/ovirt/engine/core/tools/main/module.xml
index 0d82a53..806922e 100644
--- 
a/backend/manager/tools/src/main/modules/org/ovirt/engine/core/tools/main/module.xml
+++ 
b/backend/manager/tools/src/main/modules/org/ovirt/engine/core/tools/main/module.xml
@@ -4,6 +4,7 @@
 
    <resources>
      <resource-root path="tools.jar"/>
+     <resource-root path="tools-jandex.jar"/>
    </resources>
 
    <dependencies>


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

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