Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 2. Customizing Maven > Installing a Plug-in from a Remote Repository

2.1. Installing a Plug-in from a Remote Repository

All your Java buddies are using the latest and greatest version of some fancy Maven plug-in, and you are starting to feel left out and ignored. How did they get the plug-in? And once they obtained it, how did they install it? To demonstrate the process of installing a plug-in, install the Apache Axis plug-in in your Maven installation.

2.1.1. How do I do that?

The first thing you need to know is the location of the Maven remote repository where the plug-in you wish to install is located. In the case of the Apache Axis plug-in, the repository is at http://maven-plugins.sourceforge.net/maven/. However, this repository is synced every few hours to the ibiblio repository at http://www.ibiblio.org/maven/. The ibiblio repository is the default Maven remote repository and the one that will be used if you don't tell Maven otherwise. Should you still wish to add the remote repository to your Maven configuration, you should modify your build.properties file (or project.properties file if you want to share the settings with others) and include the following property:


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial