Thanks, Thomas! I managed to get it working. With "mvn dependency:copy-dependencies" I got bunch of jars, most of them were older versions of these which my Xwiki 4.5 had already (If it could be improved with adjusted dependency versions, it would be great.) I didn't use them, except those which seemed "new ones". Now my Xwiki runs with some warnings, but at least it works. Of course, it doesn't work with specific SAML identity provider, but this is another story. Valdis
You would need to modify the pom.xml for this but no need to create a big jar (it's also not very clean). You can use mvn dependency:copy-dependencies to get all dependencies of your jar in target/dependencies and select the one you don't have in your XE instance. Make sure to pull first because I modified a bit the opensaml dependency which was "provided".
On Fri, Mar 29, 2013 at 10:29 PM, Valdis Vītoliņš <[email protected]> wrote:
Thanks, Thomas, I tried https://github.com/xwiki-contrib/sandbox/tree/master/authenticators/xwiki-au... again and now it compiled successfully. Though when tried to access WebHome page I got exception, from which IMHO important part is: ... Caused by: java.lang.NoClassDefFoundError:org/opensaml/xml/security/credential/Credential
And I assume it is because I didn't put all necessary jar files in lib folder. Knowing bash better than J2EE, I copied all files which I got from ~/m2/repository to /lib, but then Xwiki didn't start at all...
How can I build xwiki-authentication-saml with all necessary dependencies?
Thanks, and happy Easter! Valdis
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users