What's the recommended way to get a KeyCzar binary? It's not clear how I would include the latest release without building directly from the github repository.
KeyCzar does not exist in a Maven repository, as far as I can tell.
The latest release of KeyCzar for Java is 0.71g, but there is only a source release:
➜ code mvn -e package
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Keyczar 0.71g
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- buildnumber-maven-plugin:1.0:create (default) @ keyczar ---
[INFO] Storing buildNumber: 100315 at timestamp: 1443897300731
[INFO] Executing: /bin/sh -c cd /Users/wsargent/work/keyczar-Java_release_0.71g/java/code && git show
[INFO] Working directory: /Users/wsargent/work/keyczar-Java_release_0.71g/java/code
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.969 s
[INFO] Finished at: 2015-10-03T11:35:00-07:00
[INFO] Final Memory: 11M/309M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin:1.0:create (default) on project keyczar: Cannot get the branch information from the scm repository :
[ERROR] Exception while executing SCM command. UnsupportedOperationException
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:buildnumber-maven-plugin:1.0:create (default) on project keyczar: Cannot get the branch information from the scm repository :
Exception while executing SCM command.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot get the branch information from the scm repository :
Exception while executing SCM command.
at org.codehaus.mojo.build.CreateMojo.getScmBranch(CreateMojo.java:653)
at org.codehaus.mojo.build.CreateMojo.execute(CreateMojo.java:464)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 20 more
Caused by: org.apache.maven.scm.ScmException: Exception while executing SCM command.
at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:63)
at org.apache.maven.scm.provider.git.AbstractGitScmProvider.executeCommand(AbstractGitScmProvider.java:290)
at org.codehaus.mojo.build.CreateMojo.getScmBranch(CreateMojo.java:620)
... 23 more
Caused by: java.lang.UnsupportedOperationException
at org.apache.maven.scm.provider.git.gitexe.command.info.GitInfoCommand.executeCommand(GitInfoCommand.java:56)
at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
➜ keyczar ls -l /Users/wsargent/work/keyczar-Java_release_0.71g/java/maven/org/keyczar/keyczar
total 48
drwxr-xr-x@ 6 wsargent staff 204 Sep 6 2013 0.65b-SNAPSHOT
drwxr-xr-x@ 11 wsargent staff 374 Sep 6 2013 0.66
drwxr-xr-x@ 5 wsargent staff 170 Sep 6 2013 0.6b-SNAPSHOT
-rwxr-xr-x@ 1 wsargent staff 389 Sep 6 2013 maven-metadata-keyczar.xml
-rwxr-xr-x@ 1 wsargent staff 40 Sep 6 2013 maven-metadata-keyczar.xml.sha1
-rwxr-xr-x@ 1 wsargent staff 350 Sep 6 2013 maven-metadata-local.xml
-rwxr-xr-x@ 1 wsargent staff 294 Sep 6 2013 maven-metadata.xml
-rwxr-xr-x@ 1 wsargent staff 32 Sep 6 2013 maven-metadata.xml.md5
-rwxr-xr-x@ 1 wsargent staff 40 Sep 6 2013 maven-metadata.xml.sha1
➜ 0.66 ls -l .
Will.