Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Android Application Development with Maven

You're reading from   Android Application Development with Maven Learn how to use and configure Maven to support all phases of the development of an Android application

Arrow left icon
Product type Paperback
Published in Mar 2015
Publisher
ISBN-13 9781783986101
Length 192 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Releasing a new version


Although performing a release usually is followed by deploying the packages to a Maven repository, it is not always required. This practically means that you can just release an application or distribute it manually to its users.

The release process is supported by the Maven-release plugin, but we need to make sure that the following requirements are met:

  • Although this is optional, it is highly recommended to explicitly define the version of the Maven-release plugin in the <pluginManagement> element of the pom.xml file

  • The SCM URL that points to the folder containing the pom.xml file is correctly configured in the <scm> section of the pom.xml file

  • There are no pending local modifications to be committed. Otherwise, the plugin will display an error message.

Note

The URL is prefixed with scm:[scm-provider] parameter. This way, the plugin can execute the correct commands, behind the scenes, to commit changes of the pom.xml file and do the tagging. For more information...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image