Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I have the same issue and got some mileage out of the following solution. In <a href="http://maven.apache.org/maven-release/maven-release-plugin/examples/non-interactive-release.html" rel="nofollow">Maven Non-Interactive releases</a>, at the bottom of the page it describes using a releases.properties file to define the versions.</p> <p>Rather than hand cranking this file, I first ran maven locally using:</p> <pre><code>mvn -U release:prepare -DdryRun=true -Dresume=false </code></pre> <p>After answering all the questions, it creates the releases.properties file you would like to use. The only thing that needs to be done is to edit the release.properties file.</p> <p>At the end of the file is:</p> <pre><code>completedPhase=end-release </code></pre> <p>change this to:</p> <pre><code>completedPhase=check-dependency-snapshots </code></pre> <p>see: <a href="http://maven.apache.org/scm/maven-scm-providers/maven-scm-provider-jazz/releases.html" rel="nofollow">Maven Release Plugin phases</a> This will have the effect of short circuiting the scm-check-modifications but you are on a build server, so there should be no local modifications.</p> <p>I checked this file in to our scm at the root of the project (same level as the pom)</p> <p>On jenkins, I then have these settings for release:</p> <pre><code>--batch-mode release:prepare release:perform </code></pre> <p>It seems a bit messy to me. I am hopeful there is a cleaner way. [Running: Jenkins 1.533, Jenkins Maven Release Plug-in Plug-in 0.12.0, Maven Integration plugin 1.533]</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload