P2 Bridge :: Tycho Config


License

License

Categories

Categories

config Application Layer Libs Configuration
GroupId

GroupId

org.sonatype.p2.bridge
ArtifactId

ArtifactId

p2-bridge-tycho-config
Last Version

Last Version

1.1.9
Release Date

Release Date

Type

Type

pom
Description

Description

P2 Bridge :: Tycho Config
P2 Bridge :: Tycho Config
Project Organization

Project Organization

Sonatype

Download p2-bridge-tycho-config

How to add to project

<!-- https://jarcasting.com/artifacts/org.sonatype.p2.bridge/p2-bridge-tycho-config/ -->
<dependency>
    <groupId>org.sonatype.p2.bridge</groupId>
    <artifactId>p2-bridge-tycho-config</artifactId>
    <version>1.1.9</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/org.sonatype.p2.bridge/p2-bridge-tycho-config/
implementation 'org.sonatype.p2.bridge:p2-bridge-tycho-config:1.1.9'
// https://jarcasting.com/artifacts/org.sonatype.p2.bridge/p2-bridge-tycho-config/
implementation ("org.sonatype.p2.bridge:p2-bridge-tycho-config:1.1.9")
'org.sonatype.p2.bridge:p2-bridge-tycho-config:pom:1.1.9'
<dependency org="org.sonatype.p2.bridge" name="p2-bridge-tycho-config" rev="1.1.9">
  <artifact name="p2-bridge-tycho-config" type="pom" />
</dependency>
@Grapes(
@Grab(group='org.sonatype.p2.bridge', module='p2-bridge-tycho-config', version='1.1.9')
)
libraryDependencies += "org.sonatype.p2.bridge" % "p2-bridge-tycho-config" % "1.1.9"
[org.sonatype.p2.bridge/p2-bridge-tycho-config "1.1.9"]

Dependencies

runtime (1)

Group / Artifact Type Version
org.sonatype.p2.bridge : p2-runtime Optional zip 1.1.9

Project Modules

There are no modules declared in this project.

P2 Bridge

Releasing

As this plugin is "special", it requires totally different release procedure than the one we use for "normal" projects.

Prerequisites

  • Maven 3.0.4+
  • Java6+

Prepare release (on release machine)

  • SSH to release machine
  • Clone and ensure on master branch
git clone [email protected]:sonatype/p2-bridge.git
git checkout master
  • Set version on all projects to the release version (ie. was 1.0.4-SNAPSHOT, set it to 1.0.4)
mvn -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:0.18.0:set-version -DnewVersion=1.0.4
  • Check that there is no trace left of previous version (e.g. 1.0.3 and 1.0.3-SNAPSHOT and 1.0.4-SNAPSHOT)
  • Verify that MANIFEST.MF imported/exported packages are correct (export should have proper versions set)
  • Verify that no SNAPSHOT dependencies are used (search for SNAPSHOT)
  • Verify that bundle version has no ".qualifier" (search for qualifier), if any found, remove them.
  • Build it
mvn clean install
  • Commit changes
git commit -a -m "Bumped version number to 1.0.4"
  • Tag release
git tag -a 1.0.4 -m "Release 1.0.4"

Perform release (on release machine)

  • Release it
mvn clean deploy -Prelease
  • Bump version to next snapshot
mvn -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:0.18.0:set-version -DnewVersion=1.0.5-SNAPSHOT
  • Check that there is no trace left of released version (e.g. 1.0.4)
  • Verify that imported/exported packages are correct (those will be still 1.0.4, release version)
  • Build it
mvn clean install
  • Commit changes
git commit -a -m "Bumped version number to 1.0.5-SNAPSHOT"
  • Push back all (don't forget tags) to origin
git push
git push --tags
  • Have a beer
org.sonatype.p2.bridge

Sonatype

Developer friendly, full-spectrum software supply-chain management

Versions

Version
1.1.9
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.9
1.0.8
1.0.7
1.0.5
1.0.4
1.0.2