Archive for the ‘Build’ Category

Setting Local Repository in Maven

1. create build.properties file in the “Document and Settings/username” folder.
2. The build.properties should have the following entry
maven.repo.local=/local_repository/maven_repo

the /local_repository/maven_repo is the folder under root directory.

How to install jar in local Repository using Maven

Use the following command

maven jar:install

This command will compile, build and deploy to the Local Repository.