1 package org.apache.maven.archiva.indexer.record;
4 * Copyright 2005-2006 The Apache Software Foundation.
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
20 * The fields in a minimal artifact index record.
22 * @author <a href="mailto:brett@apache.org">Brett Porter</a>
23 * @todo should be an enum
25 public class StandardIndexRecordFields
27 public static final String FILENAME = "filename";
29 public static final String GROUPID = "groupId";
31 public static final String GROUPID_EXACT = GROUPID + "_u";
33 public static final String ARTIFACTID = "artifactId";
35 public static final String ARTIFACTID_EXACT = ARTIFACTID + "_u";
37 public static final String VERSION = "version";
39 public static final String VERSION_EXACT = VERSION + "_u";
41 public static final String BASE_VERSION = "baseVersion";
43 public static final String BASE_VERSION_EXACT = BASE_VERSION + "_u";
45 public static final String TYPE = "type";
47 public static final String CLASSIFIER = "classifier";
49 public static final String PACKAGING = "packaging";
51 public static final String REPOSITORY = "repo";
53 public static final String LAST_MODIFIED = "lastModified";
55 public static final String FILE_SIZE = "fileSize";
57 public static final String MD5 = "md5";
59 public static final String SHA1 = "sha1";
61 public static final String CLASSES = "classes";
63 public static final String PLUGIN_PREFIX = "pluginPrefix";
65 public static final String FILES = "files";
67 public static final String INCEPTION_YEAR = "inceptionYear";
69 public static final String PROJECT_NAME = "projectName";
71 public static final String PROJECT_DESCRIPTION = "projectDesc";
73 public static final String DEVELOPERS = "developers";
75 public static final String DEPENDENCIES = "dependencies";
77 private StandardIndexRecordFields()