Coverage Report - org.apache.maven.plugins.annotations.LifecyclePhase
 
Classes in this File Line Coverage Branch Coverage Complexity
LifecyclePhase
0 %
0/36
N/A
1
 
 1  
 package org.apache.maven.plugins.annotations;
 2  
 
 3  
 /*
 4  
  * Licensed to the Apache Software Foundation (ASF) under one
 5  
  * or more contributor license agreements.  See the NOTICE file
 6  
  * distributed with this work for additional information
 7  
  * regarding copyright ownership.  The ASF licenses this file
 8  
  * to you under the Apache License, Version 2.0 (the
 9  
  * "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  
 /**
 23  
  * <a href="/ref/3.0.4/maven-core/lifecycles.html">Lifecycle phases</a>.
 24  
  * @author Olivier Lamy
 25  
  * @since 3.0
 26  
  */
 27  0
 public enum LifecyclePhase
 28  
 {
 29  
 
 30  0
     VALIDATE( "validate" ),
 31  0
     INITIALIZE( "initialize" ),
 32  0
     GENERATE_SOURCES( "generate-sources" ),
 33  0
     PROCESS_SOURCES( "process-sources" ),
 34  0
     GENERATE_RESOURCES( "generate-resources" ),
 35  0
     PROCESS_RESOURCES( "process-resources" ),
 36  0
     COMPILE( "compile" ),
 37  0
     PROCESS_CLASSES( "process-classes" ),
 38  0
     GENERATE_TEST_SOURCES( "generate-test-sources" ),
 39  0
     PROCESS_TEST_SOURCES( "process-test-sources" ),
 40  0
     GENERATE_TEST_RESOURCES( "generate-test-resources" ),
 41  0
     PROCESS_TEST_RESOURCES( "process-test-resources" ),
 42  0
     TEST_COMPILE( "test-compile" ),
 43  0
     PROCESS_TEST_CLASSES( "process-test-classes" ),
 44  0
     TEST( "test" ),
 45  0
     PREPARE_PACKAGE( "prepare-package" ),
 46  0
     PACKAGE( "package" ),
 47  0
     PRE_INTEGRATION_TEST( "pre-integration-test" ),
 48  0
     INTEGRATION_TEST( "integration-test" ),
 49  0
     POST_INTEGRATION_TEST( "post-integration-test" ),
 50  0
     VERIFY( "verify" ),
 51  0
     INSTALL( "install" ),
 52  0
     DEPLOY( "deploy" ),
 53  
 
 54  0
     PRE_CLEAN( "pre-clean" ),
 55  0
     CLEAN( "clean" ),
 56  0
     POST_CLEAN( "post-clean" ),
 57  
 
 58  0
     PRE_SITE( "pre-site" ),
 59  0
     SITE( "site" ),
 60  0
     POST_SITE( "post-site" ),
 61  0
     SITE_DEPLOY( "site-deploy" ),
 62  
 
 63  0
     NONE( "" );
 64  
 
 65  
     private final String id;
 66  
 
 67  
     LifecyclePhase( String id )
 68  0
     {
 69  0
         this.id = id;
 70  0
     }
 71  
 
 72  
     public String id()
 73  
     {
 74  0
         return this.id;
 75  
     }
 76  
 
 77  
 }