You are viewing a plain text version of this content. The canonical link for it is here.
Posted to m2-dev@maven.apache.org by jd...@apache.org on 2005/01/20 21:36:45 UTC

cvs commit: maven-components/maven-core/src/main/java/org/apache/maven Maven.java

jdcasey     2005/01/20 12:36:45

  Modified:    maven-core/src/main/java/org/apache/maven Maven.java
  Log:
  o Added imports for MavenExecutionRequest and MavenExecutionResponse.
  
  Revision  Changes    Path
  1.10      +22 -13    maven-components/maven-core/src/main/java/org/apache/maven/Maven.java
  
  Index: Maven.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-core/src/main/java/org/apache/maven/Maven.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Maven.java	25 Dec 2004 16:26:24 -0000	1.9
  +++ Maven.java	20 Jan 2005 20:36:45 -0000	1.10
  @@ -1,25 +1,32 @@
   package org.apache.maven;
   
  -/* ====================================================================
  - *   Copyright 2001-2004 The Apache Software Foundation.
  +/*
  + * Copyright 2001-2004 The Apache Software Foundation.
    *
  - *   Licensed under the Apache License, Version 2.0 (the "License");
  - *   you may not use this file except in compliance with the License.
  - *   You may obtain a copy of the License at
  + * Licensed under the Apache License, Version 2.0 (the "License");
  + * you may not use this file except in compliance with the License.
  + * You may obtain a copy of the License at
    *
  - *       http://www.apache.org/licenses/LICENSE-2.0
  + *      http://www.apache.org/licenses/LICENSE-2.0
    *
  - *   Unless required by applicable law or agreed to in writing, software
  - *   distributed under the License is distributed on an "AS IS" BASIS,
  - *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  - *   See the License for the specific language governing permissions and
  - *   limitations under the License.
  - * ====================================================================
  + * Unless required by applicable law or agreed to in writing, software
  + * distributed under the License is distributed on an "AS IS" BASIS,
  + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  + * See the License for the specific language governing permissions and
  + * limitations under the License.
    */
   
   import org.apache.maven.execution.MavenExecutionRequest;
   import org.apache.maven.execution.MavenExecutionResponse;
   import org.apache.maven.lifecycle.goal.GoalNotFoundException;
  +import org.apache.maven.plugin.descriptor.MojoDescriptor;
  +import org.apache.maven.project.MavenProject;
  +import org.apache.maven.project.ProjectBuildingException;
  +import org.apache.maven.reactor.ReactorException;
  +
  +import java.io.File;
  +import java.util.List;
  +import java.util.Map;
   
   /**
    * @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
  @@ -27,6 +34,8 @@
    */
   public interface Maven
   {
  +    public static final String AUTOGEN_POMS_SYSPROP = "maven.pom.autogen";
  +    
       static String ROLE = Maven.class.getName();
   
       MavenExecutionResponse execute( MavenExecutionRequest request )