Home
Analytics
BIRT Runtime maven dependency
sweetas
<p>Hello</p>
<p> </p>
<p>At the moment I use standard BIRT Runtime library. It is defined in pom.xml:</p>
<pre class="_prettyXprint _lang-nocode">
<dependency>
<groupId>org.eclipse.birt.runtime</groupId>
<artifactId>org.eclipse.birt.runtime</artifactId>
<version>4.4.1</version>
</dependency>
</pre>
<p>But it is very huge package of libraries, we will use only standard PDF rendering functionality with POJOs. Is it possible somehow to reduce this size? To exclude some libraries? Maybe somebody knows which one shoud I exclude?</p>
<p> </p>
<p>Because at the moment - this BIRT dependency - increased our WAR size from 60 mb to 130 mb.</p>
Find more posts tagged with
Comments
lumo
<p>you can exclude whatever you want, here an sample for <strong>org.apache.poi</strong></p>
<p>but afaik you need to specify each artifact you want to exclude!</p>
<pre class="_prettyXprint _lang-xml">
<dependencies>
<dependency>
<groupId>org.eclipse.birt.runtime</groupId>
<artifactId>org.eclipse.birt.runtime</artifactId>
<version>4.4.1</version>
<!-- exclude whatever you want to exclude -->
<exclusions>
<exclusion>
<artifactId>org.apache.poi</artifactId>
<groupId>org.eclipse.birt.runtime</groupId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</pre>
sweetas
<p>Thanks for answer. I know how to exclude, but maybe there are some libraries which are not used in RunAndRender mode, so we can simply exclude them and reduce size. I will not create dynamically reports, I will use rptdesigns all the time, so maybe in this case I could exclude some libraries. </p>