1 package org.apache.maven.archiva.indexer.record;
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
12 * http://www.apache.org/licenses/LICENSE-2.0
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
23 * The fields in a minimal artifact index record.
25 * @author <a href="mailto:brett@apache.org">Brett Porter</a>
26 * @todo should be an enum
28 public class StandardIndexRecordFields
30 public static final String FILENAME = "filename";
32 public static final String GROUPID = "groupId";
34 public static final String GROUPID_EXACT = GROUPID + "_u";
36 public static final String ARTIFACTID = "artifactId";
38 public static final String ARTIFACTID_EXACT = ARTIFACTID + "_u";
40 public static final String VERSION = "version";
42 public static final String VERSION_EXACT = VERSION + "_u";
44 public static final String BASE_VERSION = "baseVersion";
46 public static final String BASE_VERSION_EXACT = BASE_VERSION + "_u";
48 public static final String TYPE = "type";
50 public static final String CLASSIFIER = "classifier";
52 public static final String PACKAGING = "packaging";
54 public static final String REPOSITORY = "repo";
56 public static final String LAST_MODIFIED = "lastModified";
58 public static final String FILE_SIZE = "fileSize";
60 public static final String MD5 = "md5";
62 public static final String SHA1 = "sha1";
64 public static final String CLASSES = "classes";
66 public static final String PLUGIN_PREFIX = "pluginPrefix";
68 public static final String FILES = "files";
70 public static final String INCEPTION_YEAR = "inceptionYear";
72 public static final String PROJECT_NAME = "projectName";
74 public static final String PROJECT_DESCRIPTION = "projectDesc";
76 public static final String DEVELOPERS = "developers";
78 public static final String DEPENDENCIES = "dependencies";
80 private StandardIndexRecordFields()