Project

General

Profile

« Previous | Next » 

Revision 2f1028ca

Added by Andreas Kohlbecker over 10 years ago

adding note on using the localrepository profile

View differences:

src/site/apt/getting-started.apt
73 73
    The maven pom.xml provides a special profile which you may want to use if you are developing the cdmlib at the same time. This profile, named <<<local-repository>>>, causes maven to always use the local maven repository, so the latest changes to the cdmlib which have been installed locally by <<<mvn install>>>  will be used. In order to use this profile you would execute the validate gloal differently:
74 74

  
75 75
 ---
76
 $ mvn -P local-repository  -Dlocalrepo=~/.m2/repository validate
76
 $ mvn -P local-repository  -Dlocalrepo=/home/${youUserName}/.m2/repository validate
77 77
 ---
78 78

  
79 79
	This will take some time, as maven will download the required dependencies.

Also available in: Unified diff