Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Building project without SNAPSHOT

On 2 Apr 2014, at 08:59, Jan Pešta <jan.pesta@xxxxxxxxxxx> wrote:

Currently we have large project, with versioning using snapshots.
MANIFEST.MF version – 1.0.0-SNAPSHOT
Pom.xml version – 1.0.0. qualifier
We are building normal builds with those SNAPSHOT/qualifier used, but our customer wants to have a final build, where is no SNAPSHOT/qualifier used. Is  there easy way how to set those values to empty values – in best just by some profile configuration?

You can change it to 1.0.0 and 1.0.0 in both places. However note that in OSGi 1.0.0 <… so the empty value is the lowest such value and will not replace any prior builds.

Spring use RELEASE as the qualifier and version, so 1.0.0.RELEASE in both places. Alternatively you could use versions such as 1.0.1 in your final release.


Back to the top