Bernardo

Results 68 comments of Bernardo

The root problem is that the new Maven Site plugin is not loading Velocity tools. See: http://maven.40175.n5.nabble.com/New-maven-site-and-doxia-with-custom-velocity-doxia-td5865376.html

As I've been completely unable to find a fix to this problem, and it seems everybody else is in the same situation, I've opened an issue for the Maven Site...

I've updated my own skin for working with Maven Site 3.6: https://github.com/Bernardo-MG/docs-maven-skin As commented, from now on any custom tool should move the tools.xml file to `META-INF/maven/site-tools.xml`

Currently only the latest one is working. This test can be added after a new version of the site plugin is released.

The first test is the one which usually takes longer. This may be related to the fact it needs to load all the dependencies into the local repository.

Test failures: Failed tests: ``` TestEntityClientEncryptionXwss>AbstractTestNGSpringContextTests.run:175->AbstractTestEntityClientHeader.testClient_Header_Invalid:138 » NoSuchMethod TestEntityClientEncryptionXwss>AbstractTestNGSpringContextTests.run:175->AbstractTestEntityClientHeader.testClient_Header_Valid:172 » NoSuchMethod TestEntityEndpointRequestEncryptionXwss>AbstractTestNGSpringContextTests.run:175->AbstractTestEntityEndpointRequest.testEndpoint_Envelope_Valid:114 XML is not valid: [org.xml.sax.SAXParseException; cvc-elt.1: Cannot find the declaration of element 'SOAP-ENV:Fault'.] Payload: SOAP-ENV:Clientcom.sun.xml.wss.impl.WssSoapFaultException: Error while getting...

``` java.lang.NoSuchMethodError: com.sun.org.apache.xml.internal.security.encryption.XMLCipher.getInstance(Ljava/lang/String;Ljavax/crypto/Cipher;)Lcom/sun/org/apache/xml/internal/security/encryption/XMLCipher; ```

There is a new 2.4.0.RELEASE Spring version from November 2016. It may be a good idea trying it.

The issue seems to come from the xws-security dependency.