[Building Sakai] samigo audio signing in 2.9

John Bush john.bush at rsmart.com
Tue Aug 7 14:33:31 PDT 2012


Ok here you go, patch and testing instructions included:
https://jira.sakaiproject.org/browse/SAM-1771

On Tue, Aug 7, 2012 at 1:03 PM, Matthew Jones <matthew at longsight.com> wrote:
> Yes, I'm happy with switching, especially when the jar-sign goal is
> depreciated as mentioned. Would even suggest merging this into 2.9. Jira it
> up! Thanks for verifying, it was working for me on Linux so I couldn't test
> it out.
>
> http://maven.apache.org/plugins/maven-jar-plugin/plugin-info.html
>
>
> On Tue, Aug 7, 2012 at 3:53 PM, John Bush <john.bush at rsmart.com> wrote:
>>
>> Adjusting my path did not resolve the issue but switching to
>> maven-jarsigner-plugin did.  When I look at the maven code for that, I
>> can see its smarter about trying to find jarsigner it looks in path,
>> jdk, and jre.
>>
>> Should we consider switching, if so I'll log a jira and provide a patch.
>>
>> On Tue, Aug 7, 2012 at 11:29 AM, John Bush <john.bush at rsmart.com> wrote:
>> > right those are my two ideas, there is one in jdk not jre, and maybe
>> > that other plugin will find the right one.  I'm looking into it.  I
>> > did install the oracle jdk for mac.
>> >
>> > On Tue, Aug 7, 2012 at 10:36 AM, Matthew Jones <matthew at longsight.com>
>> > wrote:
>> >> I've not had a problem on Linux, there is a jar signer there.
>> >>
>> >> Did you use the Oracle JDK or some other one?
>> >>
>> >> http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1637583.html
>> >>
>> >> Is there a jarsigner in
>> >>
>> >> /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/bin/jarsigner
>> >> or somewhere else in that path? I wonder why it's looking in the
>> >> jre/bin
>> >> directory under that subdirectory? In the jre/bin there is no jarsigner
>> >> for
>> >> me, it's just in bin.
>> >>
>> >> Perhaps the plugin that does this in samigo-audio/pom.xml needs to be
>> >> updated to maven-jarsigner-plugin?
>> >> https://maven.apache.org/plugins/maven-jarsigner-plugin/sign-mojo.html
>> >>
>> >> The previous method of using maven-jar-plugin with a sign goal is
>> >> deprecated.
>> >>
>> >> On Tue, Aug 7, 2012 at 12:38 PM, John Bush <john.bush at rsmart.com>
>> >> wrote:
>> >>>
>> >>> Has anyone tried to sign the samigo audio jar in 2.9 or trunk with
>> >>> java 7 ?  I'm not sure if this is a mac specific thing, or something
>> >>> with the plugin and java 7 perhaps.
>> >>>
>> >>> [debug] jarsigner
>> >>>
>> >>>
>> >>> executable=[/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/bin/jarsigner]
>> >>> [debug] Executing: /bin/sh -c "cd
>> >>> /Users/jbush/Dev/projects/sam_trunk/samigo-audio &&
>> >>>
>> >>>
>> >>> /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/bin/jarsigner
>> >>> -verify
>> >>>
>> >>> /Users/jbush/Dev/projects/sam_trunk/samigo-audio/target/samigo-audio-2.10-SNAPSHOT.jar"
>> >>> [warn] /bin/sh:
>> >>>
>> >>>
>> >>> /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/bin/jarsigner:
>> >>> No such file or directory
>> >>>
>> >>>
>> >>> --
>> >>> John Bush
>> >>> 602-490-0470
>> >>> _______________________________________________
>> >>> 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"
>> >>
>> >>
>> >
>> >
>> >
>> > --
>> > John Bush
>> > 602-490-0470
>>
>>
>>
>> --
>> John Bush
>> 602-490-0470
>
>



-- 
John Bush
602-490-0470


More information about the sakai-dev mailing list