-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 8.3-SNAPSHOT
-
Fix Version/s: 8.10
-
Component/s: Digital Signature
-
Tags:
-
Sprint:nxFG 8.4.3
Since NXP-19756, the signature package functional tests are broken:
2016-06-08 20:24:39,122 ERROR [localhost-startStop-1] [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/nuxeo]] Exception sending context initialized event to listener instance of class org.nuxeo.runtime.deployment.NuxeoStarter java.lang.NoClassDefFoundError: org/bouncycastle/asn1/DEREncodable
Indeed the Bouncy Castle libraries have been removed from the default distribution but the signature package is not dynamic (it uses the "explicit" assembly instead of the recommended assembly).
Done: the package assembly has been fixed by explicitly adding the missing libraries
To do: rewrite the package assembly following the recommended assembly method
In the mean time, review the signature addon to clean up its transitive dependencies:
[INFO] --- maven-dependency-plugin:2.10:analyze (default-cli) @ nuxeo-platform-signature-api --- [WARNING] Used undeclared dependencies found: [WARNING] org.nuxeo.ecm.core:nuxeo-core-api:jar:8.3-SNAPSHOT:compile [WARNING] Unused declared dependencies found: [WARNING] org.nuxeo.ecm.platform:nuxeo-platform-convert:jar:8.3-SNAPSHOT:compile [WARNING] org.nuxeo.ecm.core:nuxeo-core-test:jar:8.3-SNAPSHOT:test [WARNING] org.nuxeo.ecm.platform:nuxeo-platform-directory-api:jar:8.3-SNAPSHOT:compile [INFO] --- maven-dependency-plugin:2.10:analyze (default-cli) @ nuxeo-platform-signature-core --- [WARNING] Used undeclared dependencies found: [WARNING] javax.inject:javax.inject:jar:1:compile [WARNING] Unused declared dependencies found: [WARNING] org.nuxeo.ecm.platform:nuxeo-platform-usermanager-core:jar:8.3-SNAPSHOT:test [WARNING] org.nuxeo.ecm.platform:nuxeo-platform-directory-sql:jar:8.3-SNAPSHOT:compile [WARNING] org.nuxeo.ecm.platform:nuxeo-platform-convert:jar:8.3-SNAPSHOT:test [WARNING] org.nuxeo.ecm.core:nuxeo-core-mimetype:jar:8.3-SNAPSHOT:test [INFO] --- maven-dependency-plugin:2.10:analyze (default-cli) @ nuxeo-platform-signature-web --- [WARNING] Used undeclared dependencies found: [WARNING] org.mortbay.jetty:servlet-api-2.5:jar:6.1.6:test [WARNING] org.nuxeo.ecm.platform:nuxeo-platform-usermanager-api:jar:8.3-SNAPSHOT:compile [WARNING] commons-io:commons-io:jar:2.4:compile [WARNING] org.nuxeo.ecm.core:nuxeo-core-api:jar:8.3-SNAPSHOT:compile [WARNING] org.nuxeo.ecm.core:nuxeo-core-event:jar:8.3-SNAPSHOT:compile [WARNING] org.nuxeo.runtime:nuxeo-runtime-test:jar:8.3-SNAPSHOT:test [WARNING] org.nuxeo.runtime:nuxeo-runtime:jar:8.3-SNAPSHOT:compile [WARNING] org.nuxeo.ecm.platform:nuxeo-platform-directory-core:jar:8.3-SNAPSHOT:compile [WARNING] Unused declared dependencies found: [WARNING] org.jboss.seam:jboss-seam-ui:jar:2.3.1.Final:compile [WARNING] com.sun.faces:jsf-impl:jar:2.2.6-NX01:compile [WARNING] org.hibernate:hibernate-validator:jar:3.1.0.GA:compile [WARNING] javax.annotation:jsr250-api:jar:1.0:compile [WARNING] javax.servlet:javax.servlet-api:jar:3.0.1:provided [WARNING] org.nuxeo.ecm.platform:nuxeo-platform-signature-core:jar:8.3-SNAPSHOT:compile [WARNING] org.hibernate:hibernate-annotations:jar:3.4.0.GA:compile