o we'll deal with v3 -> v4 conversion somewhere else.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163258 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2004-12-24 03:20:02 +00:00
parent 754feeadb3
commit 7099cca292

View File

@ -29,8 +29,6 @@
import org.apache.maven.execution.MavenExecutionRequest;
import org.apache.maven.execution.MavenExecutionResponse;
import org.apache.maven.execution.project.MavenProjectExecutionRequest;
import org.apache.maven.execution.project.MavenProjectExecutionRequest;
import org.apache.maven.execution.reactor.MavenReactorExecutionRequest;
import org.apache.maven.execution.reactor.MavenReactorExecutionRequest;
import org.apache.maven.repository.RepositoryUtils;
import org.codehaus.classworlds.ClassWorld;
@ -46,8 +44,6 @@
*/
public class MavenCli
{
public static final String POMv3 = "project.xml";
public static final String POMv4 = "pom.xml";
public static final String userHome = System.getProperty( "user.home" );
@ -127,15 +123,10 @@ public static int main( String[] args, ClassWorld classWorld )
if ( !projectFile.exists() )
{
projectFile = new File( userDir, POMv3 );
if ( !projectFile.exists() )
{
System.err.println( "Could not find either a " + POMv4 + " nor a " + POMv3 + " project descriptor." );
System.err.println( "Could not find either a project descriptor." );
return 1;
}
}
request = new MavenProjectExecutionRequest( localRepository,
commandLine.getArgList(),