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
-- Thomas Mortagne