01: package org.apache.maven;
02:
03: /*
04: * Licensed to the Apache Software Foundation (ASF) under one
05: * or more contributor license agreements. See the NOTICE file
06: * distributed with this work for additional information
07: * regarding copyright ownership. The ASF licenses this file
08: * to you under the Apache License, Version 2.0 (the
09: * "License"); you may not use this file except in compliance
10: * with the License. You may obtain a copy of the License at
11: *
12: * http://www.apache.org/licenses/LICENSE-2.0
13: *
14: * Unless required by applicable law or agreed to in writing,
15: * software distributed under the License is distributed on an
16: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17: * KIND, either express or implied. See the License for the
18: * specific language governing permissions and limitations
19: * under the License.
20: */
21:
22: import org.apache.maven.execution.MavenExecutionRequest;
23: import org.apache.maven.execution.MavenExecutionResult;
24: import org.apache.maven.execution.ReactorManager;
25:
26: /**
27: * @author <a href="mailto:jason@maven.org">Jason van Zyl </a>
28: * @version $Id: Maven.java 572029 2007-09-02 16:51:03Z jvanzyl $
29: */
30: public interface Maven {
31: static String ROLE = Maven.class.getName();
32:
33: String POMv4 = "pom.xml";
34:
35: String RELEASE_POMv4 = "release-pom.xml";
36:
37: // ----------------------------------------------------------------------
38: // Logging
39: // ----------------------------------------------------------------------
40:
41: static final int LOGGING_LEVEL_DEBUG = 0;
42:
43: static final int LOGGING_LEVEL_INFO = 1;
44:
45: static final int LOGGING_LEVEL_WARN = 2;
46:
47: static final int LOGGING_LEVEL_ERROR = 3;
48:
49: static final int LOGGING_LEVEL_FATAL = 4;
50:
51: static final int LOGGING_LEVEL_DISABLE = 5;
52:
53: MavenExecutionResult execute(MavenExecutionRequest request);
54:
55: ReactorManager createReactorManager(MavenExecutionRequest request,
56: MavenExecutionResult result);
57: }
|