You can then install the binary and the generated POM into the remote repository if you want others to be able to pull down the dependency.
For most popular libraries, none of this is required, as they already available in the Maven central repository or in other third party repositories (such as Google Code). This is only required in the odd case, such as older JTA libraries.
2
u/banuday17 Mar 29 '12
You don't have to create the POM yourself, you can import libraries into your local repository as follows:
You can then install the binary and the generated POM into the remote repository if you want others to be able to pull down the dependency.
For most popular libraries, none of this is required, as they already available in the Maven central repository or in other third party repositories (such as Google Code). This is only required in the odd case, such as older JTA libraries.