Fix user pom filename

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163083 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2004-09-15 12:47:13 +00:00
parent 27738439ee
commit f26be7d1a5
1 changed files with 2 additions and 2 deletions

View File

@ -189,11 +189,11 @@ public class Verifier
{ {
try try
{ {
// parse ~/.m2/pom.xml for it... // parse ~/.m2/override.xml for it...
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder = factory.newDocumentBuilder(); DocumentBuilder builder = factory.newDocumentBuilder();
File pom = new File( System.getProperty( "user.home" ), ".m2/pom.xml" ); File pom = new File( System.getProperty( "user.home" ), ".m2/override.xml" );
Document dom = builder.parse( pom ); Document dom = builder.parse( pom );
repo = XPathAPI.selectSingleNode( dom, "/project/local/repository/text()" ).getNodeValue(); repo = XPathAPI.selectSingleNode( dom, "/project/local/repository/text()" ).getNodeValue();