Details
-
Type: Task
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Story Points:1.5
-
Epic Link:
-
Sprint:Spring 3 : 17 Feb to 28 Feb, Spring 4 : 2 Mar to 13 Mar, Spring 5 : 16 Mar to 27 Mar, Spring 6 : 30 Mar to Apr 10
Description
Unpacking the jar finds there are many things getting included that probably are not needed, such as jars for libraries that IGB already includes:
- guava-19.0.jar
- log4j-api-2.5.jar
- log4j-core-2.5.jar
- log4j-slf4j-impl-2.5.jar
There also appear to be some transitive dependencies that might not be needed during operation of the App.
Here are the jar conrtents:
$ jar xvf biojava-igb-app-0.0.1.jar
inflated: META-INF/MANIFEST.MF
created: META-INF/
created: META-INF/maven/
created: META-INF/maven/igb-app-examples/
created: META-INF/maven/igb-app-examples/biojava-igb-app/
inflated: META-INF/maven/igb-app-examples/biojava-igb-app/pom.properties
inflated: META-INF/maven/igb-app-examples/biojava-igb-app/pom.xml
created: OSGI-INF/
inflated: OSGI-INF/org.lorainelab.igb.sequencereader.TwoBitReaderApp.xml
inflated: biojava-alignment-4.2.8.jar
inflated: biojava-core-4.2.8.jar
inflated: biojava-genome-4.2.8.jar
inflated: biojava-phylo-4.2.8.jar
inflated: forester-1.038.jar
inflated: guava-19.0.jar
inflated: log4j-api-2.5.jar
inflated: log4j-core-2.5.jar
inflated: log4j-slf4j-impl-2.5.jar
inflated: logo.png
created: org/
created: org/biojava/
created: org/biojava/nbio/
created: org/biojava/nbio/genome/
created: org/biojava/nbio/genome/parsers/
created: org/biojava/nbio/genome/parsers/twobit/
inflated: org/biojava/nbio/genome/parsers/twobit/TwoBitParser.class
created: org/lorainelab/
created: org/lorainelab/igb/
created: org/lorainelab/igb/sequencereader/
inflated: org/lorainelab/igb/sequencereader/TwoBitFileSummarizer.class
inflated: org/lorainelab/igb/sequencereader/TwoBitReaderApp.class
inflated: repository.xml
inflated: slf4j-api-1.7.14.jar
inflated: summarize.png
For this task, investigate maven-bundle-plugin configuration to ensure that only jars that are required by the App to run are included in the Bundle.
To get oriented, read this:
https://freecontent.manning.com/wp-content/uploads/demystifying-osgi-bundles.pdf