Get full access to
Apache Maven Cookbook
and 60K+ other titles, with a free 10-day trial of O'Reilly.
There are also live events, courses curated by job role,
and more.
Start your free trial
Using the Maven SCM plugin
Maven provides a mechanism to interact with SCM systems in a vendor-independent way. Typically, a Maven project is checked in an SCM. Using the Maven SCM plugin, you can perform a number of SCM-related activities.
The Maven project that we want to use the plugin with should be in an SCM. Maven supports a number of SCM providers. We will use Git to illustrate this.
-
Add the following code to your pom file:
-
Run the following ...
Get
Apache Maven Cookbook
now with the O’Reilly
learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and
nearly 200 top publishers.
Start your free trial
Don’t leave
empty-handed
Get Mark Richards’s
Software Architecture Patterns
ebook to better understand how to design components—and how they should interact.
It’s yours, free.
Get it now
Check it out now
on O’Reilly
Dive in for free with a 10-day trial of the O’Reilly learning platform—then explore all the other resources our members count on to build skills and solve problems
every day.
Start your free trial
Become a member now