source: osm/applications/viewer/jmapviewer/RELEASING.md@ 36202

Last change on this file since 36202 was 36202, checked in by taylor.smock, 12 months ago

See #8269: Add initial Maven support to JMapViewer

This is largely 1-1 compatible with the targets of the ant build.xml file, with
some exceptions (see "Ant targets -> Maven targets" in CONTRIBUTING.md).

Please note that maven (by default) puts most generated data into the target
directory. This has been overridden for some targets.

For this commit, the following informational files were added:

  • RELEASING.md: I got tired of looking up how to do a release for JMapViewer
  • CONTRIBUTING.md: Just in case someone else wants to contribute to JMapViewer
File size: 944 bytes
Line 
1# Releasing
21. Set the `ReleaseVersion` `svn` property on the root directory
32. Update the version in the pom.xml
43. Build the release files
54. Add all changes to the changelist
65. Commit and push to server
76. Go to `https://josm.openstreetmap.de/jenkins/job/Nexus-JMapViewer/build` and enter the `${VERSION}` number.
8
9Sample script for steps 1-5:
10```bash
11# Set the release version
12$ export VERSION="2.20"
13# ant reads this property to set the build version information
14$ svn propset ReleaseVersion ${VERSION} .
15# mvn package requires trivial changes in Jenkins at time of writing
16$ ant all
17# The Jenkins release script extracts this and uses JMapViewer.jar and JMapViewer_src.jar
18$ svn add releases/${VERSION}/JMapViewer-${VERSION}.zip
19# Update the maven version
20$ mvn release:update-versions -DdevelopmentVersion=$(svn propget ReleaseVersion .)-SNAPSHOT
21# Commit the files
22$ svn commit pom.xml releases/${VERSION}/JMapViewer-${VERSION}.zip
23```
Note: See TracBrowser for help on using the repository browser.