> -----Original Message----- > From: Yang [mailto:[email protected]] > Sent: Tuesday, August 16, 2011 16:04 > To: Maven Users List > Subject: [maven] use local repo > > in my project, I need some special jars that are not present > in our company repo. > > so I put them in the same svn dir of my source code, and let > my special maven-settings.xml to point to that svn dir as a > local repo. > > in order to do this, I need to let maven use this > maven-settings.xml, right now I invoke maven with a special arg: > > mvn > -Dorg.apache.maven.user-settings=`pwd`/../custom-maven-settings.xml $*
I use an alias. alias mvn='mvn -Dmaven.repo.local=./lib/mvn/' > > > but is there a way to encode this info about location of > settings.xml in the pom.xml itself, so that the user is only Not that I know of, I have looked for similar things. > required to type "mvn compile" ? > > Thanks > Yang > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100 - - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
