IDEMPIERE-4933 Platform update for 9.x (#910)

Fix jasper report compilation error cause by manifest issue of common
digester bundle.
This commit is contained in:
hengsin 2021-10-06 21:37:28 +08:00 committed by GitHub
parent 488715260e
commit 398333e645
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 124 additions and 10 deletions

View File

@ -352,7 +352,7 @@
unpack="false"/> unpack="false"/>
<plugin <plugin
id="com.jaspersoft.studio.bundles.commons-digester" id="org.apache.commons.digester"
download-size="0" download-size="0"
install-size="0" install-size="0"
version="0.0.0" version="0.0.0"

View File

@ -19,7 +19,7 @@ Require-Bundle: org.adempiere.base;bundle-version="0.0.0",
net.sf.jasperreports.engine;bundle-version="6.3.1", net.sf.jasperreports.engine;bundle-version="6.3.1",
com.github.librepdf.openpdf;bundle-version="1.3.26", com.github.librepdf.openpdf;bundle-version="1.3.26",
com.github.librepdf.openpdf-fonts-extra;bundle-version="1.3.26", com.github.librepdf.openpdf-fonts-extra;bundle-version="1.3.26",
com.jaspersoft.studio.bundles.commons-digester;bundle-version="2.1.0" org.apache.commons.digester;bundle-version="2.1.0"
Service-Component: OSGI-INF/*.xml Service-Component: OSGI-INF/*.xml
Export-Package: org.adempiere.report.jasper Export-Package: org.adempiere.report.jasper
Bundle-ActivationPolicy: lazy Bundle-ActivationPolicy: lazy

View File

@ -105,7 +105,7 @@
<setEntry value="com.google.zxing.core@default:default"/> <setEntry value="com.google.zxing.core@default:default"/>
<setEntry value="com.ibm.icu@default:default"/> <setEntry value="com.ibm.icu@default:default"/>
<setEntry value="com.jaspersoft.studio.bundles.barbecue@default:default"/> <setEntry value="com.jaspersoft.studio.bundles.barbecue@default:default"/>
<setEntry value="com.jaspersoft.studio.bundles.commons-digester@default:default"/> <setEntry value="org.apache.commons.digester@default:default"/>
<setEntry value="com.jaspersoft.studio.bundles.itext@default:default"/> <setEntry value="com.jaspersoft.studio.bundles.itext@default:default"/>
<setEntry value="com.sun.activation.jakarta.activation@default:default"/> <setEntry value="com.sun.activation.jakarta.activation@default:default"/>
<setEntry value="com.sun.istack.commons-runtime@default:default"/> <setEntry value="com.sun.istack.commons-runtime@default:default"/>

View File

@ -105,7 +105,7 @@
<setEntry value="com.google.zxing.core@default:default"/> <setEntry value="com.google.zxing.core@default:default"/>
<setEntry value="com.ibm.icu@default:default"/> <setEntry value="com.ibm.icu@default:default"/>
<setEntry value="com.jaspersoft.studio.bundles.barbecue@default:default"/> <setEntry value="com.jaspersoft.studio.bundles.barbecue@default:default"/>
<setEntry value="com.jaspersoft.studio.bundles.commons-digester@default:default"/> <setEntry value="org.apache.commons.digester@default:default"/>
<setEntry value="com.jaspersoft.studio.bundles.itext@default:default"/> <setEntry value="com.jaspersoft.studio.bundles.itext@default:default"/>
<setEntry value="com.sun.activation.jakarta.activation@default:default"/> <setEntry value="com.sun.activation.jakarta.activation@default:default"/>
<setEntry value="com.sun.istack.commons-runtime@default:default"/> <setEntry value="com.sun.istack.commons-runtime@default:default"/>

View File

@ -437,6 +437,12 @@ Export-Package: *;-noimport:=true
<groupId>net.sf.jasperreports</groupId> <groupId>net.sf.jasperreports</groupId>
<artifactId>jasperreports</artifactId> <artifactId>jasperreports</artifactId>
<version>6.17.0</version> <version>6.17.0</version>
<type>jar</type>
</location>
<location includeSource="true" missingManifest="generate" type="Maven">
<groupId>commons-digester</groupId>
<artifactId>commons-digester</artifactId>
<version>2.1</version>
<type>jar</type> <type>jar</type>
</location> </location>
<!-- net.sf.supercsv --> <!-- net.sf.supercsv -->
@ -1002,7 +1008,7 @@ Import-Package: *;resolution:=optional
Export-Package: *;version="${version}";-noimport:=true Export-Package: *;version="${version}";-noimport:=true
]]></instructions> ]]></instructions>
</location> </location>
<location includeDependencyScope="compile" includeSource="true" missingManifest="generate" type="Maven"> <location includeSource="true" missingManifest="generate" type="Maven">
<groupId>org.springframework</groupId> <groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId> <artifactId>spring-context</artifactId>
<version>5.2.15.RELEASE</version> <version>5.2.15.RELEASE</version>
@ -1013,6 +1019,58 @@ Bundle-SymbolicName: wrapped.${mvnGroupId}.${mvnArtifactId}
Bundle-Version: ${version} Bundle-Version: ${version}
Import-Package: *;resolution:=optional Import-Package: *;resolution:=optional
Export-Package: *;version="${version}";-noimport:=true Export-Package: *;version="${version}";-noimport:=true
]]></instructions>
</location>
<location includeSource="true" missingManifest="generate" type="Maven">
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
<version>5.2.15.RELEASE</version>
<type>jar</type>
<instructions><![CDATA[Bundle-Name: Bundle derived from maven artifact ${mvnGroupId}:${mvnArtifactId}:${mvnVersion}
version: ${version_cleanup;${mvnVersion}}
Bundle-SymbolicName: wrapped.${mvnGroupId}.${mvnArtifactId}
Bundle-Version: ${version}
Import-Package: *;resolution:=optional
Export-Package: *;version="${version}";-noimport:=true
]]></instructions>
</location>
<location includeSource="true" missingManifest="generate" type="Maven">
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>5.2.15.RELEASE</version>
<type>jar</type>
<instructions><![CDATA[Bundle-Name: Bundle derived from maven artifact ${mvnGroupId}:${mvnArtifactId}:${mvnVersion}
version: ${version_cleanup;${mvnVersion}}
Bundle-SymbolicName: wrapped.${mvnGroupId}.${mvnArtifactId}
Bundle-Version: ${version}
Import-Package: *;resolution:=optional
Export-Package: *;version="${version}";-noimport:=true
]]></instructions>
</location>
<location includeSource="true" missingManifest="generate" type="Maven">
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>5.2.15.RELEASE</version>
<type>jar</type>
<instructions><![CDATA[Bundle-Name: Bundle derived from maven artifact ${mvnGroupId}:${mvnArtifactId}:${mvnVersion}
version: ${version_cleanup;${mvnVersion}}
Bundle-SymbolicName: wrapped.${mvnGroupId}.${mvnArtifactId}
Bundle-Version: ${version}
Import-Package: *;resolution:=optional
Export-Package: *;version="${version}";-noimport:=true
]]></instructions>
</location>
<location includeSource="true" missingManifest="generate" type="Maven">
<groupId>org.springframework</groupId>
<artifactId>spring-expression</artifactId>
<version>5.2.15.RELEASE</version>
<type>jar</type>
<instructions><![CDATA[Bundle-Name: Bundle derived from maven artifact ${mvnGroupId}:${mvnArtifactId}:${mvnVersion}
version: ${version_cleanup;${mvnVersion}}
Bundle-SymbolicName: wrapped.${mvnGroupId}.${mvnArtifactId}
Bundle-Version: ${version}
Import-Package: *;resolution:=optional
Export-Package: *;version="${version}";-noimport:=true
]]></instructions> ]]></instructions>
</location> </location>
<location includeSource="true" missingManifest="generate" type="Maven"> <location includeSource="true" missingManifest="generate" type="Maven">

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde?> <?pde?>
<!-- generated with https://github.com/eclipse-cbi/targetplatform-dsl --> <!-- generated with https://github.com/eclipse-cbi/targetplatform-dsl -->
<target name="idempiere-210901" sequenceNumber="1631278143"> <target name="idempiere-210901" sequenceNumber="1633490563">
<locations> <locations>
<location includeMode="slicer" includeAllPlatforms="true" includeSource="true" includeConfigurePhase="true" type="InstallableUnit"> <location includeMode="slicer" includeAllPlatforms="true" includeSource="true" includeConfigurePhase="true" type="InstallableUnit">
<unit id="zcommon" version="9.6.0.1"/> <unit id="zcommon" version="9.6.0.1"/>
@ -129,7 +129,6 @@
<location includeMode="slicer" includeAllPlatforms="true" includeSource="true" includeConfigurePhase="true" type="InstallableUnit"> <location includeMode="slicer" includeAllPlatforms="true" includeSource="true" includeConfigurePhase="true" type="InstallableUnit">
<unit id="com.jaspersoft.studio.bundles.barbecue" version="1.5.0.beta1_b02"/> <unit id="com.jaspersoft.studio.bundles.barbecue" version="1.5.0.beta1_b02"/>
<unit id="com.jaspersoft.studio.bundles.itext" version="2.1.7.js8_b01"/> <unit id="com.jaspersoft.studio.bundles.itext" version="2.1.7.js8_b01"/>
<unit id="com.jaspersoft.studio.bundles.commons-digester" version="2.1.0.201709071631"/>
<unit id="org.w3c.dom.svg.patch" version="1.1.0.b02"/> <unit id="org.w3c.dom.svg.patch" version="1.1.0.b02"/>
<unit id="org.krysalis.barcode4j" version="2.1.0"/> <unit id="org.krysalis.barcode4j" version="2.1.0"/>
<repository location="https://sourceforge.net/projects/jasperstudio/files/updatesite/6.17.0"/> <repository location="https://sourceforge.net/projects/jasperstudio/files/updatesite/6.17.0"/>
@ -570,6 +569,12 @@ Export-Package: *;-noimport:=true
<groupId>net.sf.jasperreports</groupId> <groupId>net.sf.jasperreports</groupId>
<artifactId>jasperreports</artifactId> <artifactId>jasperreports</artifactId>
<version>6.17.0</version> <version>6.17.0</version>
<type>jar</type>
</location>
<location includeSource="true" missingManifest="generate" type="Maven">
<groupId>commons-digester</groupId>
<artifactId>commons-digester</artifactId>
<version>2.1</version>
<type>jar</type> <type>jar</type>
</location> </location>
<!-- net.sf.supercsv --> <!-- net.sf.supercsv -->
@ -1135,7 +1140,7 @@ Import-Package: *;resolution:=optional
Export-Package: *;version="${version}";-noimport:=true Export-Package: *;version="${version}";-noimport:=true
]]></instructions> ]]></instructions>
</location> </location>
<location includeDependencyScope="compile" includeSource="true" missingManifest="generate" type="Maven"> <location includeSource="true" missingManifest="generate" type="Maven">
<groupId>org.springframework</groupId> <groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId> <artifactId>spring-context</artifactId>
<version>5.2.15.RELEASE</version> <version>5.2.15.RELEASE</version>
@ -1146,6 +1151,58 @@ Bundle-SymbolicName: wrapped.${mvnGroupId}.${mvnArtifactId}
Bundle-Version: ${version} Bundle-Version: ${version}
Import-Package: *;resolution:=optional Import-Package: *;resolution:=optional
Export-Package: *;version="${version}";-noimport:=true Export-Package: *;version="${version}";-noimport:=true
]]></instructions>
</location>
<location includeSource="true" missingManifest="generate" type="Maven">
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
<version>5.2.15.RELEASE</version>
<type>jar</type>
<instructions><![CDATA[Bundle-Name: Bundle derived from maven artifact ${mvnGroupId}:${mvnArtifactId}:${mvnVersion}
version: ${version_cleanup;${mvnVersion}}
Bundle-SymbolicName: wrapped.${mvnGroupId}.${mvnArtifactId}
Bundle-Version: ${version}
Import-Package: *;resolution:=optional
Export-Package: *;version="${version}";-noimport:=true
]]></instructions>
</location>
<location includeSource="true" missingManifest="generate" type="Maven">
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>5.2.15.RELEASE</version>
<type>jar</type>
<instructions><![CDATA[Bundle-Name: Bundle derived from maven artifact ${mvnGroupId}:${mvnArtifactId}:${mvnVersion}
version: ${version_cleanup;${mvnVersion}}
Bundle-SymbolicName: wrapped.${mvnGroupId}.${mvnArtifactId}
Bundle-Version: ${version}
Import-Package: *;resolution:=optional
Export-Package: *;version="${version}";-noimport:=true
]]></instructions>
</location>
<location includeSource="true" missingManifest="generate" type="Maven">
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>5.2.15.RELEASE</version>
<type>jar</type>
<instructions><![CDATA[Bundle-Name: Bundle derived from maven artifact ${mvnGroupId}:${mvnArtifactId}:${mvnVersion}
version: ${version_cleanup;${mvnVersion}}
Bundle-SymbolicName: wrapped.${mvnGroupId}.${mvnArtifactId}
Bundle-Version: ${version}
Import-Package: *;resolution:=optional
Export-Package: *;version="${version}";-noimport:=true
]]></instructions>
</location>
<location includeSource="true" missingManifest="generate" type="Maven">
<groupId>org.springframework</groupId>
<artifactId>spring-expression</artifactId>
<version>5.2.15.RELEASE</version>
<type>jar</type>
<instructions><![CDATA[Bundle-Name: Bundle derived from maven artifact ${mvnGroupId}:${mvnArtifactId}:${mvnVersion}
version: ${version_cleanup;${mvnVersion}}
Bundle-SymbolicName: wrapped.${mvnGroupId}.${mvnArtifactId}
Bundle-Version: ${version}
Import-Package: *;resolution:=optional
Export-Package: *;version="${version}";-noimport:=true
]]></instructions> ]]></instructions>
</location> </location>
<location includeSource="true" missingManifest="generate" type="Maven"> <location includeSource="true" missingManifest="generate" type="Maven">

View File

@ -138,7 +138,6 @@ location "https://download.eclipse.org/tools/orbit/downloads/drops/R202106020316
location "https://sourceforge.net/projects/jasperstudio/files/updatesite/6.17.0" { location "https://sourceforge.net/projects/jasperstudio/files/updatesite/6.17.0" {
com.jaspersoft.studio.bundles.barbecue com.jaspersoft.studio.bundles.barbecue
com.jaspersoft.studio.bundles.itext com.jaspersoft.studio.bundles.itext
com.jaspersoft.studio.bundles.commons-digester
org.w3c.dom.svg.patch org.w3c.dom.svg.patch
org.krysalis.barcode4j org.krysalis.barcode4j
} }

View File

@ -68,7 +68,7 @@
<setEntry value="com.google.zxing.core@default:default"/> <setEntry value="com.google.zxing.core@default:default"/>
<setEntry value="com.ibm.icu@default:default"/> <setEntry value="com.ibm.icu@default:default"/>
<setEntry value="com.jaspersoft.studio.bundles.barbecue@default:default"/> <setEntry value="com.jaspersoft.studio.bundles.barbecue@default:default"/>
<setEntry value="com.jaspersoft.studio.bundles.commons-digester@default:default"/> <setEntry value="org.apache.commons.digester@default:default"/>
<setEntry value="com.jaspersoft.studio.bundles.itext@default:default"/> <setEntry value="com.jaspersoft.studio.bundles.itext@default:default"/>
<setEntry value="com.sun.activation.jakarta.activation@default:default"/> <setEntry value="com.sun.activation.jakarta.activation@default:default"/>
<setEntry value="com.sun.mail.gimap@default:default"/> <setEntry value="com.sun.mail.gimap@default:default"/>