title: How to make a storm release from the source code?
body: <p>I need to create the latest &quot;release&quot; from the source code on github. But having trouble doing it.</p>
  <p>here is the source code : <a href="https://github.com/apache/incubator-storm" rel="nofollow noreferrer">https://github.com/apache/incubator-storm</a><br>
  here is how release looks like: <a href="https://storm.incubator.apache.org/downloads.html" rel="nofollow noreferrer">https://storm.incubator.apache.org/downloads.html</a></p>
  <p>My maven and java knowledge are very limited.<br> I've tried this:
  <code>mvn release:prepare</code> but it fails with this error:</p>
  <p><code>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.4.1:prepare (default-cli) on project storm: Maven execution failed, exit code: '1' -&gt; [Help 1]</code></p>
  <p><code>pom.xml</code> wasn't changed <a href="https://github.com/apache/incubator-storm/blob/master/pom.xml" rel="nofollow noreferrer">https://github.com/apache/incubator-storm/blob/master/pom.xml</a></p>
  <p>If someone can otline me the steps on how to build a release it would be awesome.
  Thank you.</p>
  <p>##UPDATED</p>
  <p><code>mvn release:prepare -X</code></p>
  <pre><code>[INFO] [DEBUG] Generating signature for /home/bsmith/workspace/storm/incubator-storm/target/storm-0.9.2-incubating.pom
  [INFO] gpg: no default secret key: secret key not available
  [INFO] gpg: signing failed: secret key not available
  [INFO] [INFO] ------------------------------------------------------------------------
  [INFO] [INFO] Reactor Summary:
  [INFO] [INFO] 
  [INFO] [INFO] Storm ............................................. FAILURE [4.032s]
  [INFO] [INFO] maven-shade-clojure-transformer ................... SKIPPED
  [INFO] [INFO] Storm Core ........................................ SKIPPED
  [INFO] [INFO] ------------------------------------------------------------------------
  [INFO] [INFO] BUILD FAILURE
  [INFO] [INFO] ------------------------------------------------------------------------
  [INFO] [INFO] Total time: 4.907s
  [INFO] [INFO] Finished at: Fri Mar 21 09:40:45 EDT 2014
  [INFO] [INFO] Final Memory: 22M/291M
  [INFO] [INFO] ------------------------------------------------------------------------
  [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.4:sign (default) on project storm: Exit code: 2 -&gt; [Help 1]
  [INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.4:sign (default) on project storm: Exit code: 2
  [INFO]  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
  [INFO]  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
  [INFO]  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
  [INFO]  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
  [INFO]  at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
  [INFO]  at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
  [INFO]  at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
  [INFO]  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
  [INFO]  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
  [INFO]  at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
  [INFO]  at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
  [INFO]  at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
  [INFO]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  [INFO]  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  [INFO]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  [INFO]  at java.lang.reflect.Method.invoke(Method.java:606)
  [INFO]  at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
  [INFO]  at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
  [INFO]  at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
  [INFO]  at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
  [INFO] Caused by: org.apache.maven.plugin.MojoExecutionException: Exit code: 2
  [INFO]  at org.apache.maven.plugin.gpg.GpgSigner.generateSignatureForArtifact(GpgSigner.java:254)
  [INFO]  at org.apache.maven.plugin.gpg.GpgSignAttachedMojo.execute(GpgSignAttachedMojo.java:182)
  [INFO]  at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
  [INFO]  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
  [INFO]  ... 19 more
  [INFO] [ERROR] 
  [INFO] [ERROR] 
  [INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles:
  [INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  [INFO] ------------------------------------------------------------------------
  [INFO] Reactor Summary:
  [INFO] 
  [INFO] Storm ............................................. FAILURE [7.220s]
  [INFO] maven-shade-clojure-transformer ................... SKIPPED
  [INFO] Storm Core ........................................ SKIPPED
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 8.198s
  [INFO] Finished at: Fri Mar 21 09:40:45 EDT 2014
  [INFO] Final Memory: 9M/151M
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.4.1:prepare (default-cli) on project storm: Maven execution failed, exit code: '1' -&gt; [Help 1]
  org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.4.1:prepare (default-cli) on project storm: Maven execution failed, exit code: '1'
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
      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:84)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
  Caused by: org.apache.maven.plugin.MojoExecutionException: Maven execution failed, exit code: '1'
      at org.apache.maven.plugins.release.PrepareReleaseMojo.prepareRelease(PrepareReleaseMojo.java:281)
      at org.apache.maven.plugins.release.PrepareReleaseMojo.execute(PrepareReleaseMojo.java:232)
      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
      ... 19 more
  Caused by: org.apache.maven.shared.release.ReleaseExecutionException: Maven execution failed, exit code: '1'
      at org.apache.maven.shared.release.phase.AbstractRunGoalsPhase.execute(AbstractRunGoalsPhase.java:89)
      at org.apache.maven.shared.release.phase.RunPrepareGoalsPhase.execute(RunPrepareGoalsPhase.java:44)
      at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:234)
      at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:169)
      at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:146)
      at org.apache.maven.shared.release.DefaultReleaseManager.prepare(DefaultReleaseManager.java:107)
      at org.apache.maven.plugins.release.PrepareReleaseMojo.prepareRelease(PrepareReleaseMojo.java:277)
      ... 22 more
  Caused by: org.apache.maven.shared.release.exec.MavenExecutorException: Maven execution failed, exit code: '1'
      at org.apache.maven.shared.release.exec.InvokerMavenExecutor.executeGoals(InvokerMavenExecutor.java:394)
      at org.apache.maven.shared.release.exec.AbstractMavenExecutor.executeGoals(AbstractMavenExecutor.java:85)
      at org.apache.maven.shared.release.phase.AbstractRunGoalsPhase.execute(AbstractRunGoalsPhase.java:81)
      ... 28 more
  [ERROR] 
  [ERROR] 
  [ERROR] For more information about the errors and possible solutions, please read the following articles:
  [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  </code></pre>
  <p>##UPDATED #2</p>
  <p>I've tried to go with first suggestion:</p>
  <pre><code>Fork the project (on Github), change the SCM section in the POM to use your own GitHub Fork (or change the SCM entry to some local repository)
  </code></pre>
  <p>After I've forked a git repo I've updated a section in <code>pom.xml</code>:</p>
  <pre><code> &lt;scm&gt;
       &lt;connection&gt;scm:git:https://github.com/XXX/incubator-storm.git&lt;/connection&gt;
       &lt;developerConnection&gt;scm:git:https://github.com/XXX/incubator-storm.git&lt;/developerConnection&gt;
       &lt;tag&gt;v0.9.2-incubating&lt;/tag&gt;
       &lt;url&gt;https://github.com/XXX/incubator-storm.git&lt;/url&gt;
   &lt;/scm&gt;
  </code></pre>
  <p>where <code>XXX</code> is my username.</p>
  <p>pushed new <code>pom.xml</code> to github<br>
  run <code>mvn release:prepare -DpushChanges=false -Dgpg.skip=true -X</code><br>
  and got an error:</p>
  <pre><code>[INFO] [DEBUG] Generating signature for /home/bsmith/workspace/storm/incubator-storm/target/storm-0.9.0.2.pom
  [INFO] gpg: no default secret key: secret key not available
  [INFO] gpg: signing failed: secret key not available
  ...
  ...
  [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.4:sign (default) on project storm: Exit code: 2 -&gt; [Help 1]
  [INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.4:sign (default) on project storm: Exit code: 2
  [INFO]  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
  [INFO]  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
  [INFO]  at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
  </code></pre>