[MGNLCMIS-2] Fix bundle Created: 31/Jan/12  Updated: 12/Mar/12  Resolved: 07/Mar/12

Status: Closed
Project: CMIS
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0

Type: Bug Priority: Neutral
Reporter: Magnolia International Assignee: Ondrej Chytil
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MGNLEE-221 Provide CMIS bundle in add-ons folder Closed
Template:
Acceptance criteria:
Empty

 Description   

There is currently no bundle for the module, which could be arranged for by patching the pom.xml

Index: pom.xml
===================================================================
--- pom.xml	(revision 53875)
+++ pom.xml	(working copy)
@@ -169,4 +169,13 @@
     </dependency>
 
   </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-assembly-plugin</artifactId>
+      </plugin>
+    </plugins>
+  </build>
+
 </project>

However, as it stands, this creates a bundle with a whole bunch of unnecessary jars:

 $ unzip -l target/magnolia-module-cmis-1.0-SNAPSHOT-bundle.zip 
Archive:  target/magnolia-module-cmis-1.0-SNAPSHOT-bundle.zip
  Length     Date   Time    Name
 --------    ----   ----    ----
        0  01-31-12 17:46   magnolia-module-cmis-1.0-SNAPSHOT/
     4379  01-31-12 17:46   magnolia-module-cmis-1.0-SNAPSHOT/NOTICE.txt
      330  01-31-12 17:46   magnolia-module-cmis-1.0-SNAPSHOT/README.txt
  1315332  10-12-11 10:46   magnolia-module-cmis-1.0-SNAPSHOT/jaxws-rt-2.1.7.jar
   130161  10-12-11 10:46   magnolia-module-cmis-1.0-SNAPSHOT/streambuffer-0.9.jar
    11074  10-11-11 12:14   magnolia-module-cmis-1.0-SNAPSHOT/stax-ex-1.2.jar
    62983  10-12-11 10:46   magnolia-module-cmis-1.0-SNAPSHOT/activation-1.1.jar
   520052  10-07-11 18:30   magnolia-module-cmis-1.0-SNAPSHOT/wstx-asl-3.2.3.jar
    68177  10-12-11 10:46   magnolia-module-cmis-1.0-SNAPSHOT/resolver-20050927.jar
    38683  10-11-11 12:14   magnolia-module-cmis-1.0-SNAPSHOT/mimepull-1.3.jar
    69246  10-12-11 10:46   magnolia-module-cmis-1.0-SNAPSHOT/jcr-2.0.jar
    97693  10-12-11 10:46   magnolia-module-cmis-1.0-SNAPSHOT/servlet-api-2.4.jar
    91355  12-21-11 14:50   magnolia-module-cmis-1.0-SNAPSHOT/chemistry-opencmis-commons-api-0.6.0.jar
    58160  03-03-10 15:55   magnolia-module-cmis-1.0-SNAPSHOT/commons-codec-1.4.jar
   415631  12-21-11 14:50   magnolia-module-cmis-1.0-SNAPSHOT/chemistry-opencmis-commons-impl-0.6.0.jar
    16046  02-03-11 14:43   magnolia-module-cmis-1.0-SNAPSHOT/json-simple-1.1.jar
   175203  12-21-11 14:50   magnolia-module-cmis-1.0-SNAPSHOT/chemistry-opencmis-server-bindings-0.6.0-classes.jar
   265466  12-21-11 14:50   magnolia-module-cmis-1.0-SNAPSHOT/chemistry-opencmis-server-support-0.6.0.jar
   151989  10-07-11 18:24   magnolia-module-cmis-1.0-SNAPSHOT/antlr-runtime-3.2.jar
   172023  11-17-10 17:04   magnolia-module-cmis-1.0-SNAPSHOT/stringtemplate-3.2.jar
   445288  11-04-11 15:37   magnolia-module-cmis-1.0-SNAPSHOT/antlr-2.7.7.jar
    57779  06-22-10 18:40   magnolia-module-cmis-1.0-SNAPSHOT/commons-fileupload-1.2.1.jar
   159509  02-16-11 19:21   magnolia-module-cmis-1.0-SNAPSHOT/commons-io-2.0.1.jar
   284220  05-16-11 17:15   magnolia-module-cmis-1.0-SNAPSHOT/commons-lang-2.6.jar
   130617  12-21-11 14:50   magnolia-module-cmis-1.0-SNAPSHOT/chemistry-opencmis-server-jcr-0.6.0-classes.jar
   575389  06-22-10 13:22   magnolia-module-cmis-1.0-SNAPSHOT/commons-collections-3.2.1.jar
    46596  01-31-12 17:46   magnolia-module-cmis-1.0-SNAPSHOT/magnolia-module-cmis-1.0-SNAPSHOT.jar
 --------                   -------
  5363381                   27 files


 Comments   
Comment by Magnolia International [ 01/Feb/12 ]

In addition to the unnecessary jars and those already in m-empty-webapp, this brings in two different versions of commons-io and commons-lang, as well as the servlet-api jar which should definitely not end up in a webapp's libraries.

Generated at Mon Feb 12 00:00:48 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.