Coverage Report - org.apache.maven.archetype.common.Constants
 
Classes in this File Line Coverage Branch Coverage Complexity
Constants
N/A
N/A
0
 
 1  
 package org.apache.maven.archetype.common;
 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  
 import java.util.Arrays;
 23  
 import java.util.List;
 24  
 
 25  
 public interface Constants
 26  
 {
 27  
     String ARCHETYPE_ARTIFACT_ID = "archetype.artifactId";
 28  
 
 29  
     String ARCHETYPE_GROUP_ID = "archetype.groupId";
 30  
 
 31  
     String ARCHETYPE_VERSION = "archetype.version";
 32  
 
 33  
     String ARCHETYPE_REPOSITORY = "archetype.repository";
 34  
 
 35  
     String ARCHETYPE_DESCRIPTOR = "META-INF/maven/archetype-metadata.xml";
 36  
 
 37  
     String ARCHETYPE_POST_GENERATION_GOALS = "archetype.goals";
 38  
 
 39  
     String ARCHETYPE_POM = "pom.xml";
 40  
 
 41  
     String ARCHETYPE_RESOURCES = "archetype-resources";
 42  
 
 43  
     String ARCHETYPE_SUFFIX = "-archetype";
 44  
 
 45  
     String ARTIFACT_ID = "artifactId";
 46  
 
 47  
     String ARCHETYPE_FILTERED_EXTENSIONS = "archetype.filteredExtensions";
 48  
 
 49  
     String ARCHETYPE_LANGUAGES = "archetype.languages";
 50  
 
 51  
     String ARCHETYPE_URL = "archetype.url";
 52  
 
 53  
     String ARCHETYPE_DESCRIPTION = "archetype.description";
 54  
 
 55  
     List<String> DEFAULT_FILTERED_EXTENSIONS =
 56  
         Arrays.asList(
 57  
             new String[]
 58  
                 {
 59  
                     "java", "xml", "txt", "groovy", "cs", "mdo", "aj", "jsp", "gsp", "vm", "html",
 60  
                     "xhtml", "properties", ".classpath", ".project"
 61  
                 }
 62  
         );
 63  
 
 64  
     List<String> DEFAULT_LANGUAGES =
 65  
         Arrays.asList( new String[]{ "java", "groovy", "csharp", "aspectj" } );
 66  
 
 67  
     String GROUP_ID = "groupId";
 68  
 
 69  
     String MAIN = "main";
 70  
 
 71  
     String OLD_ARCHETYPE_DESCRIPTOR = "META-INF/maven/archetype.xml";
 72  
 
 73  
     String OLDER_ARCHETYPE_DESCRIPTOR = "META-INF/archetype.xml";
 74  
 
 75  
     String PACKAGE = "package";
 76  
 
 77  
     /*String PACKAGE_NAME = "packageName";*/
 78  
 
 79  
     String PACKAGE_IN_PATH_FORMAT = "packageInPathFormat";
 80  
 
 81  
     String PARENT_ARTIFACT_ID = "parentArtifactId";
 82  
 
 83  
     String POM_PATH = Constants.ARCHETYPE_RESOURCES + "/" + Constants.ARCHETYPE_POM;
 84  
 
 85  
     String RESOURCES = "resources";
 86  
 
 87  
     String SITE = "site";
 88  
 
 89  
     String SRC = "src";
 90  
 
 91  
     String TEST = "test";
 92  
 
 93  
     String TMP = ".tmp";
 94  
 
 95  
     String VERSION = "version";
 96  
 }