[Building Sakai] Automatically signed applet in Samigo

Steve Swinsburg steve.swinsburg at gmail.com
Tue Apr 12 04:11:39 PDT 2011


Hi Daniel,

It is possible to automatically sign the jar at build time via the maven-jar plugin 'sign' goal. In fact the samigo-audio pom already does this but you need to activate the profile in the pom:

mvn clean install -Pjarsign

You may need to provide the properties for it, like the keystore location,alias and password. Check the POM.

It's been a while since I've used this but IIRC the Sakai Foundation used to sign it/provide the cert. Are the artifacts in the repo not signed?

cheers,
Steve



On 12/04/2011, at 8:06 PM, Daniel Merino wrote:

> Hi everybody.
> 
> We have been getting complaints about the audio recorder applet which is 
> integrated inside Samigo. As it can be seen at 
> https://jira.sakaiproject.org/browse/SAK-5731 , if the applet is not 
> signed users must change their local JVM configuration in their 
> computers in order to use it, a little embarrasing change that can 
> discourage them to use this feature.
> 
> I have signed the applet with a certificate and it works nice, but every 
> time we redeploy the sam project, the applet is rebuilded unsigned 
> again, so we must sign it once and another to have it enabled.
> 
> I wonder if somebody has come across a solution to automatize this. As 
> the command to sign the applet could be different for each institution, 
> I suppose that it is not possible to give a general solution with Maven, 
> am I wrong?
> 
> Thanks in advance.
> Best regards.
> -- 
> Daniel Merino
> daniel.merino at unavarra.es
> Gestor de teleformación - Centro Superior de Innovación Educativa.
> Tfno: 948-168489 - Universidad Pública de Navarra.
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"



More information about the sakai-dev mailing list