P2 Bridge :: API


License

License

GroupId

GroupId

org.sonatype.p2.bridge
ArtifactId

ArtifactId

org.sonatype.p2.bridge.api
Last Version

Last Version

1.1.9
Release Date

Release Date

Type

Type

eclipse-plugin
Description

Description

P2 Bridge :: API
P2 Bridge :: API
Project Organization

Project Organization

Sonatype

Download org.sonatype.p2.bridge.api

Dependencies

compile (1)

Group / Artifact Type Version
org.sonatype.p2.bridge : org.sonatype.p2.bridge.model jar 1.1.9

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