commit | 30a0c941147f5d65574a07a4b9f4fd0b4ab3cec5 | [log] [tgz] |
---|---|---|
author | maven-release-user <[email protected]> | Tue Oct 22 11:54:28 2024 +0000 |
committer | maven-release-user <[email protected]> | Tue Oct 22 11:54:28 2024 +0000 |
tree | 07c31fc5a24330b9a5bd12d0ca306a04e12abda5 | |
parent | 932f1f745db61083411e2327a9a47f3af06052a6 [diff] |
[maven-release-plugin] prepare for next development iteration
This repository should contain only source code that is used for building artifacts for the Wikimedia Analytics Refinery.
Core source code for the Wikimeida Analytics Refinery.
Hive UDFs and other Hive related code.
Handy Tools used for dealing with Wikimedia Analytics data.
WMF uses Archiva as its sole build dependency and deployment artifact repository. You can read more about this here: https://wikitech.wikimedia.org/wiki/Archiva.
All third party dependencies should be mirrored in the WMF Archiva instance at http://archiva.wikimedia.org/repository/mirrored. You can follow the instructions at https://wikitech.wikimedia.org/wiki/Archiva#Uploading_Dependency_Artifacts to upload dependencies to Archiva. If you don't have login access to Archiva, ask a WMF Archiva admin to do this for you.
When working on this repository, building, running tests, or using an IDE, make sure you're using Java 8 (aka Java 1.8). For example, on Ubuntu, you have to use update-alternatives to configure java and javac
Follow the instructions at https://wikitech.wikimedia.org/wiki/Archiva#Deploying_to_Archiva to set up your ~/.m2/settings.xml
with proper deployment credentials. Ask a WMF Archiva admin if you don't have these but think you should.
At any given time, the refinery ${project.version}
on the master branch should be X.X.X-SNAPSHOT. This will allow you to deploy snapshot builds to Archiva to share with other developers by just running mvn deploy
.
To upload a new version of refinery/source artifacts to Archiva:
First run mvn release:prepare
. This will:
(Taken from http://maven.apache.org/maven-release/maven-release-plugin/examples/prepare-release.html, see that for more info on the maven release plugin.)
In addition to the above, there will now be release.properties that contains all the information needed to perform the current release. If everything looks good, run mvn release:perform
to build and upload your artifacts to Archiva. Note: This might take a while.
If you ran ``mvn release:prepareand then get cold feet, you can abort the release process by running
mvn release:clean. This will remove the
release.propertiesfile and cause
mvn release:prepare``` to again prompt you for the to-be-released version number the next time you run it.